MediaWiki:Common.css

From The Urban Dead Wiki
Revision as of 04:04, 21 November 2006 by Xoid (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Note: After publishing, 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: Press Ctrl-F5.
/* 

'''Note:''' Anything that is skin-specific (logo related, javascript related) should go into <!-- [[MediaWiki:Monobook.css]] or --> [[MediaWiki:Urbandead.css]]

Tools: [http://wiki.urbandead.com/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css&smaxage=18000 reload cache] | [http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwiki.urbandead.com%2Findex.php%3Ftitle%3DMediaWiki%3ACommon.css%26action%3Draw%26ctype%3Dtext%2Fcss%26smaxage%3D18000&usermedium=all check w3c validation]

A special thanks to Uncyclopedia and Wikipedia, whom I <s>stole</s> borrowed the code from. –[[User:Xoid|Xoid]] <sup>[[Special:Listusers/sysop|M]]•[[User talk:Xoid|T]]•<span class="stealthexternallink">[http://urbandeadwiki.th7.net F]</span>[[Project UnWelcome|U!]]</sup> 12:36, 28 August 2006 (BST)
<pre><nowiki>*/

/* wikitable/prettytable class for skinning normal tables */

table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em;
}

table.wikitable th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}

table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-size: larger;
  font-weight: bold;
}

/* Puts a redirect indicator before redirects in Special:Allpages */
.allpagesredirect { font-style: italic; }
.allpagesredirect a { background: url(/images/5/5c/Allpagesredirect.gif) center left no-repeat; padding-left: 13px; }

/* stealth external links almost like normal links (remove if abused) -Spl */
#bodyContent .stealthexternallink a { background: none; padding: 0; color: #002bb8; }
#bodyContent .stealthexternallink a.new { color: #CC2200 !important; }
#bodyContent .stealthexternallink a:visited { color: #5a3696; }
#bodyContent .stealthexternallink a:active { color: #faa700; }
#bodyContent .stealthexternallink a:hover { text-decoration: underline; }

/* deliberate red links */
/* note: color should be #ba0000, but #cc2200 in practice? */
.new a { color:#cc2200; }
.new a:visited { color:#a55858; }

/*</nowiki></pre>*/