MediaWiki:Common.css
From MediaWiki
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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/***** CSS placed here will be applied to all skins on the entire site. *****/
/* <s>See also: [[MediaWiki:Monobook.css]]</s> */
/* Or actually don't see it, because it's not useful. Only Common.css and your */
/* your own custom css files get loaded. */
/* <pre> */
/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect { font-style: italic; }
.watchlistredir { font-style: italic; }
/* Giving headers and TOC a little extra space */
h2 {margin-top: 20px;}
.toc {margin-top: 20px;}
/* Infobox template style */
.infobox {
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
color: black;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox caption {
font-size: larger;
margin-left: inherit;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
/* Forum formatting (by -Algorithm & -Splaka) */
.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 {
padding-left: 20px;
}
.forumlist td.forum_title a.forum_new {
font-weight: bold; background: url(/images/4/4e/Forum_new.gif)
center left no-repeat; padding-left: 20px;
}
.forumlist td.forum_title a.forum_new:visited {
font-weight: normal; background: none; padding-left: 20px;
}
.forumlist th.forum_title {
padding-left: 20px;
}
/* Recent changes byte indicators */
.mw-plusminus-pos { color: #006500; }
.mw-plusminus-neg { color: #8B0000; }
/* Image frame fix */
div.tright, div.tleft {
border: 1px solid silver;
}
div.thumb {
margin: 2px;
}
div.thumbinner {
background: inherit;
border: none;
}
#article div.thumb {
color:inherit;
}
/* wikitable/prettytable class for skinning normal tables */
/* everything below is imported from Monobook.css, blame Derik if it blows up */
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border: 1px #aaa 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-weight: bold;
}
/* TELETRAN-1 SPECIFIC BITS */
.tt1_nowrap {
white-space: nowrap;
}
/* KILL "IMAGE TAGGING" FEATURE */
/* Hide all the tagging buttons and text-fields so they can't be used. */
#tagEditField input, #tagStatusDiv input{ display:none; }
/* The rectile can't be hidden- so we offset it 200em beyond the left margin of the page so it /appears/ to be gone. */
#file div, #tagEditField{ margin-left:-200em; }
/* Fix for the nested div affected by the above. (cosmetic) */
#file div div{ margin-left:0; }
/* Hide the chipper red 'NEW' inviting people to use this crappy feature. */
#filetoc sup{ display:none; }
/* ALSO RECOMMENDED: Change the 'click on things to tag them' text-string to explain that image tagging has been disabled on this wiki." */
/* HERE: http://transformers.wikia.com/wiki/MediaWiki:Tagging_instructions */
/* KILL THE "REPORT A PROBLEM" FEATURE */
/* Hide the 'report a problem' link; PROBLEM SOLVED, FOX NEWS STYLE! */
li#ca-report-problem {display:none;}
.userengagement {
display: none;
}
/*Fix the 'see-through image borders' problem.*/
.thumb{ background-color:white;}
/* </pre> */

