MediaWiki:Common.css
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.
/* Modifications from main.css go below. --Digi 12/8/07 */
body {
background: #E3E8E6 url("/skins/monobook/srb2wiki/background.png") 0 0 repeat fixed; /* Different background. --Digi 10/21/07 */
}
.portlet {
background: none;
}
#p-logo {
background: transparent;
}
/* Custom styles go below. --Digi 12/8/07 */
/* Recent changes indicators; positive difference is green, negative is red, 0 is black. */
.mw-plusminus-pos { color: green; }
.mw-plusminus-neg { color: red; }
.mw-plusminus-null { color: black; }
/* 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;
}
/* 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;
}
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
/* Start Main Page styles */
.mainpage_game {
background: #E3EEFF url("/skins/monobook/srb2wiki/mainpage_sonic.png") no-repeat bottom right;
padding: 0 1em 1em 1em;
border:#0000FF 1px solid;
}
.mainpage_editing {
background: #FBF9E7 url("/skins/monobook/srb2wiki/mainpage_tails.png") no-repeat bottom right;
padding: 0 1em 1em 1em;
border:#FFA500 1px solid;
}
.mainpage_community {
background: #FCF1E6 url("/skins/monobook/srb2wiki/mainpage_knuckles.png") no-repeat bottom right;
padding: 0 1em 1em 1em;
border:#FF0000 1px solid;
}
/* Category Graphics */
body.page-Category_Sonic_Robo_Blast_2 div#content {
background: #FFF url("/skins/monobook/srb2wiki/bgPage_srb2.png") top right no-repeat;
}
body.page-Category_Sonic_Robo_Blast_2 table {
background-color: transparent;
}
body.page-Category_Editing div#content {
background: #FFF url("/skins/monobook/srb2wiki/bgPage_editing.png") top right no-repeat;
}
body.page-Category_Editing table {
background-color: transparent;
}
body.page-Category_SRB2_Wiki div#content {
background: #FFF url("/skins/monobook/srb2wiki/bgPage_about.png") top right no-repeat;
}
body.page-Category_SRB2_Wiki table {
background-color: transparent;
}
/* Start Levels styles */
table.levels_singleplayer {
margin: 1em 1em 1em 0;
background: #e0e0ff;
border: 1px #000000 solid;
border-collapse: collapse;
}
table.levels_singleplayer th, table.levels_singleplayer td {
border: 1px #000000 solid;
padding: 0.2em;
}
table.levels_singleplayer th {
background: #c0c0ff;
font-size:16pt;
text-align:left;
}
/* Removes useless links from printout */
@media print {
#privacy, #about, #disclaimer {display:none;}
}
.plainlinksneverexpand a {background: none !important; padding: 0 !important}
/* log formatting */
.logtable pre {
margin:0;
padding:0;
border:0;
}
/* Unsorted. */
.hiddenStructure { display: none }
.if { display: none }
.allpagesredirect {
font-style: italic;
}
ul {
list-style-image: url(/skins/monobook/srb2wiki/bullet.gif);
}
.portlet ul {
list-style-image: url(/skins/monobook/srb2wiki/bullet.gif);
}
/* Color reference: http://web.archive.org/web/20060703032739/info.sonicretro.org/Main_Page (Shh; don't tell them! ;) ) */
/* 0. GFZROCK/FWATER1 background. No need to change this. */
body {
background-color: #F9F9F9;
background-image: url("http://digiku.freepgs.com/srb2wiki/gfzrock_fwater1.png");
background-attachment: fixed;
}
/* 1. Color codes for main page background. Change "#D5DFE9" */
#content, .pBody, #footer {
background-color: #D5DFE9; /* Base color: #D2E6F0 -> #DFE9F3 */
}
/* 2. Color codes for menu headings, user space links, page tabs. Change "#D5DFE9" */
div.portlet h5, div#p-personal ul li, #p-cactions li a, #p-cactions li.selected a {
background-color: #D5DFE9; /* Alternative: #EBF0FA */
}
/* 3. Color codes for page tab highlighting, i.e. move your mouse over the tab. Change "#D5DFE9" */
/* Note that the color right now is the same as the normal tab color, hence no color changing occurs. */
#p-personal li a:hover, #p-cactions li a:hover {
background-color: #D5DFE9; /* Alternative: #EFF4FE, #FFFFFF */
}
.portlet .pBody {
padding-right: 0; /* Allows all menu boxes to have full-width links. */
}
#p-tb a {
display: block; /* Allows toolbox to have full-width links. */
}
#p-tb #feed-rss a, #p-tb #feed-atom a {
display: inline; /* Fixes visual bug with Recent Changes feed links */
}
/* 4. Color codes for borders, including header underlines. Change all instances of "#0000C0" */
div#content, div.pBody, #catlinks, .mw-warning, .toccolours, #pagehistory li.selected, .pBody, #preferences, .prefsection fieldset, div#userlogin form#userlogin2, table.mw_metadata td, table.mw_metadata th, ul#filetoc, .TablePager, .TablePager td, .TablePager th {
border-color: #0000C0;
}
hr {
color: #0000C0;
background-color: #0000C0;
}
h1, h2 {
border-bottom-color: #0000C0;
}
#p-cactions li, #preftoc li.selected {
border-color: #0000C0;
border-bottom: none;
}
.previewnote {
border-bottom-color: #0000C0;
}
/* 5. Color codes to change white backgrounds to transparent. They often result in buggy appearances. No need to change these. */
div.thumb {
border-color: transparent;
}
table, code {
background-color: transparent;
}
/* 6. Miscellaneous color fixes. */
/* Lighter color. Change "#EEF8FF". */
#pagehistory li.selected, #preferences, .prefsection, #preferences table, #preftoc li.selected, #catlinks, ul#filetoc {
background-color: #E9F3FD; /*#EEF8FF*/
}
div.noarticletext, pre,
div#userloginForm form, div#userlogin form#userlogin2, div#userloginForm table, div#userlogin form#userlogin2 table {
background-color: #E9F3FD;
border-color: #0000C0;
}
/* Footer gets no border. */
#footer {
border: none;
}
/* Light gray color, for tables. Change "#ECECEC". */
#toc, .toc, div.thumbinner, table.gallery, .TablePager td, .mw-warning, table.filehistory {
background-color: #ECECEC;
}
table.gallery td {
background-color: #ECECEC;
border-color: transparent;
}
table.gallery div.thumb {
background-color: #FFF;
}
/* Category page backgrounds */
body.page-Category_Sonic_Robo_Blast_2 div#content {
background: #E9F3FD url("/skins/monobook/srb2wiki/bgPage_srb2.png") top right no-repeat;
}
body.page-Category_Editing div#content {
background: #E9F3FD url("/skins/monobook/srb2wiki/bgPage_editing.png") top right no-repeat;
}
body.page-Category_SRB2_Wiki div#content {
background: #E9F3FD url("/skins/monobook/srb2wiki/bgPage_about.png") top right no-repeat;
}
/* wikitable/prettytable class for skinning normal tables */
table.wikitable, table.prettytable {
margin: 1em 1em 1em 0;
background: #ececec;
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: #e0e0e0;
text-align: center;
}
table.wikitable caption, table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
}