1
Fork 0

Make ToC fit in a bit nicer

This commit is contained in:
Jake Howard 2017-11-12 12:17:57 +00:00
parent cd35ea7e36
commit 1b89ca7006
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 5 additions and 2 deletions

View file

@ -16,7 +16,7 @@
</p> </p>
<hr /> <hr />
<div class="content mt-3"> <div class="content mt-3">
<div class="float-md-right ml-4"> <div class="float-lg-right ml-3 bg-light p-3">
{{ .TableOfContents }} {{ .TableOfContents }}
</div> </div>
{{ .Content }} {{ .Content }}

View file

@ -1,13 +1,14 @@
$fa-font-path: "../fonts"; $fa-font-path: "../fonts";
@import "node_modules/font-awesome/scss/font-awesome"; @import "node_modules/font-awesome/scss/font-awesome";
@import "variables";
@import "highlight"; // Generated by Hugo @import "highlight"; // Generated by Hugo
@import "node_modules/lightgallery/src/sass/lightgallery"; @import "node_modules/lightgallery/src/sass/lightgallery";
@import "node_modules/bootstrap/scss/bootstrap"; @import "node_modules/bootstrap/scss/bootstrap";
@import "node_modules/plyr/src/scss/plyr"; @import "node_modules/plyr/src/scss/plyr";
$primary: #E85537;
html, body { html, body {
height: 100%; height: 100%;
@ -152,6 +153,7 @@ footer {
#TableOfContents { #TableOfContents {
& > ul { & > ul {
padding-left: $spacer; padding-left: $spacer;
margin-bottom: 0;
} }
} }

View file

@ -0,0 +1 @@
$primary: #E85537;