MediaWiki:Common.css

/***** CSS placed here will be applied to all skins on the entire site. *****/

/* ################################################## */ /* ### TITLE ICONS (Template:Games)              ### */ /* ################################################## */ .va-titleicons, .va-titleicons-hover { font-size: 11px; position: absolute; margin: 0; max-width: 275px; z-index: 3; } .va-titleicons { background: transparent; right: 0; height: 25px; line-height: 25px; overflow: hidden; text-align: right; border: none; display: none; } .va-titleicons-hover { background: #FFF; right: -2px; height: auto; overflow: auto; text-align: center; border: 2px solid #D9D9D9; padding: 0 5px; } .va-titleicons-preview { text-align: right; } .va-titleicons-fullsize, .va-titleicons-hover .va-titleicons-preview { display: none; } .va-titleicons-hover .va-titleicons-fullsize { display: block; } .va-titleicons-more { float: right; padding: 0 2px; line-height: 25px; } .va-titleicons-chevron { vertical-align: middle; border-color: #3A3A3A transparent transparent; border-style: solid; border-width: 3px; width: 0; } /* Monobook */ .skin-monobook .va-titleicons { top: 15px; } .skin-monobook .va-titleicons-hover { top: 13px; } /* Oasis */ .skin-oasis .va-titleicons { top: -30px; right: 10px; } .skin-oasis .va-titleicons-hover { top: -32px; right: 10px; } .skin-oasis.ns-0 .WikiaPageHeader, .skin-oasis.ns-4 .WikiaPageHeader, .skin-oasis.ns-110 .WikiaPageHeader, .skin-oasis.ns-502 .WikiaBlogListingHeader { margin-bottom: 30px; } .skin-oasis.mainpage .WikiaPageHeader { margin-bottom: 10px; }

/* Hide title and tagline on pages */ body.page-The_Sims_Wiki h1.firstHeading, body.page-The_Sims_Wiki #siteSub { display:none; } body.page-The_Sims_Wiki_Admin_Portal h1.firstHeading, body.page-The_Sims_Wiki_Admin_Portal #siteSub { display:none; } body.page-The_Sims_Wiki_Late_Night_Portal h1.firstHeading, body.page-The_Sims_Wiki_Late_Night_Portal #siteSub { display:none; }

/* Poll autoformatting */ .ajax-poll { width: auto !important; /*inline style override for poll extension*/ }

/* Color an external link as red. Thanks to pcj and joeyaa */ .red-link a, .red-link a:visited, .red-link a:active {color:#BA0000 !important;text-decoration:none !important;} .red-link a:hover { color:#BA0000 !important;text-decoration:underline !important;}

/* Mark redirects in Special:Allpages and Special:Watchlist */ .allpagesredirect a { color: #888; font-style: italic; } .watchlistredir a { color: #888; font-style: italic; }

/* 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(http://images2.wikia.nocookie.net/sims/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; }

/* Colour the number of characters added/removed in the recent changes */ .mw-plusminus-pos { color: #006500; }

.mw-plusminus-neg { color: #8B0000; }

/* === Babel === */

div.babelbox { float: right; margin-left: 1em; margin-bottom: 0.5em; width: 246px; border: 1px solid #99B3FF; padding: 2px 0 2px 0; } .lang-blockN, .lang-block0, .lang-block1, .lang-block2, .lang-block3 { margin: 2px 4px 2px 4px; /* t, l, b, r */ width:238px; border-collapse: collapse; } td.lang-codeN, td.lang-code0, td.lang-code1, td.lang-code2, td.lang-code3 { text-align:center; font-size:14pt; width:45px; height:45px; } td.lang-descriptionN, td.lang-description0, td.lang-description1, td.lang-description2, td.lang-description3 { font-size:8pt; padding:4pt; line-height:1.25em }

.lang-block0 { border:1px solid #FFB3B3; } td.lang-code0 { background-color: #FFB3B3; color: black; } td.lang-description0 { background-color: #FFE0E8; color: black; }

.lang-block1, .lang-block2, .lang-block3  { border:1px solid #99B3FF; } td.lang-code1, td.lang-code2, td.lang-code3 { background-color: #99B3FF; color: black; } td.lang-description1, td.lang-description2, td.lang-description3 { background-color: #E0E8FF; color: black; }

.lang-blockN { border:1px solid #6EF7A7; } td.lang-codeN { background-color: #6EF7A7; color: black; } td.lang-descriptionN { background-color: #C5FCDC; color: black; }

/* Messagebox templates */ .messagebox { border: 1px solid #aaa; background-color: #f9f9f9; width: 80%; margin: 0 auto 1em auto; padding: .2em; } .messagebox.merge { border: 1px solid #c0b8cc; background-color: #f0e5ff; text-align: center; } .messagebox.cleanup { border: 1px solid #9f9fff; background-color: #efefff; text-align: center; } .messagebox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; } .messagebox.nested-talk { border: 1px solid #c0c090; background-color: #f8eaba; width: 100%; margin: 2px 4px 2px 4px; } .messagebox.small { width: 238px; font-size: 85%; float: right; clear: both; margin: 0 0 1em 1em; line-height: 1.25em; }

/* wikitable/prettytable class for skinning normal tables */ table.wikitable, table.plaintable, table.prettytable { margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse; background-color: #FFFFFF; }

table.wikitable th, table.wikitable td, table.plaintable th, table.plaintable td { border: 1px #aaa solid; padding: 0.2em 1em; }

table.heading-grey th, table.heading-gray th, td.heading-grey, td.heading-gray, table.plaintable th { background-color: #efefef; text-align: center; }

table.heading-blue th{ background-color: #BFD7FF;     /* Level 1 color */ text-align: center; }

.small-text, .small-text-cells td { font-size:75%; }

table.wikitable caption, table.plaintable caption, table.prettytable caption { margin-left: inherit; margin-right: inherit; font-weight: bold; }

table.prettytable { margin: 1em 1em 1em 0; border-collapse: collapse; }

table.prettytable th { text-align: left; padding: 0.2em 1em; border: #BFD7FF 1px solid;    /* Level 1 color */ }

table.prettytable tr:not(:first-child) th, /* May not work in IE. For :first-child to work in IE, a <!DOCTYPE> must be declared. */ th.heading2, table.prettytable th.heading2, table.prettytable td { text-align: left; padding: 0.2em 0.5em; border: #BFD7FF 1px solid;    /* Level 1 color */ }

table.prettytable tr:not(:first-child) th, /* May not work in IE. For :first-child to work in IE, a <!DOCTYPE> must be declared. */ th.heading2 { background-color: #D7E6FD;    /* Level 2 color */ color: rgb(38,75,135); }

table.plaintable tr:not(:first-child) th /* May not work in IE. For :first-child to work in IE, a <!DOCTYPE> must be declared. */ { background-color: #f7f7f7; text-align: center; }

table.prettytable td { background-color: rgb(242,247,255);    /* Level 3 color */ }

.alt { background-color: #f7f7f7; } table.zebra > tbody > tr:nth-child(2n+1) {background-color: #f7f7f7; }

/* Default skin for navigation boxes */ table.navbox {           /* Navbox container style */ background-color: #f9f9f9; margin:0 auto; width: 100%; clear: both; text-align: center; border: 1px solid transparent; -moz-border-radius:10px; /* Firefox */ border-radius:10px; /* Chrome, Safari & Opera */ padding: 1px; } table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ margin-top: -1px;         /* (doesn't work for IE6, but that's okay)       */ }

.navbox-title, .navbox-abovebelow, table.navbox th {            /* Title and above/below styles */ text-align: center; background-color: #BFD7FF;    /* Level 1 color */ padding-left: 1em; padding-right: 1em; border: 1px solid transparent; -moz-border-radius:10px; /* Firefox */ border-radius:10px; /* Chrome, Safari & Opera */ } .navbox-group {             /* Group style */ white-space: nowrap; text-align: right; font-weight: bold; padding-left: 1em; padding-right: 1em; background: #BFD7FF;          /* Level 1 color */ border: 1px solid #BFD7FF;    /* Level 1 color */ -moz-border-radius:10px;      /* Firefox */ border-radius:10px;           /* Chrome, Safari & Opera */ }

.navbox, .navbox-subgroup { background: #fdfdfd;    /* Background color */ } /* .navbox-list { border-color: #fdfdfd;  /* Must match background color */ } .navbox-title, table.navbox th { background: #BFD7FF;    /* Level 1 color */ } .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: #D7E6FD;    /* Level 2 color */ } .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: #F2F7FF;    /* Level 3 color */ border-color: #D7E6FD;  /* Level 2 color */ } .navbox-even { background: #f7f7f7;    /* Even row striping */ } .navbox-odd { background: transparent; /* Odd row striping */ }

.navbar {                 /* Navbox template links */ font-size: 75%;       /* Default font-size */ font-weight: normal; } .navbox .navbar { font-size: 100%;      /* Font-size when nested within navbox */ }

.roundborder { border: 1px solid #007FFF; -moz-border-radius:10px;      /* Firefox */ border-radius:10px;           /* Chrome, Safari & Opera */ }

@media print { .navbox { display: none; } }

/* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at NavFrame. */ div.Boxmerge, div.NavFrame { margin: 0px; padding: 4px; border: 1px solid #aaa; text-align: center; border-collapse: collapse; font-size: 95%; } div.Boxmerge div.NavFrame { border-style: none; border-style: hidden; } div.NavFrame + div.NavFrame { border-top-style: none; border-top-style: hidden; } div.NavPic { background-color: #fff; margin: 0px; padding: 2px; float: left; } div.NavFrame div.NavHead { height: 1.6em; font-weight: bold; background-color: #BFD7FF;    /* Level 1 color */ position:relative; } div.NavFrame p { font-size: 100%; } div.NavFrame div.NavContent { font-size: 100%; } div.NavFrame div.NavContent p { font-size: 100%; } div.NavEnd { margin: 0px; padding: 0px; line-height: 1px; clear: both; } a.NavToggle { position:absolute; top:0px; right:3px; font-weight:normal; font-size:smaller; }

/* Small reference list, make the list of references look smaller and highlight clicked reference in blue, from Wikipedia */ ol.references { font-size: 90%; } .references-small { font-size: 90%;} ol.references > li:target { background-color: #ddeeff; } sup.reference:target { background-color: #ddeeff; } .references-small { font-size: 90%;} /* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */ /* -moz- and -webkit- are vendor-specific extensions (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; /* Firefox */ -webkit-column-count:2; /* Chrome & Safari */ column-count:2; } .same-bg { background: none }

/* Display text below main article header, located at MediaWiki:tagline */ display: inline; font-size: 92%; font-weight: normal; }
 * 1) siteSub {

/* Put a checker background at the image description page only visible if the image has transparent background */ background: url("http://images.wikia.com/central/images/5/5d/Checker-16x16.png") repeat; }
 * 1) file img {

/* Allow limiting of which header levels are shown in a TOC; , for instance, will limit to  showing ==headings== and ===headings=== but no further (as long as there are no =headings= on the page, which  there shouldn't be according to the MoS). */ .toclimit-2 .toclevel-2, .toclimit-3 .toclevel-3, .toclimit-4 .toclevel-4, .toclimit-5 .toclevel-5, .toclimit-6 .toclevel-6, .toclimit-7 .toclevel-7 { display: none; }

blockquote { font-style: italic; }

blockquote.note { border: 1px dashed #ccf; padding: 5px; font-style: italic; font-size: 90%; }

/* Tooltip script begin */ .htt .tooltip-content .tooltip-hide, .hidden { display:none; }

.tooltip-ready { visibility:hidden; display:block; z-index:999; } /* Tooltip script end */

/* siteNotice [dismiss] moving, see MediaWiki:Common.js, by Joeyaa */
 * 1) mw-dismissable-notice td[align="right"] > span {display:none}

/* Move patrol link to the left side */ .patrollink { position:absolute; left:10px; height:20px; }

.editlink { float:right; font-size:14px; }

.editlink a { font-size:12px; }

/* Manual of Style */ .moscorrect { color: #006F00; font-family:serif; font-size:1.1em; } .mosincorrect { color: #B20000; font-family:serif; font-size:1.1em; }

/* Main page styles */

table.mptable1 { width:100%; background-color:#64B668; margin-top:2px; padding:5px; -moz-border-radius:10px;      /* Firefox */ border-radius:10px;           /* Chrome, Safari & Opera */ border:2px solid #0A6F2F; }

.mpheading1 { font-size:16px; padding:5px; background:#0A6F2F; border:1px solid #99FF99; color:#FFFFFF; text-align:center; -moz-border-radius:7px;      /* Firefox */ border-radius:7px;           /* Chrome, Safari & Opera */ }

.mpheading1 small a, .mpheading1 .editlink a { color: #64B668; }

table.mptable2 { width:100%; background-color:#99BBEE; margin-top:2px; padding:5px; border:2px solid #1154A4; -moz-border-radius:10px;      /* Firefox */ border-radius:10px;           /* Chrome, Safari & Opera */ }

.mpheading2 { font-size:16px; padding:5px; background:#1154A4; border:2px solid #1E90FF; -moz-border-radius:7px;      /* Firefox */ border-radius:7px;           /* Chrome, Safari & Opera */ color:#FFFFFF; text-align:center; }

.mpheading2 small a, .mpheading2 .editlink a { color: #99BBEE; }