Shrink text on ToC
This commit is contained in:
parent
866063d6a4
commit
b71a30df06
2 changed files with 4 additions and 2 deletions
|
@ -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 }}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue