MediaWiki:Common.css: Difference between revisions
From The Urban Dead Wiki
Jump to navigationJump to search
mNo edit summary |
The Rooster (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
/* | /*<pre>*/ | ||
/* CSS placed here will affect all users */ | |||
/* remove title on main page */ | |||
body.page-Main_Page h1.firstHeading { display: none !important; } | |||
/* wikitable class for skinning tables */ | |||
table.wikitable { margin: 1em 1em 1em 0; background: #F9F9F9; border-collapse: collapse; } | |||
table.wikitable th, table.wikitable td { border: 1px #AAA solid; padding: .2em; } | |||
table.wikitable th { background: #F2F2F2; text-align: center; } | |||
table.wikitable caption { font-size: larger; font-weight: bold; } | |||
/* puts an indicator image before redirects in Special:Allpages */ | |||
.allpagesredirect a { background: url(/images/5/5c/Allpagesredirect.gif) center left no-repeat; padding-left: 13px; font-style: italic; } | |||
/* | /* stealth external links to look like normal links */ | ||
#bodyContent .stealthexternallink a { background: none; padding: 0; color: #002BB8; } | |||
#bodyContent .stealthexternallink a:visited { color: #5A3696; } | |||
#bodyContent .stealthexternallink a:active { color: #FAA700; } | |||
/* lighter normal red links, visited red links appear pink */ | |||
.new a { color:#C20; } | |||
} | .new a:visited { color:#A55858; } | ||
/*</pre>*/ | |||
/* | |||
Revision as of 23:24, 9 December 2009
/*<pre>*/ /* CSS placed here will affect all users */ /* remove title on main page */ body.page-Main_Page h1.firstHeading { display: none !important; } /* wikitable class for skinning tables */ table.wikitable { margin: 1em 1em 1em 0; background: #F9F9F9; border-collapse: collapse; } table.wikitable th, table.wikitable td { border: 1px #AAA solid; padding: .2em; } table.wikitable th { background: #F2F2F2; text-align: center; } table.wikitable caption { font-size: larger; font-weight: bold; } /* puts an indicator image before redirects in Special:Allpages */ .allpagesredirect a { background: url(/images/5/5c/Allpagesredirect.gif) center left no-repeat; padding-left: 13px; font-style: italic; } /* stealth external links to look like normal links */ #bodyContent .stealthexternallink a { background: none; padding: 0; color: #002BB8; } #bodyContent .stealthexternallink a:visited { color: #5A3696; } #bodyContent .stealthexternallink a:active { color: #FAA700; } /* lighter normal red links, visited red links appear pink */ .new a { color:#C20; } .new a:visited { color:#A55858; } /*</pre>*/