mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Fix Nav Buttons Size (#1067)
Currently, Nav buttons to expand the menu are a bit small and do not match the link text. This makes the font size and line-height match between the text and icon.
This commit is contained in:
parent
8ba9c8ac0b
commit
e001cca56f
@ -70,8 +70,7 @@ html
|
|||||||
margin-left: -1.2em
|
margin-left: -1.2em
|
||||||
@extend .fa
|
@extend .fa
|
||||||
@extend .fa-plus-square-o
|
@extend .fa-plus-square-o
|
||||||
font-size: .8em
|
line-height: 18px
|
||||||
line-height: 1.6em
|
|
||||||
color: darken($menu-link-medium, 20%)
|
color: darken($menu-link-medium, 20%)
|
||||||
|
|
||||||
// On state for the first level
|
// On state for the first level
|
||||||
@ -92,8 +91,7 @@ html
|
|||||||
@extend .fa
|
@extend .fa
|
||||||
@extend .fa-minus-square-o
|
@extend .fa-minus-square-o
|
||||||
display: block
|
display: block
|
||||||
font-size: .8em
|
line-height: 18px
|
||||||
line-height: 1.6em
|
|
||||||
color: darken($menu-link-medium, 30%)
|
color: darken($menu-link-medium, 30%)
|
||||||
|
|
||||||
li.toctree-l1.current > a
|
li.toctree-l1.current > a
|
||||||
|
Loading…
Reference in New Issue
Block a user