MediaWiki:Common.css
Jump to navigation
Jump 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.
/* CSS placed here will be applied to all skins
<pre><nowiki>*/
/* Main page cleanup and heading protection */
.page-Main_Page #lastmod,
.page-Main_Page #siteSub,
.page-Main_Page #contentSub,
.page-Main_Page h1.firstHeading { display: none !important; }
/* Ditto, but for Illoginews */
.page-IllogiNews #lastmod,
.page-IllogiNews #siteSub,
.page-IllogiNews #contentSub,
.page-IllogiNews h1.firstHeading { display: none !important; }
/* Name highlighting */
ul.special li a[title="User:Silent Penguin"]:hover:after,
ul.special li a[title="User:Hindleyite"]:hover:after,
ul.special li a[title="User:Nerd42"]:hover:after { content:" r vampies"}
ul.special li a[title="User:Fluffalizer"]:hover:after,
ul.special li a[title="User:THE"]:hover:after,
ul.special li a[title="User:Asema"]:hover:after,
ul.special li a[title="User:MrMetalFLower"]:hover:after,
ul.special li a[title="User:Testostereich"]:hover:after,
ul.special li a[title="User:Readmesoon"]:hover:after,
ul.special li a[title="User:Athyria"]:hover:after { content:" r adminz"; }
ul.special li a[title="User:Carlb"]:hover:after { content:" r master"; }
ul.special li a[title="User:Silent Penguin"],
ul.special li a[title="User:Hindleyite"],
ul.special li a[title="User:Nerd42"],
ul.special li a[title="User:Fluffalizer"],
ul.special li a[title="User:THE"],
ul.special li a[title="User:Asema"],
ul.special li a[title="User:MrMetalFLower"],
ul.special li a[title="User:Readmesoon"],
ul.special li a[title="User:Gruntled"],
ul.special li a[title="User:Athyria"] { font-weight: bold; color: #339900; }
ul.special li a[title="User:Testostereich"] { font-weight: bold; color: #FF00CC; }
ul.special li a[title="User:Carlb"] { font-style: italic; }
/* Make redirects stand out better on special:allpages and such */
.allpagesredirect {
font-style: italic;
padding-left: 20px;
}
/* Forum formatting -Algorithm-Splaka-SP edited */
.forumheader {
border: 1px solid #aaa; background-color: #f9f9f9; margin-top: 1em; padding: 12px;
}
.forumlist td.forum_edited a {
color: black; text-decoration: none
}
.forumlist td.forum_title a {
background: url(http://images.wikia.com/illogicopedia/images/0/00/Visitedforum.png) center left no-repeat; padding-left: 20px;
}
.forumlist td.forum_title a.forum_new {
font-weight: bold;
background: url(http://images.wikia.com/illogicopedia/images/d/d5/Newforum.png) center left no-repeat; padding-left: 20px;
}
.forumlist td.forum_title a.forum_new:visited {
font-weight: normal;
background: url(http://images.wikia.com/illogicopedia/images/0/00/Visitedforum.png) center left no-repeat; padding-left: 20px;
}
.forumlist th.forum_title {
padding-left: 20px;
}
/* Zork Class */
table.zorkclass td { padding: 3px; }
.zorkclass { background-color: #000000; color: #FFCC00; }
.zorkclass a { color: #FFFFCC; }
.zorkclass a:visited { color: #FFFFCC; }
.zorkclass a:hover { color: #FFFFFF; }
.zorkclass a.new { color: #FF6666; }
.zorkclass ul { list-style-type: circle; color:#FFFFCC; list-style-image: url(/images/d/d4/Zorkbullet.gif); }
.zorkcmd { color: #FFFFCC; }
.zorkclue tt:hover { color:#FFFFFF; }
.zorkclass * a.extiw { color: #CCFFCC !important; }
.zorkclass * a.external { color: #CCFFCC !important; }
/* Forum logo */
body.ns-110 #p-logo a { background-image: url(/images/5/59/Forum_logo.png) !important; }
body.ns-111 #p-logo a { background-image: url(/images/5/59/Forum_logo.png) !important; }
/* IllogiNews logo */
body.ns-114 #p-logo a { background-image: url(/images/5/5d/Illoginews_prototype_logo.png) !important; }
body.ns-115 #p-logo a { background-image: url(/images/5/5d/Illoginews_prototype_logo.png) !important; }
/* Tlh logo */
body.ns-150 #p-logo a { background-image: url(/images/thumb/8/89/Free_bloodwine.png/120px-Free_bloodwine.png) !important; }
body.ns-151 #p-logo a { background-image: url(/images/thumb/8/89/Free_bloodwine.png/120px-Free_bloodwine.png) !important; }
/* Misc */
hr.confused { border:0px; background: url(/images/5/51/ConfusedLineSeg.png); height:16px }
/* allows for expanding hidden sig sections (experimental) -Dawg */
.sighidden { display: none }
.sigexpand:hover .sighidden { display: inline !important }
/* allows for expanding/contracting hidden sections (experimental) -Dawg-SP-Fluff edited */
html>body .f1hid, .f1con { display: none }
.f1exp:hover .f1hid { display: inline !important }
.f1exp:hover .f1con { display: inline }
.f1con:hover { display: none !important }
/* allows for expanding/contracting hidden sections (experimental) -Dawg-SP-Fluff edited */
html>body .f2hid, .f2con { display: none }
.f2exp:hover .f2hid { display: inline !important }
.f2exp:hover .f2con { display: inline }
.f2con:hover { display: none !important }
/* do not display in IE6 and below */
* html .noie { display: none; }
/* wikitable/Prettytable, pinched from Wikipedia */
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;
}
/* make the list of references look smaller */
ol.references {
font-size: 100%;
}
.references-small { font-size: 90%;}
/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
/* Please ignore any validator errors caused by these two lines */
.references-2column {
font-size: 90%;
-moz-column-count: 2;
-webkit-column-count: 2;
column-count: 2;
}
/* Highlight clicked reference in blue to help navigation */
ol.references > li:target {
background-color: #DEF;
}
sup.reference:target {
background-color: #DEF;
}
/* White borders for images on non-white backgrounds. Updated to only work when needed.
To use, add: <nowiki><div class="nonwhite">[[Image:Imagetag]]</div></nowiki> <!-- Ignore the <nowiki></nowiki> --> -Paulgb */
.nonwhite div.thumb {
border: none;
margin-top: 10px;
margin-bottom: 0px;
}
.nonwhite div.tleft { border: none; }
.nonwhite div.tright { margin-left: 13px; }
#bodyContent blockquote.email, #article blockquote.email, #mw_contentholder blockquote.email {
border: 4px solid #cc9;
background: #000;
background-image: url(/images/5/5d/Emailbackground.gif);
background-repeat: no-repeat;
background-position: bottom right;
color: #fff;
font-weight: bold;
padding: 1em;
font-family: courier new, monospace;
width: 500px;
}
/* fix monospace size in webkit */
code, pre { font-size: 9pt }
/* Make diffs less ugly; thing already got chucked from core but we're probably stuck with it all for the next few years regardless so whatever */
td.diff-deletedline {
background: #dcffde;
}
td.diff-addedline {
background: #dce6ff;
}
td.diff-context div {
font-style: italic;
color: #555;
}
td.diff-addedline div,
td.diff-deletedline div,
td.diff-context div {
padding: 2px 4px 1px 6px;
}
td.diff-addedline .diffchange,
td.diff-deletedline .diffchange {
background: transparent;
padding-bottom: 1px;
color: #c00;
}
td.diff-addedline .diffchange {
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAYAAACuyE5IAAAAAXNSR0IArs4c6QAAAAlwSFlzAAAN1wAADdcBQiibeAAAAAd0SU1FB9wDAQEQKsaP2vEAAAAdaVRYdENvbW1lbnQAAAAAAENyZWF0ZWQgd2l0aCBHSU1QZC5lBwAAAFhJREFUCNctwbENglAUAMAjcQkTBnABmt/ZwwaUdK9gCGewcgiblxAaSt2AsIaNsSGh8a4qkYEV79e9/fkrkRdcT9jQoymRD3zQYcBc3TBF1hhxxhc7nlgOF7oT3kuL55oAAAAASUVORK5CYII=') repeat-x bottom;
}
td.diff-deletedline .diffchange {
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAYAAACuyE5IAAAAAXNSR0IArs4c6QAAAAlwSFlzAAAN1wAADdcBQiibeAAAAAd0SU1FB9wDAQEQEu6NYm8AAAAdaVRYdENvbW1lbnQAAAAAAENyZWF0ZWQgd2l0aCBHSU1QZC5lBwAAAFhJREFUCNctwaENwlAUAMD7CUs06QBdAPMdT9MNKusQHYIxGALzkgZT2W5AWANDakgw3JWaccET23pedn81o8PpgBcGHGvGDW/0GPEoV8wZLSY0+OCLO5Yf/r0TY3vtDHkAAAAASUVORK5CYII=') repeat-x bottom;
}
/*</nowiki></pre>*/