/* original by igniel.com, modified by trivusi.web.id */
html {
scroll-behavior: smooth;
}
.toc {
background-color: #f8f9fa;
border: 1px solid #d1d5db;
padding: 10px 20px;
display: table;
line-height: 1.6em;
}
.toc a {
text-decoration: none;
}
.toc a:hover {
text-decoration: underline;
}
.toc ol {
counter-reset: item;
padding-left: 0.5em;
}
.toc li {
display: block;
}
.toc li:before {
content: counters(item, ".") ". ";
counter-increment: item;
}
.toc ol li a {
margin-left: 0.2em;
}
.toc ol li ol {
margin-left: 0.2em;
}
.toctogglelabel {
cursor: pointer;
color: #0645ad;
}
:not(:checked)>.toctoggle {
display: inline !important;
position: absolute;
opacity: 0;
}
:not(:checked)>.toctogglespan:before {
content: "[";
}
.toctoggle:not(:checked)+.toctitle .toctogglelabel:after {
content: "sembunyikan";
display: inline;
}
.toctoggle:checked+.toctitle .toctogglelabel:after {
content: "tampilkan";
}
:not(:checked)>.toctogglespan:after {
content: "]";
}
.toctoggle:checked~ol {
display: none;
}
:target::before {
content: "";
display: block;
height: 75px;
margin-top: -75px;
visibility: hidden;
}
}
.toc strong {
display: inline-block;
font-size: 1.25rem;
margin: 8px 25px 8px 0;
Posting Komentar untuk "Sitemap"