From b71a30df061feba603fb3ff4043e30d5b9a61c4e Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 22 Dec 2017 16:32:01 +0000 Subject: [PATCH] Shrink text on ToC --- layouts/partials/content.html | 2 +- static/src/scss/style.scss | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/layouts/partials/content.html b/layouts/partials/content.html index 276d547..4f308d4 100644 --- a/layouts/partials/content.html +++ b/layouts/partials/content.html @@ -17,7 +17,7 @@
{{ if .TableOfContents }} -
+
{{ .TableOfContents }}
{{ end }} diff --git a/static/src/scss/style.scss b/static/src/scss/style.scss index c9e0bfd..2d7491f 100644 --- a/static/src/scss/style.scss +++ b/static/src/scss/style.scss @@ -151,6 +151,8 @@ footer { } #TableOfContents { + font-size: $font-size-base; + & > ul { margin-bottom: 0; padding-left: $spacer; @@ -167,7 +169,7 @@ pre.chroma { } .content { - font-size: 1.2rem; + font-size: $font-size-lg; h1, h2, h3, h4, h5, h6 { margin-top: $spacer;