Template:TOC/styles.css: Difference between revisions
From Space Station 14 Wiki
(wip) |
(wip) |
||
Line 5: | Line 5: | ||
/* hide all links under level 2 header */ | /* hide all links under level 2 header */ | ||
.custom-toc .toclimit-2 .toclevel-1 ul, | .custom-toc.toclimit-2 .toclevel-1 ul, | ||
/* hide all links under level 3 header */ | /* hide all links under level 3 header */ | ||
.custom-toc .toclimit-3 .toclevel-2 ul, | .custom-toc.toclimit-3 .toclevel-2 ul, | ||
/* hide all links under level 4 header */ | /* hide all links under level 4 header */ | ||
.custom-toc .toclimit-4 .toclevel-3 ul, | .custom-toc.toclimit-4 .toclevel-3 ul, | ||
/* hide all links under level 5 header */ | /* hide all links under level 5 header */ | ||
.custom-toc .toclimit-5 .toclevel-4 ul { | .custom-toc.toclimit-5 .toclevel-4 ul { | ||
display: none; | display: none; | ||
} | } |
Revision as of 08:08, 24 August 2024
.custom-toc {
/* used in the template */
--toc-margin: .5rem;
}
/* hide all links under level 2 header */
.custom-toc.toclimit-2 .toclevel-1 ul,
/* hide all links under level 3 header */
.custom-toc.toclimit-3 .toclevel-2 ul,
/* hide all links under level 4 header */
.custom-toc.toclimit-4 .toclevel-3 ul,
/* hide all links under level 5 header */
.custom-toc.toclimit-5 .toclevel-4 ul {
display: none;
}