Make ToC fit in a bit nicer
This commit is contained in:
parent
cd35ea7e36
commit
1b89ca7006
3 changed files with 5 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
</p>
|
||||
<hr />
|
||||
<div class="content mt-3">
|
||||
<div class="float-md-right ml-4">
|
||||
<div class="float-lg-right ml-3 bg-light p-3">
|
||||
{{ .TableOfContents }}
|
||||
</div>
|
||||
{{ .Content }}
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
$fa-font-path: "../fonts";
|
||||
@import "node_modules/font-awesome/scss/font-awesome";
|
||||
|
||||
@import "variables";
|
||||
|
||||
@import "highlight"; // Generated by Hugo
|
||||
|
||||
@import "node_modules/lightgallery/src/sass/lightgallery";
|
||||
@import "node_modules/bootstrap/scss/bootstrap";
|
||||
@import "node_modules/plyr/src/scss/plyr";
|
||||
|
||||
$primary: #E85537;
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
|
@ -152,6 +153,7 @@ footer {
|
|||
#TableOfContents {
|
||||
& > ul {
|
||||
padding-left: $spacer;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
1
static/src/scss/variables.scss
Normal file
1
static/src/scss/variables.scss
Normal file
|
@ -0,0 +1 @@
|
|||
$primary: #E85537;
|
Loading…
Reference in a new issue