MediaWiki:Common.css: Difference between revisions

From COLLADA Public Wiki
Jump to navigation Jump to search
Elf (talk | contribs)
No edit summary
Elf (talk | contribs)
ref template
 
Line 4: Line 4:
/* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for
/* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for
   instance, will limit to showing ==headings== and ===headings=== but no further (as long as
   instance, will limit to showing ==headings== and ===headings=== but no further (as long as
   there are no =headings= on the page, which there shouldn't be according to the MoS). */
   there are no =headings= on the page, which there shouldn't be according to the MoS)
  template:TOClevel uses these settings. */
.toclimit-2 .toclevel-2 {display:none;}
.toclimit-2 .toclevel-2 {display:none;}
.toclimit-3 .toclevel-3 {display:none;}
.toclimit-3 .toclevel-3 {display:none;}

Latest revision as of 22:36, 18 March 2009

/* <source lang="css"> */
/* CSS placed here will be applied to all skins */

/* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for
   instance, will limit to showing ==headings== and ===headings=== but no further (as long as
   there are no =headings= on the page, which there shouldn't be according to the MoS).  
   template:TOClevel uses these settings. */
.toclimit-2 .toclevel-2 {display:none;}
.toclimit-3 .toclevel-3 {display:none;}
.toclimit-4 .toclevel-4 {display:none;}
.toclimit-5 .toclevel-5 {display:none;}
.toclimit-6 .toclevel-6 {display:none;}
.toclimit-7 .toclevel-7 {display:none;}
/* </source> */