MediaWiki:Common.css

/* CSS placed here will be applied to all skins */ /* Style for horizontal lists (separator following item). */ .hlist dl, .hlist ol, .hlist ul { margin: 0; padding: 0; }

/** spoiler tag **/ .spoiler, .spoiler *, .spoiler a, .spoiler > a { color: #8d82d6 !important; background-color: #8d82d6; } .spoiler:hover, .spoiler:hover * { color: #e0e0e0 !important; background: transparent; } .spoiler:hover a, .spoiler:hover > a { color: #ffd77f !important; } /* /spoiler tag */

.expand-child.mw-collapsible .wikitable { margin: 0 auto 5px auto !important; }

/* Lowering header height */ div#p-logo { top: -95px !important; z-index: 1 !important; } div#p-logo a { z-index: 1 !important; } div#mw-head { z-index: 2 !important; pointer-events: none; } div#left-navigation, div#right-navigation { margin-top: 100px !important; z-index: 99 !important; pointer-events: all; } div#mw-panel { top: 86px !important; } div#content { margin-top: 55px !important; } .mw-echo-ui-overlay { z-index: 100 }

/* /Lowering header height */

/* Display list items inline */ .hlist dd, .hlist dt, .hlist li { margin: 0; display: inline; }

/* Fixing Cargo tables */ table.cargoTable.noMerge tr:nth-child(even) { background: transparent !important; } div.drilldown-filters-wrapper { background-color: #191919 !important; color: #b6b6b6 !important; } .warningbox { color: #b09000 !important; border-color: #1a1a1a !important; background-color: #0a0a0a !important; } .cargoReplacementTableInfo { border-color: #1a1a1a !important; background-color: #0a0a0a !important; } /* /Fixing Cargo tables */

/* Used in Template:Enemy */ .infoboxtable td > div.comma-delimeter { padding: 0; } .comma-delimeter a:not(:first-of-type) { margin-left: 5px; }

/* Display nested lists inline */ .hlist dl dl, .hlist dl ol, .hlist dl ul, .hlist ol dl, .hlist ol ol, .hlist ol ul, .hlist ul dl, .hlist ul ol, .hlist ul ul { display: inline; }

/* Generate interpuncts */ .hlist dt:after { content: ": "; }

.hlist dd:after, .hlist li:after { content: " · "; font-weight: bold; }

.hlist.hlist-clean li:after { content: ""; }

.hlist dd:last-child:after, .hlist dt:last-child:after, .hlist li:last-child:after { content: none; }

/* For IE8 */ .hlist dd.hlist-last-child:after, .hlist dt.hlist-last-child:after, .hlist li.hlist-last-child:after { content: none; }

/* Add parentheses around nested lists */ .hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before, .hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before, .hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before { content: " (";  font-weight: normal; }

.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after, .hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after, .hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after { content: ") ";  font-weight: normal; }

/* For IE8 */ .hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after, .hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after, .hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after { content: ") ";  font-weight: normal; }

/* Put ordinals in front of ordered list items */ .hlist ol { counter-reset: listitem; }

.hlist ol > li { counter-increment: listitem; }

.hlist ol > li:before { content: " " counter(listitem) " "; }

.hlist dd ol > li:first-child:before, .hlist dt ol > li:first-child:before, .hlist li ol > li:first-child:before { content: " (" counter(listitem) " "; }

/* This governs the sections on the Community portal */ .cpbox { display: flex; flex-direction: row-reverse; flex-wrap: wrap; }

.cpbox #admins { box-sizing: border-box; width: calc(33% - 10px); margin: 5px; flex-grow: 1; min-width: 300px; }

.cpbox #help { box-sizing: border-box; width: calc(67% - 10px); margin: 5px; flex-grow: 1; }

/* Template documentation styles */ /* If modifying these styles, be sure to update the mobile skin! */ .doc { margin: 0em auto 1em; background-color: rgba(0, 0, 0, 0.1); border: 2px solid #BDCAC3; border-radius: 1em; padding: 1em; }

.doc-header { padding-bottom: 3px; border-bottom: 1px solid #BDCAC3; margin-bottom: 1ex; }

.doc-footer { margin: 0; background-color: rgba(0, 0, 0, 0.1); border: 2px solid #BDCAC3; border-radius: 1em; padding: 1em; }

/* Classes permitting setting of alignment on desktop only or differently on desktop and mobile */ /* (See .mobileleft, .mobilecenter, .mobileright in MediaWiki:Mobile.css for the mobile equivalents */ .desktopleft {   text-align: left; }

.desktopcenter { text-align: center; }

.desktopright { text-align: right; }

/* Front page structure */ .fpmain { width: 100%; overflow: hidden; }

.fpbox { margin: 5px; padding: 5px; overflow: auto; }

.fpbox.plain { background: transparent; border: none; box-shadow: none; }

.fpbox .heading, .fpbox .mainheading, .fpbox .welcome { margin: 0 0 10px; padding: 0 0 5px; overflow: auto; }

.fpbox .mainheading, .fpbox .welcome { font-size: 150%; font-weight: bold; }

.fpbox .heading { text-align: center; font-size: 132%; }

.linkslabel { margin: 15px 5px 5px; padding: 0 0 5px; }

/* Template:FP links styles */ .fplinks { display: flex; flex-wrap: wrap; justify-content: space-evenly; align-items: stretch; text-align: center; }

.fplink-outer { padding: 5px; flex-basis: calc(25% - 10px); width: calc(25% - 15px); min-width: 115px; display: inline-block; vertical-align: middle; }

.fplink-wide { flex-basis: calc(33% - 10px); width: calc(33% - 15px); }

.fplink-fullwidth { flex-basis: 100%; width: calc(100% - 15px); font-weight: bold; }

.fplink { padding: 0.5em; box-sizing: border-box; width: 100%; height: 100%; display: table; }

.fplink-plain { background: transparent; border-radius: 0; border: 0; box-shadow: none; }

.fplink-inner { display: table-row; }

.fplink a { display: table-cell; vertical-align: middle; }

.fplink img { max-width: 150px; width: 100%; height: auto; } /* Auto-resize front page video to fit smaller columns */ .fpbox .embedvideowrap { width: 100%!important; max-width: 480px; margin: 0 auto; }

.fpbox .embedvideowrap iframe { width: 100%!important; }

ul { list-style-image: url("https://static.wikia.nocookie.net/outward_gamepedia/images/9/9a/BulletPoint.png/revision/latest") }

.newspostTitle { font-size: 14pt; }

/* Serif Titles */ .heading, .mainheading, .firstHeading, .mw-headline, .newspostTitle { font-family: 'PT Serif','Palatino','Georgia',serif !important }

.mw-headline { color: #d1c89f; }

/* Item Rarity Colors */ .rarity-always { background:#093c5a; color:#fff }

.rarity-common { background:#295307; color:#fff }

.rarity-uncommon { background:#817f02; color:#fff }

.rarity-rare { background:#833908; color:#fff }

.rarity-veryrare { background:#55120e; color:#fff }

/* Weapon Class Tables  */ .wHeader { background-color:#151515; color: #FFF; text-align: center; font-weight: Bold; }