1
Fork 0

Shrink text on ToC

This commit is contained in:
Jake Howard 2017-12-22 16:32:01 +00:00
parent 866063d6a4
commit b71a30df06
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 4 additions and 2 deletions

View file

@ -17,7 +17,7 @@
<hr />
<div class="content mt-3">
{{ if .TableOfContents }}
<div class="float-lg-right ml-3 bg-light p-3">
<div class="float-lg-right ml-lg-3 mb-2 bg-light p-3">
{{ .TableOfContents }}
</div>
{{ end }}

View file

@ -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;