MediaWiki:Common.css

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 69: Line 69:
 
  table.chtable tr:not(:first-child) th { background-color: #072C4D; }
 
  table.chtable tr:not(:first-child) th { background-color: #072C4D; }
 
  table.chtable td.title {background-color: #303030}
 
  table.chtable td.title {background-color: #303030}
 +
table.zebra.chtable > tbody > tr:nth-child(2n+1) {background-color: #202020}

Revision as of 17:58, 20 February 2013

/* CSS placed here will be applied to all skins */

div.printfooter { display: none; }

/* New softer colors for readable commonElement links throughout the wiki */
a.new:link { color: rgb(166, 50, 50);}
a.new:visited { color: rgb(166, 50, 50); }
a:link { color: rgb(90, 147, 204);}
a:visited { color: rgb(50, 131, 204); }

/* New softer colors for readable content links in a page */
div#content ul li a.new { color: rgb(166, 50, 50); }
div#content ul li a { color: rgb(90, 147, 204); }
div#content ul li a:visited { color: rgb(50, 131, 204); }

/* color for vectorTabs 'View/Edit/History' */
div.vectorTabs li a { color: rgb(90, 147, 204); }

/* color for links in Navigation and Toolbox */
div#mw-panel div.portal div.body ul li a { color: rgb(90, 147, 204); }
div#mw-panel div.portal div.body ul li a:visited { color: rgb(50, 131, 204); }

/* The garish bright white font everywhere is replaced by this */
html, body, h1, h2, h3, h4, h5, h6, div#content, #p-personal, div#simpleSearch, div#simpleSearch input, #p-search input#searchInput, table.wikitable { color: rgb(224, 224, 224); }

/* Pre settings */
pre {
    background:transparent;
    color: rgb(224, 224, 224);
    white-space:pre-wrap;
    word-wrap:break-word;
}

.mw-body a.external {color: rgb(90, 147, 204);}
.mw-body a.external:visited {color: rgb(50, 131, 204);}

/* Content boxes formatting for Main Page */
.chcontentbox {
 margin-top:10px;
 padding:7px 15px 12px 15px;
 border-radius: 0.5em;
}
#ch-outer-container  {margin-top: -2em}
.chcontentbox > h3 { border-bottom:1px solid #444; border-color: #303030}
.chcontentbox-table { width:100%; }
.chcontentbox-table td { width:50%; }
.bg-darkblue {background:#16181D;}
.bg-darkgreen {background:#161A16;}
.bg-darkgray {background:#181818;}
.bg-darkred {background:#1A1616;}
.bg-darkred, .bg-darkgreen, .bg-darkblue, .bg-darkgray {border-style: none}

 /* ch table style */
.chtable {
  padding: 5px;
  background-color: #181818;
  border-color: #383838
  font-size: 89%;
  margin: 0.5em 0em 1em 0.5em;
 }
 table.chtable th, table.chtable tr:not(:first-child) th.outer {
  background-color: #4d3300; /* #062540; */
  padding: 0 0.5em;
 }
 table.chtable caption {
  font-size: 120%;
  font-weight: bold;   
 }
 table.chtable tr:not(:first-child) th { background-color: #072C4D; }
 table.chtable td.title {background-color: #303030}
 table.zebra.chtable > tbody > tr:nth-child(2n+1) {background-color: #202020}
      
Personal tools
Namespaces

Variants
Actions
Navigation
Tools