Difference between revisions of "MediaWiki:Common.css"

From Neocron Wiki
Jump to: navigation, search
Line 41: Line 41:
 
     background-color: #000000;
 
     background-color: #000000;
 
     border: 1px solid #00446A;
 
     border: 1px solid #00446A;
 +
}
 +
 +
/* 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;
 
}
 
}

Revision as of 16:14, 28 October 2013

/* Experimental or new stuff by Bram */

table.wikitable
{
    background-color: #2A2B30;
    border: 1px solid #00446A;

}

table.wikitable > tr > th, table.wikitable > * > tr > th
{
    color: #eeeeee;
    background-color: #2A2B30;
}
table.wikitable td
{
    color: #EEEEEE;
}

#wiki_faction_table
{
    padding:15px;
    background-color: #2A2B30;
    border: 1px solid #00446A;
    width: 532px;
}

#wiki_faction_table img
{
    margin: 5px;
}

table.TablePager
{
    background-color: #000000;
    border: 1px solid #00446A;
}

table.TablePager td
{
    background-color: #000000;
    border: 1px solid #00446A;
}

/* 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;
}