Skip to content

Commit

Permalink
Reduce padding and adjust toc font-size
Browse files Browse the repository at this point in the history
Fit more text to handle indentation better.

Ref: #1782
  • Loading branch information
mmistakes committed Aug 15, 2018
1 parent 0c11579 commit cd14423
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions _sass/minimal-mistakes/_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit cd14423

Please sign in to comment.