MediaWiki:Common.css

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

/* Toc */

-moz-border-radius: 0.4em 0.4em 0.4em 0.4em; -webkit-border-radius: 0.4em 0.4em 0.4em 0.4em; border-radius: 0.4em 0.4em 0.4em 0.4em; background: #F9F9F9 url(https://images.wikia.nocookie.net/__cb20100704162745/sims/fr/images/6/6d/Image_TOC.png) no-repeat right bottom; }
 * 1) toc {

/* Era */

position:absolute; z-index:100; right:10px; top:25px; float: right; }
 * 1) icons {

/* ################################################## */ /* ### TITLE ICONS (Template:Games)              ### */ /* ################################################## */ .titleicons, .titleicons-hover { font-size: 11px; margin: 0; max-width: 275px; z-index: 3; } .titleicons { background: transparent; right: 0; height: 25px; line-height: 25px; overflow: hidden; text-align: right; border: none; display: none; float: right; } .titleicons-hover { -moz-border-radius:1em; -khtml-border-radius:1em; -webkit-border-radius:1em; border-radius:1em; background-color:#FFFFFF; border:2px solid #2479A5; box-shadow: inset 0 0 7px #666666; right: -1px; height: auto; overflow: auto; position: absolute; color: #666666; margin: auto; padding: 4px 1em 3px; text-align: center; top: 39px !important; padding: 0 5px; } .titleicons-preview { text-align: right; } .titleicons-fullsize, .titleicons-hover .titleicons-preview { display: none; } .titleicons-hover .titleicons-fullsize { display: block; } .titleicons-more { float: right; padding: 0 2px; line-height: 25px; } .titleicons-chevron { vertical-align: middle; border-color: #3A3A3A transparent transparent; border-style: solid; border-width: 3px; width: 0; } /* Monobook */ .skin-monobook .titleicons { top: 15px; } .skin-monobook .titleicons-hover { top: 13px; } /* Oasis */ .skin-oasis .titleicons { top: 0px; } .skin-oasis .titleicons-hover { top: -2px; }  display: none; }
 * 1) WikiaPageHeader details .categories {

/* 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(https://images.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("https://images.wikia.nocookie.net/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; }

/*highlights on recentchanges*/ /*please maintain the alphabetical order as it makes it easier to update these lists - thanks*/ .newpage { color : red; } .minor { color : silver; } .unpatrolled { color : blue; } .bot { color : orange; } /*bots*/ a[href="/wiki/User:Bawt"], a[href="/wiki/User:CreateWiki script"], a[href="/wiki/User:Delete page script"], a[href="/wiki/User:Edit page script"], a[href="/wiki/User:Maintenance script"], a[href="/wiki/User:LiRBot"], a[href="/wiki/User:VSTF Bot"], a[href="/wiki/User:Wikia"], a[href="/wiki/User:WikiaBot"], a[href="/wiki/User:WoganBot"] { color:#66AAFF !important; font-weight:bold !important; } /*admins*/ a[href="/wiki/User:AsherÉire"], a[href="/wiki/User:Asher%C9ire"], /* for some browsers - character code issue */ a[href="/wiki/User:Frostwalker"], a[href="/wiki/User:JasonThePlum"], a[href="/wiki/User:Mathetesalexandrou"], a[href="/wiki/User:TheSims23"], a[href="/wiki/User:Waikikamukow"] { color:#A60914 !important; font-weight:bold !important; } /*crats*/ a[href="/wiki/User:A_morris"], a[href="/wiki/User:Beds"], a[href="/wiki/User:Dharden"], a[href="/wiki/User:Lost_Labyrinth"], a[href="/wiki/User:LostInRiverview"], a[href="/wiki/User:Nikel23"], a[href="/wiki/User:Random_Ranaun"], a[href="/wiki/User:Woganhemlock"] { color:#337800 !important; font-weight:bold !important; }

{ width: 630px; height: 20px; margin: 0; color: #FFF; padding: 15px; font-size: x-large; background: #3380D8; filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr='#053871', endColorstr='#3380D8'); background: -webkit-gradient(linear, left top, right bottom, from(#053871), to(#3380D8)); background: -moz-linear-gradient(left, #053871, #3380D8); } div.headingblue { background: url("https://images.wikia.nocookie.net/sims/fr/images/4/40/Bandeau_bleu.jpg"); color: White; font-size: 100%; font-weight: bold; -webkit-border-radius: 5px; -moz-border-radius: 5px; -o-border-radius: 5px; border-radius: 5px; -webkit-box-shadow: 0px 1px 2px #666666; -moz-box-shadow: 0px 1px 2px #666666; -o-box-shadow: 0px 1px 2px #666666; box-shadow: 0px 1px 2px #666666; } div.headinggreen { background: url("https://images.wikia.nocookie.net/sims/fr/images/d/d2/Bandeau_vert.jpg"); margin-top: 5px; margin-left: 3px; margin-right: 3px; margin-bottom: 5px; color: White; font-size: 100%; font-weight: bold; -webkit-border-radius: 3px; -moz-border-radius: 3px; -o-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0px 0px 4px #666666; -moz-box-shadow: 0px 0px 4px #666666; -o-box-shadow: 0px 0px 4px #666666; box-shadow: 0px 0px 4px #666666; }
 * 1) banner

div.headingred { background: url("https://images.wikia.nocookie.net/sims/images/6/64/Heading_red.png"); color: White; font-size: 100%; font-weight: bold; -webkit-border-radius: 5px; -moz-border-radius: 5px; -o-border-radius: 5px; border-radius: 5px; -webkit-box-shadow: 0px 1px 2px #666666; -moz-box-shadow: 0px 1px 2px #666666; -o-box-shadow: 0px 1px 2px #666666; box-shadow: 0px 1px 2px #666666; }

/* Make tags bold to stand out on recentchanges */ .mw-tag-marker { font-style: italic; font-weight: bold; }

table.wiki-sidebar { border: 1px solid #666; background-color: #222222; color: inherit; clear: right; float: right; width: 300px; margin-top: 0em; margin-left: 1.5em; margin-right: 0em; margin-bottom: 1.3em; } table.wiki-sidebar tr th { background: #000000 url(https://images.wikia.nocookie.net/memoryalpha/eo/images/f/f7/MA_page_bar.png) repeat-x; text-align: center; font-weight: bold; font-size:larger; } table.wiki-sidebar td { line-height: 130%; border:0; font-size:smaller; } /*DEPRECATED: Use td.sb-left instead!*/ table.wiki-sidebar td.odd { width: 35%; font-weight: bold; text-align: right; } table.wiki-sidebar td.sb-both { text-align: center; padding-left: 0; padding-right: 0; } table.wiki-sidebar td.sb-both img { display:block; /*force new line after img in sidebar */ border: 0px outset #888888; margin: 0; padding-left: 0; padding-right: 0; } table.wiki-sidebar td.sb-left { width: 33%; font-weight: bold; text-align: left; vertical-align:top; } table.wiki-sidebar td.sb-right { }

/*Wiki header background (white plumbbob)*/ .WikiHeader { background: url(https://vignette.wikia.nocookie.net/lir-test/images/3/33/Navbackground.jpg); background-size: 100% auto; } /*New header green and blue bars*/ .greenbar { margin: 5px; padding: 5px; color: white; font-size: 110%; font-weight: bold; text-shadow: 1px 1px 2px #222; background: linear-gradient(to right, #4CAD40, #96CF24); box-shadow: 1px 1px 3px #777777; } .bluebar { margin: 5px; padding: 5px; color: white; font-size: 110%; font-weight: bold; text-shadow: 1px 1px 2px #222; background: linear-gradient(to right, #2E70B7, #25A8E0); box-shadow: 1px 1px 3px #777777; } /*Allows icon placement on headers*/ .baricon { position:relative; float:left; margin-top: -5px; margin-right: 5px; } /*Shadowed lines - WORK IN PROGRESS*/ .shadowline { margin: 1em 0; padding: 0.5px; border: 1px solid #E0E0E0; box-shadow: inset 0 0 3px #E0E0E0; border-radius: 1em; width: auto; } /*Wiki Navigation text modification - Bolds and adds text shadows */ .WikiHeader > nav ul { font-weight: bold; } .WikiHeader > nav li.marked { text-shadow: 1px 1px 1px #555; } .Wikiheader > nav .subnav-2 li.marked2 { text-shadow: none; } .WikiHeader a:hover { text-shadow: none; } .WikiHeader > nav .subnav-3 li.marked3 { text-shadow: none; } .WikiHeader > nav .subnav-3 li { text-shadow: none; } .WikiHeader > nav .subnav-2 li.marked2 .subnav-2a { text-shadow: none; }

/* New Button design for Mainpage */ .mpbutton { box-shadow: 1px 1px 3px #AAA; display: inline-block; width: 180px; height: 135px; margin: 3px 5px; overflow: hidden; text-decoration: none; color: white; } .mpbutton:hover { opacity: 0.8; text-decoration: none; color: white; } .mpbutton a{   text-decoration: none; color: white; }