mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Small visual improvement to captions in toctree (#665)
* Small visual improvement to captions in toctree * Add new nav-caption internal var * Use colored text and add margin * Nav captions now have independent color Co-Authored-By: Blendify <carlisle.b3d@gmail.com> * De saturate the bright blue captions Co-Authored-By: Blendify <carlisle.b3d@gmail.com>
This commit is contained in:
parent
139a56abee
commit
5b7d202a11
@ -31,15 +31,16 @@ html
|
||||
width: $nav-desktop-width
|
||||
|
||||
header, p.caption
|
||||
color: $nav-caption
|
||||
height: $base-font-size * 2
|
||||
display: inline-block
|
||||
line-height: $base-font-size * 2
|
||||
padding: 0 $gutter
|
||||
margin-bottom: 0
|
||||
margin: $base-line-height / 2 0 0 0
|
||||
display: block
|
||||
font-weight: bold
|
||||
text-transform: uppercase
|
||||
font-size: 80%
|
||||
font-size: 85%
|
||||
white-space: nowrap
|
||||
|
||||
ul
|
||||
|
@ -51,6 +51,7 @@ $nav-link-color: $blue
|
||||
$nav-link-color-visited: $purple
|
||||
$nav-link-color-hover: lighten($nav-link-color, 6%) !default
|
||||
$nav-link-color-alt: hsl(33, 100%, 51%)
|
||||
$nav-caption: desaturate($blue, 15%)
|
||||
|
||||
// Sidebar colors
|
||||
$sidebar-background-color: $table-stripe-color
|
||||
|
Loading…
Reference in New Issue
Block a user