added stuff
This commit is contained in:
parent
6d31f5b5a1
commit
7d4f626b7d
907 changed files with 70990 additions and 0 deletions
30
nyx/docs/templates/scss/components/toc.scss
vendored
Normal file
30
nyx/docs/templates/scss/components/toc.scss
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
// Table Of Content element injected by Pandoc
|
||||
#TOC {
|
||||
// better spacing
|
||||
margin: 20px;
|
||||
padding: 10px;
|
||||
|
||||
// TOC elements are considered links
|
||||
// so the below styling applies to all items
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: $secondary;
|
||||
|
||||
&:hover {
|
||||
color: lighten($secondary, 5%);
|
||||
}
|
||||
}
|
||||
|
||||
// make sure all items are properly aligned in separate lines
|
||||
li,
|
||||
ul {
|
||||
list-style-type: square;
|
||||
margin-left: 20px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
// hide the TOC on mobile devices
|
||||
@media screen and (max-width: 768px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue