~xdavidwu/xdavidwu.link

953c645533fe8e69e89737e4f24f59873a9e3db9 — Michael Rose 6 years ago a686086
Reduce padding and adjust toc `font-size`

Fit more text to handle indentation better.

Ref: #1782
1 files changed, 8 insertions(+), 4 deletions(-)

M _sass/minimal-mistakes/_navigation.scss
M _sass/minimal-mistakes/_navigation.scss => _sass/minimal-mistakes/_navigation.scss +8 -4
@@ 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;