Margit (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Margit (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 5: | Zeile 5: | ||
.customtoc.nonum .tocnumber {display:none} /*hide numbering if set*/ | .customtoc.nonum .tocnumber {display:none} /*hide numbering if set*/ | ||
.customtoc.nonum .toctext {padding-left:10px;} /*adds left-padding if no numbers are shown*/ | .customtoc.nonum .toctext {padding-left:10px;} /*adds left-padding if no numbers are shown*/ | ||
.customtoc.fontlarge .toctext {font-size: | .customtoc.fontlarge .toctext {font-size:1.1em; font-weight:bold} /*adjust font size if set*/ | ||
.customtoc.notitle .toctitle {display:none} /*hide title if set*/ | .customtoc.notitle .toctitle {display:none} /*hide title if set*/ | ||
.customtoc.noborder #toc {border:none} /*hide border if set*/ | .customtoc.noborder #toc {border:none} /*hide border if set*/ | ||
Version vom 12. April 2023, 10:02 Uhr
/***Custom TOC levels - Template TOC ***/
.toclimit-1 .toclevel-2, .toclimit-1 .toclevel-3, .toclimit-1 .toclevel-4,.toclimit-1 .toclevel5 {display:none;}
.toclimit-2 .toclevel-3, .toclimit-2 .toclevel-4, .toclimit-2 .toclevel-5 {display:none;}
.toclimit-3 .toclevel-4, .toclimit-3 .toclevel-5 {display:none;}
.customtoc.nonum .tocnumber {display:none} /*hide numbering if set*/
.customtoc.nonum .toctext {padding-left:10px;} /*adds left-padding if no numbers are shown*/
.customtoc.fontlarge .toctext {font-size:1.1em; font-weight:bold} /*adjust font size if set*/
.customtoc.notitle .toctitle {display:none} /*hide title if set*/
.customtoc.noborder #toc {border:none} /*hide border if set*/
.customtoc ul > li.toclevel-1 {display:inline-block}
.customtoc ul ul {display:none}
.customtoc ul > li.toclevel-1:after {content:'|'; padding-left:10px}
.customtoc ul > li.toclevel-1:last-child:after {content:''; padding-left:10px}
.customtoc .toc {width:100%;}