add table of contents
This commit is contained in:
parent
1b974ce9d3
commit
b517159c0e
13 changed files with 161 additions and 23 deletions
2
static/css/hugo-toc.css
Normal file
2
static/css/hugo-toc.css
Normal file
|
@ -0,0 +1,2 @@
|
|||
.toc-wrapper{background:#eee;font-size:.9rem;padding:.5em .5em .5em 0}.toc-wrapper label{background:url(/img/menu-close-dark.svg) no-repeat 100%;cursor:pointer;display:block;padding-left:1em}#TableOfContents{margin-top:0;max-height:100%;overflow:hidden}#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:700}input#tocToggle:checked+label{background-image:url(/img/menu-open-dark.svg)}input#tocToggle:checked~#TableOfContents{max-height:0}
|
||||
/*# sourceMappingURL=hugo-toc.css.map */
|
Loading…
Add table
Add a link
Reference in a new issue