Reduce padding and adjust toc font-size

Fit more text to handle indentation better.

Ref: #1782
This commit is contained in:
Michael Rose 2018-08-15 09:32:55 -04:00
parent 0c1157977d
commit cd14423918

View file

@ -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-7; font-size: $type-size-6;
@include breakpoint($large) {
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;