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