MediaWiki:Hydradark.css

/* Variables */
 * root {

--accent: #E9CE16; --secondary: #FFFFFF; --background: #09090A; }

/* Imports Neuton font */ @font-face { font-family: 'Neuton'; font-style: normal; font-weight: 400; font-display: swap; src: local('Neuton Regular'), local('Neuton-Regular'), url(https://fonts.gstatic.com/s/neuton/v12/UMBTrPtMoH62xUZCwYg6Qis.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: 'Neuton'; font-style: normal; font-weight: 400; font-display: swap; src: local('Neuton Regular'), local('Neuton-Regular'), url(https://fonts.gstatic.com/s/neuton/v12/UMBTrPtMoH62xUZCz4g6.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* CSS placed here will affect users of the Hydradark skin */ /* For elements which only display in the mobile view */ .mobileonly { display: none; } /* Hide main page header */ body.page-Days_of_War_Official_Wiki h1.firstHeading { display:none; }

/* BODY STYLING */ /* Background */

body { background: url(https://static.wikia.nocookie.net/daysofwar_gamepedia_en/images/f/f9/Dow_bg2.png/revision/latest) center top fixed #000; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }

div#mw-page-base { background: transparent; !important background-image: none; height: 8em; }

/* Content area */ div#pageWrapper { min-height: 25em; margin-top: 2.8em; background: rgba(0, 0, 0, 0.7); }

background: transparent !important; height: 10em; }
 * 1) mw-head-base {

div#content { background: transparent; border: 0px solid white; }

div#footer { padding:0px; }

div.thumbinner { background-color: transparent; border-color: #e9ce16; }

/* TOP NAV STYLING */ min-height: 40px; } div.vectorTabs { background-color: transparent; }
 * 1) left-navigation,
 * 2) right-navigation {

display: block; text-decoration: none; text-transform: uppercase; margin-top: 12em; margin-left: 14em; border-radius: 1px; min-height: 2.7em; }
 * 1) left-navigation {

float: right; display: block; text-decoration: none; text-transform: uppercase; color: #e9ce16; margin-top: 12em; border-radius: 1px; min-height: 2.7em; margin-right: 2em; }
 * 1) right-navigation {

div.vectorMenu div.menu { background-color: var(--background); border-color: #e9ce16; }

div.vectorTabs span { background-image: none; }

div.vectorTabs ul { background-image: none; }

div.vectorTabs ul li { background: transparent; }

div.vectorTabs ul li.selected { background: transparent; border-bottom: 4px solid var(--accent); }

div.vectorTabs ul li span, div.vectorTabs ul li.selected span { font-weight: bold; }

div.vectorTabs li span a { background-image: none; color: #ffffff; }

div.vectorTabs span a:visited { color: #ffffff; }

div.vectorTabs li span a:hover, div.vectorTabs span a:visited:hover { color: #ffffff; }

div.vectorTabs li.selected { }

div.vectorTabs li.selected span a { color: #ffffff !important; }

div.vectorTabs li.new span a:visited { color: #ffffff; }

div.vectorTabs li.new span a:hover, div.vectorTabs li.new span a:visited:hover { color: #ffffff; }

div.vectorMenu h5 a { background-image: none; }

div.vectorMenu h3 a { background-image: none; }

div.vectorMenu:hover, div.menu, div.vectorMenu div.menuForceShow { display: block; }

div#p-cactions div.menu ul { border: 1px solid #ffffff; }

div#p-cactions div.menu ul li a { background: #000000; border-radius: 10px; color: #ffffff; }

div#p-cactions div.menu ul li a:visited { color: #ffffff; }

div#p-cactions div.menu ul li a:hover, div#p-cactions div.menu ul li a:visited:hover { display: block; }

div#mw-head div.vectorMenu h4 { color: #ffffff; font-weight: bold; padding-top: 1.29em; }

/* Collapsible menus in top nav */

div#p-cactions div.menu ul { background: transparent; border: 1px #e9ce16; }

div.vectorMenu ul { background: transparent; border: 1px #e9ce16; }

div#p-cactions div.menu ul li a { background: transparent; border-radius: 10px; color: #ffffff; }

div.vectorTabs, div.vectorTabs span, div.vectorTabs li a, div.vectorMenu h3 a { background-image: none; }

div.vectorMenu { }

/* SIDEBAR */ /* Logo styling */ left: 50vw; margin-left: -18em; margin-top: -1em; background-size: contain; }
 * 1) p-logo {

display: block; width: 29em; background-size: contain; margin-top: 2em; }
 * 1) p-logo a {

div#mw-panel { width: 10em; z-index: 1000; padding: 1em 0 0 0; margin-left:0.5em; margin-top: 9em; margin-left: 1em; margin-top: 1em;

}

div#mw-panel div.portal div.body ul li a:visited, div#mw-panel div.portal div.body ul li a:link, div#mw-head a, .vectorTabs li a span, div#mw-head div.vectorTabs a, div#mw-head div.vectorMenu a { color: #e9ce16; }

div#mw-head>a:hover, div#mw-head>div.vectorTabs>a:hover { text-decoration: none; }

.vectorTabs>ul>li>span>a:hover { text-decoration: none; }

.skin-hydradark #mw-panel.collapsible-nav .portal h3 a, .skin-hydradark #mw-panel.collapsible-nav .portal.collapsed h3 a { color: #e9ce16; font-variant: small-caps; font-size: 125%; }

.skin-hydradark #mw-panel.collapsible-nav .portal h3 a, .skin-hydradark #mw-panel.collapsible-nav .portal h3 { color: #e9ce16; font-variant: small-caps; }

div#mw-panel div.portal div.body, .skin-hydradark #mw-panel.collapsible-nav div.portal, .skin-hydradark div#mw-panel.collapsible-nav div#p-socialProfiles.portal, .skin-hydradark #mw-panel.collapsible-nav #p-sitePromos.portal { background-image: none; }

div#mw-head div.vectorMenu h3 { background-image: none; }

div.vectorMenu h3 span { padding-top: 1.23em; color: #e9ce16; cursor: pointer; text-transform: uppercase; font-weight: bold; }

/* GENERAL STYLES */

/* Fieldset */ fieldset { border-color: #e9ce16; }

.skin-hydradark fieldset#mw-searchoptions { background-color: transparent; }

/* Tags special page etc. */

.skin-hydradark table.wikitable > * > tr > th { background-color: rgba(255,255,255,0.1); }

/* Miscellaneous messages */

color: #e9ce16; }
 * 1) collapse_expand_all > span {

/* Search page */

.mw-ui-button.mw-ui-progressive, .mw-ui-button.mw-ui-primary { background: #e9ce16; color: #fff; border: 1px solid #e9ce16; border-left: none; border-right: none; }

.skin-hydradark .mw-search-profile-tabs { background-color: transparent; margin-top: 1em; border: 1px solid rgba(65,61,52,1); }

.skin-hydradark .mw-search-profile-tabs div.search-types ul li.current a { color: white; cursor: default; }

.skin-hydradark fieldset#mw-searchoptions { background-color: transparent; border: 1px solid rgba(65,61,52,1) !important; }

/* Category bar styling */ border-color: #e9ce16; background-color: transparent; }
 * 1) catlinks, #toc, .toc, .mw-warning {

/* Bulletpoint list styling */

ul { list-style-type: disc; list-style-image: url(x) ; list-style-image: url(x) !ie; }

/* Presentation and code styling */

div#simpleSearch, pre, .mw-code { background-color: rgba(0, 0, 0, 0.2); }

/* LINK STYLING MK II */ /* General link styles */ a:not(.new):not(.cc_btn):not(.visited) {   color: #e9ce16 !important; }

a:visited, a.external:visited { color: #e99223 !important; }

div#content a.new, #quickbar a.new { color: #A63232 !important; }

a.new:visited, #p-personal a.new:visited { color: #a55858 !important; }

div#netbar a, footer#footer a { color: #aeaeae !important; }

/* Sidebar */ div#mw-panel div.portal div.body ul li a, .skin-hydradark #mw-panel.collapsible-nav .portal h3 a { color: #e9ce16 !important; }

div#mw-panel div.portal h3 { color: #fff; }

/* Top section */ .vectorTabs li a span, div#mw-head a, div.vectorMenu h3 span { color: #e9ce16 !important; font-weight: bold; }

div.vectorTabs li.new a, div.vectorTabs li.new a:visited { color: #ba0000 !important; text-decoration: none; }

/* PREFERENCES PAGE */

.skin-hydradark #preferences { background-color: transparent; background-image: none; border-color: transparent; }

preftoc a, .skin-hydradark #preftoc a:active { color: #e9ce16; }

.skin-hydradark #preferences legend { color: #e9ce16; }

.skin-hydradark #preftoc li.selected a { background-image: none; background: #282828; }

.skin-hydradark #preftoc li, .skin-hydradark #preftoc { background-image: none; }

/* EDITOR STYLING */

/* MW 1.29 Hydra Dark Visual Editor Fix */ .oo-ui-toolbar-position-top > .oo-ui-toolbar-bar { border-bottom: 0px solid #222; border-top: 0px solid #222; background: #ddd !important; box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); }

.oo-ui-popupWidget .oo-ui-popupWidget-popup { color: #212121; }

.oo-ui-barToolGroup.oo-ui-widget-enabled .oo-ui-widget-enabled, .oo-ui-popupToolGroup.oo-ui-widget-enabled, .oo-ui-popupWidget-popup { background: #ddd !important; }

.oo-ui-popupToolGroup-handle .oo-ui-indicatorElement-indicator { filter: invert(0%); }

.ve-ui-mwSaveDialog-license { color: white; }

.skin-hydradark .oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame { background-color: #212121; }

.ve-ui-mwSaveDialog-options, .oo-ui-textInputWidget.oo-ui-widget-enabled input, .oo-ui-textInputWidget.oo-ui-widget-enabled textarea { background-color: white; color: black; }

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-constructive > .oo-ui-buttonElement-button { color: #fff; background-color: #212121; border-color: #545454; }

/* Source Editor */ div.wikiEditor-preview-contents, div.wikiEditor-preview-loading, div.editOptions { background-color: transparent; }

div.wikiEditor-ui, div.wikiEditor-ui-toolbar, div.wikiEditor-ui-controls, div.wikiEditor-ui-buttons { background: transparent; border: transparent 1px;

}

div.wikiEditor-ui-tabs { background-color: transparent; }

div.wikiEditor-ui-tabs div.current { background-color: transparent !important; border-bottom: 1px solid #211C0F; }

div.wikiEditor-toolbar-dialog { background-color: black; border: solid 1px #e9ce16; }

.ui-widget-content { background: transparent; }

/* THIS SPACE FOR RENT */

/* DEFAULT LOADOUT STYLING */ /* for "edit this page" tab and "discussion" tab etc */ .pagetab { border-style: solid solid none; border-width: thin; border-color: #808080; padding:0.25ex 1ex 0ex; font-size: 95%; }

.ambox { background-color: #282828; border-bottom-color: #383838; border-right-color: #383838; border-top-color: #383838; border-collapse: collapse; font-size: 95%; margin: 0 auto 2px auto; width: 80%; }

.ambox-gray { border-left-color: #383838; }

.ambox.ambox-tiny { font-size: 90%; margin: 2px 0; width: auto; }

.ambox + .ambox { margin-top: -2px; }

.ambox-text { padding: 0.25em 0.5em; }

.ambox-image { padding: 2px 0px 2px 0.5em; text-align: center; width: 60px; }

.ambox-tiny .ambox-image { padding: 2px 0.5em; text-align: left; width: auto; }

/* Ambox colors */ .ambox-blue { border-left: 10px solid #1e90ff; }

.ambox-red { border-left: 10px solid #b22222; }

.ambox-orange { border-left: 10px solid #f28500; }

.ambox-yellow { border-left: 10px solid #f4c430; }

.ambox-purple { border-left: 10px solid #9932cc; }

.ambox-gray { border-left: 10px solid #bba; }

.ambox-green { border-left: 10px solid #228b22; }

/* Ambox small text */ .amsmalltext { font-size: smaller; margin-left:0.8em; margin-top:0.5em; }

/* INFOBOXES: game or book depended color style */ .infoboxtable { background-color: rgba(0, 0, 0, 0); border: 1px solid #505050; color: #ffffff; float: right; font-size: 89%; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; width: 300px; }

.infoboxtable td { vertical-align: top; }

.infoboxtable td > div { background-color: #181818; border: 2px solid inherit; border-radius: 5px; font-weight: bold; padding: 0.5px 7px; text-align: right; }

.infoboxname { background-color: #181818; font-size: 110%; font-weight: bold; padding: 0.5em; }

.infoboxdetails { padding: 0em; }

/* copyright images tweak */ .skin-hydradark .copyright-icon { background-image: url("https://static.wikia.nocookie.net/commons_hydra/images/thumb/5/58/Copyright_darkwiki.png/32px-Copyright_darkwiki.png"); background-size: 100%; height: 32px; width: 32px; }

/* 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; }

.mw-wiki-logo { background-image: url(https://static.wikia.nocookie.net/daysofwar_gamepedia_en/images/5/5d/DowLogo.png/revision/latest); }

visibility: hidden; height: 0; }
 * 1) p-claimWiki {

.vectorTabs li, div.vectorMenu { font-family: 'Neuton'; font-weight: normal; font-size: 17pt; }

div.vectorTabs>ul>li:hover { background-color: rgba(255, 255, 255, 0.1); }

.menu>ul>li>a:hover { text-decoration: none; background-color: rgba(255, 255, 255, 0.1) !important; border-radius: 0 !important; }

.vectorTabs { height: 3.5em; }

margin: 0 0 3.5em; }
 * 1) mw-panel.collapsible-nav .portal#p-claimWiki {

.vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a { padding-top: 3.4em; } /* .vectorTabs span a { padding-top: 0; }

.vectorTabs span, .vectorTabs li { height: inherit; }

margin: 1.5em 0 0; }
 * 1) p-search form {

.dow-heading { font-family: 'Neuton'; font-weight: bold; font-size: 18pt; letter-spacing: 0.1em; padding-bottom: 0; }

/* ***************************************************** */ /* This section affects the main page layout            */ /*                                                      */ /* Both 3 and 2 column layouts are here. */ /* ***************************************************** */

/* This CSS governs the responsive 3 column main page layout */ min-height:calc(325px + 2.3em); }
 * 1) fptweets {

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 */

/* this CSS governs the responsive 2 column main page layout */ display: grid; grid-template-areas: "a" "b" "c"; grid-template-columns: 100%; } @media screen and (min-width:990px) { #fp-2column.fp-container { grid-template-areas: "a b" "c c"; grid-template-columns: 50% 50%; } } @media screen and (min-width:1350px) { #fp-2column.fp-container { grid-template-areas: "a b" "c b"; grid-template-columns: auto 520px; } }
 * 1) fp-2column.fp-container {

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

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

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

/* end responsive 2 column main page layout */

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

/* 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; }

/* ******************** */ /* End main page layout */ /* ******************** */

/* Front page appearance styles */ .fpbox .heading, .fpbox .mainheading { border: 0; border-bottom: 0px solid #505050; }

.fpbox { border: 1px solid #E9CE16; border-radius: 8px; vertical-align: top; padding: 1em; }

.fplink:not(.fplink-plain) { background: rgba(0,0,0,0.3); border: 1px solid #505050; }

.fplink-fullwidth .fplink:not(.fplink-plain) { background: rgba(0,0,0,0.4); }

.linkslabel { border-bottom: 2px solid #505050; }