MediaWiki:Common.css

From Card Hunter Wiki
Revision as of 22:05, 27 February 2013 by Phaselock (Talk | contribs)

Jump to: navigation, search

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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* 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); }

/* row header background color for semantic search result tables */
table.wikitable > * > tr > th { background-color:#062540; }
table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {
 border:1px solid rgb(24, 24, 24);
}

/* 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: #003425; //#006749;
  padding: 0 0.5em;
 }
 table.chtable caption {
  font-size: 120%;
  font-weight: bold;   
 }
 table.striped.chtable > tbody > tr:nth-child(2n+1) {background-color: #202020}
 table.striped> tbody > tr:nth-child(2n+1) {background-color: #282828}
 table.chtable td.title {background-color: #303030}
 table.chtable tr:not(:first-child) th { background-color: #003425}

 /* Semantic wiki gallery formatting from image query */
 li.gallerybox div.thumb { background-color:rgb(32, 32, 32); }
 img.thumbborder { border:1px solid rgb(32, 32, 32); }
 /* Semantic Special:browse result table formatting */
 tr.smwb-title, tr.smwb-propvalue th, tr.smwb-propvalue td { background-color:rgb(32, 32, 32); }
      
Personal tools
Namespaces

Variants
Actions
Navigation
Tools