Reduce padding and adjust toc font-size
Fit more text to handle indentation better. Ref: #1782
This commit is contained in:
parent
0c1157977d
commit
cd14423918
1 changed files with 8 additions and 4 deletions
|
@ -476,7 +476,7 @@
|
||||||
|
|
||||||
.nav__title {
|
.nav__title {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0.5rem 1rem;
|
padding: 0.25rem 0.75rem;
|
||||||
font-family: $sans-serif-narrow;
|
font-family: $sans-serif-narrow;
|
||||||
font-size: $type-size-5;
|
font-size: $type-size-5;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
@ -485,7 +485,7 @@
|
||||||
.nav__sub-title {
|
.nav__sub-title {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0.5rem 0;
|
margin: 0.5rem 0;
|
||||||
padding: 0.5rem 0;
|
padding: 0.25rem 0;
|
||||||
font-family: $sans-serif-narrow;
|
font-family: $sans-serif-narrow;
|
||||||
font-size: $type-size-6;
|
font-size: $type-size-6;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
@ -520,11 +520,15 @@
|
||||||
padding: 0;
|
padding: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
font-size: $type-size-6;
|
||||||
|
|
||||||
|
@include breakpoint($large) {
|
||||||
font-size: $type-size-7;
|
font-size: $type-size-7;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 0.5rem 1rem;
|
padding: 0.25rem 0.75rem;
|
||||||
color: $muted-text-color;
|
color: $muted-text-color;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
|
|
Loading…
Reference in a new issue