MediaWiki:Common.css

/* CSS placed here will be applied to all skins */ /* 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 */ .fpbox { margin: 5px; padding: 5px; overflow: auto; width: calc(100% - 2px); }

.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#fp-spotlight { width:unset; }

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

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

.fpbox .heading a { color:white; }

.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; }

/* Multi-column box support */ .fp-container main .columns .leftcol, .fp-container .columns .rightcol { width: 100%; margin: 0; padding: 0; }

@media (min-width: 990px) { .fp-container .columns .leftcol { float: left; width: 50%; }

.fp-container .columns .rightcol { float: right; width: 50%; } }

.fp-section { display: flex; flex-wrap: wrap; }

/* This CSS governs the responsive 3 column main page layout */

display: grid; grid-template-areas: "a" "b" "c" "d"; grid-template-columns: 100%; } @media screen and (min-width:990px) { #fp-3column.fp-container { grid-template-areas: "a b" "c b" "c d"; grid-template-columns: 50% 50%; } } @media screen and (min-width:1350px) { #fp-3column.fp-container { grid-template-areas: "a b c" "d b c"; grid-template-columns: 33.3% 33.3% 33.3%; } }
 * 1) fp-3column.fp-container {

grid-area: a; }
 * 1) fp-1 {

grid-area: b; }
 * 1) fp-2 {

grid-area: c; }
 * 1) fp-3 {

grid-area: d; }
 * 1) fp-4 {

/* end responsive 3 column main page layout */

/******************************************************************* @media only screen and (min-width:1350px) and (max-width:1560px) { div#global-wrapper.with-siderail table.weapons-table { font-size:0.85em; } div#global-wrapper.with-siderail table.weapons-table th { font-size:0.8em; } } /***********************************
 * Prevents the table on Weapons from conflicting with siderail *
 * End Weapons table responsiveness *

/*************************************** .skin-hydra { --theme-sticky-nav-background-color:#000; --theme-sticky-nav-text-color:#000; --theme-page-text-mix-color-95:#e7e7e7; }
 * Template:Infobox weapon coloring *

.infobox.weapon { --weapon-background-color:var(--theme-page-text-mix-color-95); --weapon-highlight-color:var(--theme-sticky-nav-background-color); --weapon-header-color:var(--theme-sticky-nav-background-color); background:var(--weapon-background-color); border-color:var(--weapon-highlight-color); }

.infobox.weapon .infobox-header { background:var(--weapon-header-color); color:#000; border:none; }

.infobox.weapon[class$=weapon] .infobox-header { color:var(--theme-sticky-nav-text-color); }

.infobox.weapon .infobox-row-name { background:var(--weapon-highlight-color); }

.infobox.weapon.arrows { --weapon-background-color:#FBF2D5; --weapon-highlight-color:#917E43; --weapon-header-color:#F3D573; }

.infobox.weapon.energy-ammo { --weapon-background-color:#E2EE9C; --weapon-highlight-color:#636F1D; --weapon-header-color:#CEE255; }

.infobox.weapon.heavy-rounds { --weapon-background-color:#B5E5D3; --weapon-highlight-color:#366654; --weapon-header-color:#6BCEA8; }

.infobox.weapon.light-rounds { --weapon-background-color:#F9CCA4; --weapon-highlight-color:#815126; --weapon-header-color:#F49A4A; }

.infobox.weapon.shotgun-shells { --weapon-background-color:#FF957F; --weapon-highlight-color:#801600; --weapon-header-color:#FE2C00; }

.infobox.weapon.sniper-ammo { --weapon-background-color:#C1C3FF; --weapon-highlight-color:#3E36A5; --weapon-header-color:#7E82FF; }

.infobox.weapon[class*=supply-drop] { --weapon-background-color:#F9B2C8; --weapon-highlight-color:#8B001A; --weapon-header-color:#EE0047; width: min-content; }

.theme-fandomdesktop-dark .infobox.weapon.arrows { --weapon-background-color:#6B644E; --weapon-highlight-color:#82703D; --weapon-header-color:#DBBE69; }

.theme-fandomdesktop-dark .infobox.weapon.energy-ammo { --weapon-background-color:#5D6624; --weapon-highlight-color:#343A0F; --weapon-header-color:#98A53E; }

.theme-fandomdesktop-dark .infobox.weapon.heavy-rounds { --weapon-background-color:#5B7269; --weapon-highlight-color:#366654; --weapon-header-color:#5CB290; }

.theme-fandomdesktop-dark .infobox.weapon.light-rounds { --weapon-background-color:#6D513C; --weapon-highlight-color:#815126; --weapon-header-color:#F49A4A; }

.theme-fandomdesktop-dark .infobox.weapon.shotgun-shells { --weapon-background-color:#99594C; --weapon-highlight-color:#801600; --weapon-header-color:#B21D00; }

.theme-fandomdesktop-dark .infobox.weapon.sniper-ammo { --weapon-background-color:#595A7F; --weapon-highlight-color:#3E36A5; --weapon-header-color:#7E82FF; }

.theme-fandomdesktop-dark .infobox.weapon[class*=supply-drop] { --weapon-background-color:#4F3940; --weapon-highlight-color:#4C000F; --weapon-header-color:#4C0016; } /*******************************************
 * End Template:Infobox weapon coloring *