MediaWiki:Common.css
From Neocron Wiki
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* 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;
}