Fork of the Hugo theme hyde-hyde that introduces some necessary cleanup and changes.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
1.2 KiB

{"version":3,"sources":["hugo-toc.scss"],"names":[],"mappings":"AAIA;EACE,kBAHmB;EAInB,+BAA8B;EAC9B,iBANyB,EAa1B;EAVD;IAKI,iEAAgE;IAChE,eAAc;IACd,gBAAe;IACf,kBAAiB,EAClB;;AAEH;EACE,iBAAgB;EAChB,cAAa;EACb,iBAAgB,EASjB;EAZD;IAKI,sBAAqB;IACrB,gBAAe,EAKhB;IAXH;MAQM,sBAAqB;MACrB,kBAAiB,EAClB;;AAIL;EACE,cAAa,EAYd;EAbD;IAGI,kBAAiB,EAClB;EAJH;IAOM,+CAA8C,EAC/C;EARL;IAUM,cAAa,EACd","file":"hugo-toc.css","sourcesContent":["// Hugo {{ .TableOfContents }}\n$toc-background-color: #eee;\n$toc-font-size: .9rem;\n\n.toc-wrapper {\n font-size: $toc-font-size;\n padding: 0.5em 0.5em 0.5em 0em;\n background: $toc-background-color;\n label {\n background: url(/img/menu-close-dark.svg) no-repeat right center;\n display: block;\n cursor: pointer;\n padding-left: 1em;\n }\n}\n#TableOfContents {\n overflow: hidden;\n margin-top: 0;\n max-height: 100%;\n > ul {\n list-style-type: none;\n padding-left: 0;\n > li ul {\n list-style-type: none;\n padding-left: 1em;\n }\n }\n}\n\ninput#tocToggle {\n display: none;\n + label {\n font-weight: bold;\n }\n &:checked {\n + label {\n background-image: url(/img/menu-open-dark.svg);\n }\n ~ #TableOfContents {\n max-height: 0;\n }\n }\n}\n"]}