hugo-theme-hyde-hyde/static/css/hugo-toc.css

32 lines
789 B
CSS

.toc-wrapper {
font-size: 0.9rem;
padding: 0.5em 0.5em 0.5em 0em;
background: #eee; }
.toc-wrapper label {
background: url(/img/menu-close-dark.svg) no-repeat right center;
display: block;
cursor: pointer;
padding-left: 1em; }
#TableOfContents {
overflow: hidden;
margin-top: 0;
max-height: 100%; }
#TableOfContents > ul {
list-style-type: none;
padding-left: 0; }
#TableOfContents > ul > li ul {
list-style-type: none;
padding-left: 1em; }
input#tocToggle {
display: none; }
input#tocToggle + label {
font-weight: bold; }
input#tocToggle:checked + label {
background-image: url(/img/menu-open-dark.svg); }
input#tocToggle:checked ~ #TableOfContents {
max-height: 0; }
/*# sourceMappingURL=hugo-toc.css.map */