1 line
No EOL
1.2 KiB
Text
1 line
No EOL
1.2 KiB
Text
{"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"]} |