hugo-theme-hyde-hyde/assets/scss/tocbot.scss
2018-10-09 23:52:08 -05:00

31 lines
461 B
SCSS

@import 'hugo-toc';
.toc {
font-size: $toc-font-size;
overflow-y: auto;
background: $toc-background-color;
padding-left: 0rem;
padding-top: 1em;
> .toc-list {
overflow: hidden;
position: relative;
li {
list-style: none;
}
}
}
.toc-list {
margin: 0;
padding-left: 1rem;
}
.is-collapsible {
max-height: 1000px;
overflow: hidden;
}
.is-collapsed {
max-height: 0;
}
.is-position-fixed {
position: fixed;
top: 0;
}