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
Line 16: Line 16:
  
 
/* Table of Contents Indentation fix */
 
/* Table of Contents Indentation fix */
#toc.toc-sidebar li li {
+
.toc-sidebar li {
 
     margin-left: 5px;
 
     margin-left: 5px;
 
}
 
}

Revision as of 13:05, 6 November 2015

/* CSS placed here will be applied to all skins */
h1, h2, h3, h4, h5, h6 {
    font-weight:normal;
}
.mw-headline  {
    font-weight:800;
}

h1 {
    font-size: 28px;
}

pre {
    color: #000;
}

/* Table of Contents Indentation fix */
.toc-sidebar li {
    margin-left: 5px;
}



/* THIS IS BROKEN RIGHT NOW 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;
}