User:JEV3/monobook.css

From SRB2 Wiki
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.
/* Personal */

/* Test Styles. These may make it to the main site. */

/* 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: scroll;
}

/* 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, .portlet .pBody 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; 
}