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 />
|
<hr />
|
||||||
<div class="content mt-3">
|
<div class="content mt-3">
|
||||||
{{ if .TableOfContents }}
|
{{ 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 }}
|
{{ .TableOfContents }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -151,6 +151,8 @@ footer {
|
||||||
}
|
}
|
||||||
|
|
||||||
#TableOfContents {
|
#TableOfContents {
|
||||||
|
font-size: $font-size-base;
|
||||||
|
|
||||||
& > ul {
|
& > ul {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
padding-left: $spacer;
|
padding-left: $spacer;
|
||||||
|
@ -167,7 +169,7 @@ pre.chroma {
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
font-size: 1.2rem;
|
font-size: $font-size-lg;
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
margin-top: $spacer;
|
margin-top: $spacer;
|
||||||
|
|
Loading…
Reference in a new issue