Latest Neocron News and Information

  • New test server patch #545 has been released to Vedeena

Difference between revisions of "MediaWiki:Common.css"

From Neocron Wiki
Jump to: navigation, search
(CSS tweaks for trophy table)
Line 1: Line 1:
 
/* Experimental or new stuff by Bram - to be merged in to the base CSS */
 
/* Experimental or new stuff by Bram - to be merged in to the base CSS */
 
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;
 
}
 
 
/* Trophy tables */
 
 
table.thn_wikitable
 
{
 
    background-color: black;
 
    border: 1px solid #00446A;
 
    color: #EEEEEE;
 
    border-collapse: separate;
 
    border-spacing: 2px;
 
}
 
 
table.thn_wikitable tr
 
{
 
    background-color: #303030;
 
    padding: 3px;
 
}
 
 
table.thn_wikitable 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;
 
}
 
 
table.thn_wiki_trophy td
 
{
 
    padding: 3px;
 
    padding-left: 5px;
 
    padding-right: 5px;
 
    text-align: center;
 
    vertical-align: top;
 
}
 
 
 
#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;
 
}
 

Revision as of 22:57, 27 August 2017

/* Experimental or new stuff by Bram - to be merged in to the base CSS */