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
(Color for help pages was darker than it should.)
 
(29 intermediate revisions by 3 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
+
/* Special color for Help: namespace */
  
.mw-headline {
+
.ns-12 #content, .ns-13 #content { background-color: #bacdba; }
     font-weight:800;
+
.ns-12 div.thumb, .ns-13 div.thumb { border-color: #bacdba; }
 +
 
 +
/* Tables, Void Linux style
 +
*
 +
* Code adapted from deskthority.net wiki, credit to Daniel Beardsmore and others!
 +
*
 +
*/
 +
 
 +
table.wikitable,
 +
table.prettytable {
 +
    margin: 1em 1em 1em 0;
 +
    background: #f9f9f9;
 +
     border-collapse: collapse;
 
}
 
}
  
.mw-headline h1 {
+
table.wikitable > tr > th,
     font-weight:400;
+
table.wikitable > * > tr > th,
     font-size: 28px;
+
table.wikitable.filehistory tr:first-child td {
 +
     background-color: #478061;
 +
    color: white;
 +
    border-color: black;
 +
     font-size: 0.85em;
 +
    padding: 0.2em 0.75em;
 
}
 
}
  
 +
table.wikitable > tr > td,
 +
table.wikitable > * > tr > td {
 +
    border: 1px #070 solid;
 +
    padding: 0.2em 0.5em;
 +
}
  
/* Allow limiting of which header levels are shown in a TOC;
+
table.wikitable.sortable th {
  <div class="toclimit-3">, for instance, will limit to
+
    /* Allow space for sort arrows */
  showing ==headings== and ===headings=== but no further
+
    padding-right: 2em;
  (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;
 
 
}
 
}

Latest revision as of 14:17, 17 July 2017

/* Special color for Help: namespace */

.ns-12 #content, .ns-13 #content { background-color: #bacdba; }
.ns-12 div.thumb, .ns-13 div.thumb { border-color: #bacdba; }

/* Tables, Void Linux style
 *
 * Code adapted from deskthority.net wiki, credit to Daniel Beardsmore and others!
 *
 */

table.wikitable,
table.prettytable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border-collapse: collapse;
}

table.wikitable > tr > th,
table.wikitable > * > tr > th,
table.wikitable.filehistory tr:first-child td {
    background-color: #478061;
    color: white;
    border-color: black;
    font-size: 0.85em;
    padding: 0.2em 0.75em;
}

table.wikitable > tr > td,
table.wikitable > * > tr > td {
    border: 1px #070 solid;
    padding: 0.2em 0.5em;
}

table.wikitable.sortable th {
    /* Allow space for sort arrows */
    padding-right: 2em;
}