Difference between revisions of "MediaWiki:Common.css"

From Neocron Wiki
Jump to: navigation, search
Line 17: Line 17:
 
     color: #EEEEEE;
 
     color: #EEEEEE;
 
}
 
}
 +
 +
table.thn_wikitable
 +
{
 +
    background-color: black;
 +
    border: 1px solid #00446A;
 +
    color: #EEEEEE;
 +
    border-collapse: separate;
 +
    border-spacing: 2px;
 +
}
 +
 +
table.thn_wikitable > tr > th, table.thn_wikitable > * > tr > th
 +
{
 +
    padding: 2px;
 +
    background-color: #00446A;
 +
    font-weight: bold;
 +
    text-align: center;
 +
    padding-left: 5px;
 +
    padding-right: 5px;
 +
}
 +
 +
table.thn_wikitable td
 +
{
 +
    padding: 3px;
 +
    padding-left: 5px;
 +
    padding-right: 5px;
 +
}
 +
  
 
#wiki_faction_table
 
#wiki_faction_table

Revision as of 22:00, 9 January 2014

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

table.thn_wikitable
{
    background-color: black;
    border: 1px solid #00446A;
    color: #EEEEEE;
    border-collapse: separate;
    border-spacing: 2px;
}

table.thn_wikitable > tr > th, table.thn_wikitable > * > tr > th
{
    padding: 2px;
    background-color: #00446A;
    font-weight: bold;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
}

table.thn_wikitable td
{
    padding: 3px;
    padding-left: 5px;
    padding-right: 5px;
}


#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;
}