MediaWiki:Common.css: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
(Undo revision 1414560 by Special:Contributions/Linkthewindow (User talk:Linkthewindow) - it works, but there's been a fair bit of change. Putting this up for discussion)
(Undo revision 1414561 by Special:Contributions/Linkthewindow (User talk:Linkthewindow)-discussion has been been up long enough)
Line 6: Line 6:


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)
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)
:And now [http://rationalwiki.com/wiki/Main_Page Rationalwiki]. {{User:Linkthewindow/Sig}} 10:26, 17 March 2009 (UTC)
<pre><nowiki>*/
<pre><nowiki>*/


/* wikitable/prettytable class for skinning normal tables */
/* wikitable/prettytable class for skinning normal tables */
body.page-Main_Page h1.firstHeading {
    display: none !important;
}


table.wikitable,
table.wikitable,

Revision as of 09:28, 19 March 2009

/* 

'''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)
:And now [http://rationalwiki.com/wiki/Main_Page Rationalwiki]. {{User:Linkthewindow/Sig}} 10:26, 17 March 2009 (UTC)
<pre><nowiki>*/

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

body.page-Main_Page h1.firstHeading {
    display: none !important;
}



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>*/