Template:TOClimit/styles.css: Difference between revisions

hw>Mlink-rodrigue
Created page with "**Custom TOC levels - Template TOC **: #content #bodyContent .toclimit-1 .toclevel-2, #content #bodyContent .toclimit-1 .toclevel-3,#content #bodyContent .toclimit-1 .tocl..."
 
Redaktion (talk | contribs)
No edit summary
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/***Custom TOC levels - Template TOC ***/
/***Custom TOC levels - Template TOC ***/
#content #bodyContent .toclimit-1 .toclevel-2, #content #bodyContent .toclimit-1 .toclevel-3,#content #bodyContent  .toclimit-1 .toclevel-4,#content #bodyContent .toclimit-1 .toclevel5 {display:none;}  
.toclimit-1 .toclevel-2, .toclimit-1 .toclevel-3, .toclimit-1 .toclevel-4,.toclimit-1 .toclevel5 {display:none;}
#content #bodyContent .toclimit-2 .toclevel-3, #content #bodyContent .toclimit-2 .toclevel-4,#content #bodyContent .toclimit-2 .toclevel-5 {display:none;}
.toclimit-2 .toclevel-3, .toclimit-2 .toclevel-4, .toclimit-2 .toclevel-5 {display:none;}
#content #bodyContent .toclimit-3 .toclevel-4, #content #bodyContent .toclimit-3 .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;} /*adjust font size if set*/
.customtoc.notitle .toctitle {display:none} /*hide title if set*/
.customtoc.noborder #toc {border:none} /*hide border if set*/
.customtoc.inline ul >  li.toclevel-1  {display:inline-block}
.customtoc.inline  ul  ul {display:none}
.customtoc.inline ul > li.toclevel-1:after {content:'|'; padding-left:10px}
.customtoc.inline ul > li.toclevel-1:last-child:after {content:''; padding-left:10px}
.customtoc.inline .toc {width:100%;}

Latest revision as of 15:25, 3 April 2025

/***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;} /*adjust font size if set*/
.customtoc.notitle .toctitle {display:none} /*hide title if set*/
.customtoc.noborder #toc {border:none} /*hide border if set*/
.customtoc.inline ul >  li.toclevel-1  {display:inline-block}
.customtoc.inline  ul  ul {display:none}
.customtoc.inline ul > li.toclevel-1:after {content:'|'; padding-left:10px}
.customtoc.inline ul > li.toclevel-1:last-child:after {content:''; padding-left:10px}
.customtoc.inline .toc {width:100%;}