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 {
margin: 0;
padding: 0.5rem 1rem;
padding: 0.25rem 0.75rem;
font-family: $sans-serif-narrow;
font-size: $type-size-5;
font-weight: bold;
@ -485,7 +485,7 @@
.nav__sub-title {
display: block;
margin: 0.5rem 0;
padding: 0.5rem 0;
padding: 0.25rem 0;
font-family: $sans-serif-narrow;
font-size: $type-size-6;
font-weight: bold;
@ -520,11 +520,15 @@
padding: 0;
width: 100%;
list-style: none;
font-size: $type-size-7;
font-size: $type-size-6;
@include breakpoint($large) {
font-size: $type-size-7;
}
a {
display: block;
padding: 0.5rem 1rem;
padding: 0.25rem 0.75rem;
color: $muted-text-color;
font-weight: bold;
line-height: 1.5;