Warning: THE VOID WIKI IS DEPRECATED. It is no longer being maintained, contains outdated and incorrect information, and will eventually be shut down. Please refer to the Void Handbook, https://docs.voidlinux.org/, for the official documentation. If you can't find the information you're seeking, please raise an issue at https://github.com/void-linux/void-docs/issues

Difference between revisions of "MediaWiki:Common.css"

From Void Linux Wiki
Jump to navigation Jump to search
(Created page with "→‎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 sh...")
 
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 +
 +
mw-headline {
 +
    font-weight:800;
 +
}
 +
 +
  
 
/* Allow limiting of which header levels are shown in a TOC;
 
/* Allow limiting of which header levels are shown in a TOC;

Revision as of 09:56, 6 November 2015

/* CSS placed here will be applied to all skins */

mw-headline {
    font-weight:800;
}



/* 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). */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
    display: none;
}