MediaWiki:Common.css

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

/* Mark redirects in Special:Allpages and Special:Watchlist */ .allpagesredirect { font-style: italic; } .allpagesredirect:after { color: #808080; content: " (redirect)" } .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 #A88; background: transparent; 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; 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.thumbinner { background: inherit; border: none; color: inherit; }  color:inherit; }
 * 1) article div.thumb {

/* === 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: transparent; color: black; } td.lang-description0 { background: transparent; color: black; }

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

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

/* Article Stubs are handled here */

{   text-align: center; background: transparent; margin: 0 1em; padding: 0 10px; border: 1px solid #aaa; }
 * 1) stub

/* Moscow, Chapter 2 introduction */

div.moscowchapter2 img {   display: block; }

/* The Job Tier Box CSS is below. */

{   border-collapse: collapse; border-color: #000000; border-width: 2px; border-style: inset; margin: 0 auto; /* Align in the center. */ }
 * 1) jobtierbox

{   padding: 5px; border-collapse: collapse; border-color: #000000; border-width: 2px; border-style: inset; }
 * 1) jobtierbox td, #jobtierbox th

{   background-color: #003399; } {   color: #FFFFFF; }
 * 1) jobtierbox tr:first-child td, #jobtierbox tr:first-child + tr td
 * 1) jobtierbox tr:first-child td a:link,
 * 2) jobtierbox tr:first-child td a:visited,
 * 3) jobtierbox tr:first-child + tr td a:link,
 * 4) jobtierbox tr:first-child + tr td a:visited

{   background-color: #a36a1d; } {   color: #000000; }
 * 1) jobtierbox tr:first-child + tr + tr td
 * 1) jobtierbox tr:first-child + tr + tr td a:link,
 * 2) jobtierbox tr:first-child + tr + tr td a:visited

{   background-color: #771516; } {   color: #D7C1A7; }
 * 1) jobtierbox tr:first-child + tr + tr + tr td
 * 1) jobtierbox tr:first-child + tr + tr + tr td a:link,
 * 2) jobtierbox tr:first-child + tr + tr + tr td a:visited

{   font-size: 150%; text-align: center; }
 * 1) jobtierbox th

/* Fight Tab Options (Uses horizontal style list) */

div#fighttab {   text-align: center; min-width: 200px; max-width: 300px; margin: 0 auto; border: 2px groove black; }

div#fighttab ul { list-style-image: none; list-style-type: none; margin: 0.3em 0; }

div#fighttab li { display: inline; padding-left: 10px; padding-right: 10px; }

/* Top Mafia Bonus information */

div#topmafiabonus {   width: 225px; text-align: center; font-size: 10px; font-weight: bold; padding: 2px 0px; }

div#topmafiabonus table {   border: 1px solid black; border-collapse: collapse; width: 200px; margin: 0 auto; text-align: left; }

div#topmafiabonus td, div#topmafiabonus th { border: 1px solid black; border-collapse: collapse; background: transparent; padding: 1px; }

div#topmafiabonus caption {   text-align: center; /* Not all browsers do this by default from what I've seen. */ }

div#topmafiabonus th { text-align: center; }

/* Crate Table Template */

div#cratetable {   font-size:90%; text-align:center; background: transparent; width: 503px; border-top: 1px solid black; border-left: 1px solid black; border-right: 1px solid black; border-bottom: none; border-collapse: collapse; }

div#cratetable table {   border: 1px solid black; border-collapse: collapse; }

div#cratetable caption {   font-weight: bold; padding: 4px; }

div#cratetable tr { background: transparent; line-height: 1; vertical-align: bottom; }

div#cratetable td { border: 1px solid black; border-collapse: collapse; width: 75px; max-width: 75px; min-width: 75px; padding: 4px; }

/* All of the crate rewards. */

table.craterewardtable {   border: 1px outset black; border-collapse: separate; border-spacing: 2px; color: #000000; }

table.craterewardtable th, table.craterewardtable td { border: 1px inset black; border-collapse: separate; border-spacing: 2px; }

table.craterewardtable th:first-child + th + th { background: transparent; }

table.craterewardtable th:first-child + th + th + th { background: transparent; }

table.craterewardtable tr td:first-child + td + td, table.craterewardtable tr td:first-child + td + td + td { text-align: center; }

table.craterewardtable tr td:first-child {   background-color: #000000; color: #ffffff; /* Shouldn't have to be used, but don't have black on black on image failure. */ }

/* List of all businesses (Uses horizontal style list) */

div#allbusinesses {   text-align: center; margin: 0 auto; }

div#allbusinesses span {   font-size: 120%; font-weight: bold; line-height: 1.1; }

div#allbusinesses ul { list-style-image: none; list-style-type: none; margin: 1em 0 0.3em; }

div#allbusinesses li { display: inline; padding-left: 4px; padding-right: 4px; }

/* Inventory Tab Options (Uses horizontal style list) */

div.inventorytab {   text-align: center; margin: 0 auto; }

div.inventorytab ul { background: transparent; list-style-image: none; list-style-type: none; margin: 0 auto; min-width: 450px; max-width: 462px; border: 1px solid black; border-collapse: collapse; font-size: 80%; }

div.inventorytab li { display: inline-block; border: 1px solid black; border-collapse: collapse; width: 75px; padding: 0; margin: 0; }

/* List of all locations (Uses horizontal style list) */

div#alllocations {   text-align: center; margin: 0 auto; }

div#alllocations span {   font-size: 120%; font-weight: bold; line-height: 1.1; }

div#alllocations ul { list-style-image: none; margin: 1em 0 0.3em; }

div#alllocations li { display: inline; padding-left: 4px; padding-right: 4px; } /* Someone else can fix this later. div#alllocations li:before {   content: "|"; }

div#alllocations li:first-child:before {   content: ""; }

/* Experience Tables */

table.experience {   border: none; border-collapse: collapse; width: 576pt; } table.experience td, table.experience th { border: none; border-collapse: collapse; } table.experience td { text-align: right; } table.experience th { width: 48pt; } table.experience tr { height: 15pt; }

/* Collection Tables */

table.collectiontable {   border: none; font-size: 80%; text-align: center; }

table.collectiontable td, table.collectiontable th { border: none; vertical-align: bottom; /* Line up everything */ }

table.collectiontable th { font-weight: normal; }

table.collectiontable tr:first-child td img {   display: block; /* Force a new line. */ }

table.collectiontable tr:first-child + tr td { width: 75px; }

/* The required items, and their costs. Mainly in use for Moscow right now. */

table.requireditems {   border: 1px outset black; text-align: center; } table.requireditems td, table.requireditems th { border: 1px inset black; } table.requireditems tr td:first-child {   min-width: 130px; width: 130px; } table.requireditems tr td:first-child + td { min-width: 100px; width: 100px; } table.requireditems tr td:first-child + td + td { min-width: 75px; width: 75px; background-color: #000000; } table.requireditems tr td:first-child + td + td + td { min-width: 90px; width: 90px; } table.requireditems tr td:first-child + td + td + td + td { min-width: 90px; width: 90px; } table.requireditems tr td:first-child + td + td + td + td + td { min-width: 90px; width: 90px; } table.requireditems tr td:first-child + td + td + td + td + td + td { min-width: 90px; width: 90px; } table.requireditems tr td:first-child + td + td + td + td + td + td + td { min-width: 90px; width: 90px; } table.requireditems tr td:first-child + td + td + td + td + td + td + td + td { min-width: 90px; width: 90px; } table.requireditems tr td:first-child + td + td + td + td + td + td + td + td + td { min-width: 120px; width: 120px; }

/* Items Needed Tables */

table.itemsneededtable {   border: 1px solid black; font-size: 90%; text-align: center; border-collapse: collapse; } table.itemsneededtable th, table.itemsneededtable td { border: 1px solid black; padding: 4px; } table.itemsneededtable tr:first-child {   background: transparent; } table.itemsneededtable tr:first-child + tr th { /*   width: 10px; max-width: 10px; vertical-align: bottom; background-color: #dddddd; writing-mode: tb-rl; /*   -moz-transform: rotate(90deg); -webkit-transform: rotate(90deg); transform: rotate(90deg); }

div.topicon { position: absolute; z-index: 10; top: 10px; display: block !important; } /* suggessted by ballistic Pve */ .cuba { background: #000000 url(http://mafiawars.wikia.com/images/c/c7/Cuba_bg_facebook_760x418_01.jpg) no-repeat; width: 760px; color: white; } .newyork { background: #000000 url(http://mafiawars.wikia.com/images/d/d4/New_York_bg_facebook_760x418.gif) no-repeat; width: 760px; color: white; } .redbutton { background:url(http://mafiawars.wikia.com/images/0/0f/Red_bg.gif) repeat; color:white; } .blackbutton { background:url(http://mafiawars.wikia.com/images/3/3c/Button_static.gif) repeat; color:white; } .moscow { background: #000000 url(http://mafiawars.wikia.com/images/4/47/Moscow_body_bg_760x418_01.jpg) no-repeat; color:white; width:760px; } .cuba_brownbutton { background:url(http://mafiawars.wikia.com/images/8/88/Button_cuba_brown_bg_100x144_01.gif) repeat; color:white; } .cuba_moscow_darkbutton { background:url(http://mafiawars.wikia.com/images/3/38/Button_cuba_dark_bg_100x144_01.gif) repeat; color:white; } .moscow_redbutton { background:url(http://mafiawars.wikia.com/images/3/35/Moscow_texture_red_100x140_01.gif) repeat; color:white; }

.opacity50 { background: url('http://images1.wikia.nocookie.net/mafiawars/images/5/5e/50opacity.png') repeat; }

.button { background:url(http://mafiawars.wikia.com/images/3/3c/Button_static.gif) repeat; color:white; border:3px solid yellow; } .bangkok_button {    background:url(http://mafiawars.wikia.com/images/6/62/Bangkok_button_texture_100x144_01.gif) repeat !important;     color:white; }

/* dark table style */ table.darktable { border: 1px solid #aaa; padding: 5px; background: #F9F9F9; font-size: 89%; margin: 0.5em 0em 1em 0.5em; } table.darktable th { background-color: #ccf; padding: 0 0.5em; } table.darktable caption { font-size: 120%; font-weight: bold; } table.darktable tr:not(:first-child) th { background-color: #ddf; } table.extrapadding td { padding-left: 4px; padding-right: 4px; }

table.td-right td { text-align: right; }