MediaWiki:Hydradark.css

/* CSS placed here will affect users of the Hydradark skin */ /* For elements which only display in the mobile view */ .mobileonly { display: none; }

@font-face { font-family: 'Economica'; font-style: normal; font-weight: 700; font-display: swap; src: local('Economica Bold'), local('Economica-Bold'), url(https://fonts.gstatic.com/s/economica/v6/Qw3aZQZaHCLgIWa29ZBTjecUA3x4RHw.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: 'Economica'; font-style: normal; font-weight: 700; font-display: swap; src: local('Economica Bold'), local('Economica-Bold'), url(https://fonts.gstatic.com/s/economica/v6/Qw3aZQZaHCLgIWa29ZBTjecUDXx4.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; } /* When title sub line is empty, remove gap */ margin: 0; }
 * 1) contentSub:empty {

margin-bottom: 7px; }
 * 1) contentSub {

/* Framework */ body { background: #222444 url("https://static.wikia.nocookie.net/oxygennotincluded_gamepedia_en/images/1/1f/Background.jpg/revision/latest") fixed no-repeat center center / cover; }

body #pageWrapper { margin-right: 10px; }

/* Head */ div#mw-page-base { background: transparent; }

/* Logo */ margin-top: 20px; }
 * 1) p-logo a {

/* Tabs */ div.vectorTabs, div.vectorTabs span, div.vectorTabs ul, div.vectorTabs ul li, div.vectorTabs ul li.selected, div#mw-head div.vectorMenu h3 { background: transparent; border: none; }

div.vectorTabs li span a, div.vectorTabs span a:visited, div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorMenu h3 span { background: transparent; color: #FFFFFF !important; font-weight: bold; }

div.vectorTabs .new a { color: #BA0000 !important; }

div.vectorMenu div.menu { border: none; }

div.vectorMenu ul { background: rgba(40,45,55, 0.75); border: 1px solid #000000; }

div#mw-head div.vectorMenu a { color: #A74A79; }

/* Sidebar */ color: #fff !important; }
 * 1) mw-panel .portal .body ul li a {

text-decoration: none !important; color: #A74A79 !important; font-weight: bold; text-transform: uppercase; }
 * 1) mw-panel .portal h3 a,
 * 2) mw-panel .portal h3 {

margin-left: 0.5em; }
 * 1) mw-panel:not(.collapsible-nav) .portal h3 {

margin-left: 0.75em; }
 * 1) mw-panel:not(.collapsible-nav) .portal .body {

.skin-hydradark div#mw-panel div.portal div.body, background-image: none; }
 * 1) mw-panel.collapsible-nav .portal {

div#mw-panel div.portal:not(#p-claimWiki):not(#p-socialProfiles):not(#p-sitePromos) { background: rgba(22,24,44, 0.9); border: 1px solid #3C4258; margin: 5px; padding-top: 5px; }

/* Content */ div#content { background: rgba(22,24,44, 0.925); border: 1px solid #3C4258; color: #FFFFFF; }

h1, h2 { color: #FFFFFF; border-bottom: 1px solid #FFFFFF; }

h3, h4, h5, h6 { color: #FFFFFF; }

div#toc, div.toc, .mw-warning, ul#filetoc { background: rgba(40,45,55, 0.75); border: 1px solid #3C4258; }
 * 1) catlinks,

.CategoryTreeToggle { color: #A74A79; }

code { background: rgba(40,45,55, 0.9); color: #BFC2BD; }

div#content pre, .mw-code { background: rgba(40,45,55, 0.75) !important; border: 1px dashed #3C4258 !important; color: #FFFFFF !important; overflow: auto; }

fieldset { border: 1px solid #3C4258; }

/* Footer */ div#footer { background: rgba(22,24,44, 0.85); border: 1px solid #3C4258; margin-top: 10px; overflow-y: hidden; }

div#footer ul li { color: #FFFFFF; }

/* Thumbnails and galleries and image file history */ div.thumb { background: transparent !important; border: 1px solid #3C4258 !important; border-radius: 4px; }

img.thumbborder { border: 1px solid #3C4258; padding: 5px; }

div.thumbinner { background: transparent; border: none; }

li.gallerybox div.thumb { background: transparent; border: 1px solid #3C4258; border-radius: 4px; }

html .thumbimage { border: 1px solid #3C4258; border-radius: 4px; }

div.tright div.tleft { border: 1px solid #3C4258 !important; }

div.tright { clear: right; float: right; }

/* Preferences */ .skin-hydradark #preferences { background: rgba(40,45,55, 0.75); border: 1px solid #000000; }

.skin-hydradark #preftoc li:first-child { margin-left: 5px; }

.skin-hydradark #preftoc, .skin-hydradark #preftoc li, .skin-hydradark #preftoc li a { background: transparent !important; }

.skin-hydradark #preftoc li a { color: #A74A79; }

.skin-hydradark #preftoc li.selected { background: rgba(167,74,121, 0.85) !important; border: 1px solid #000000; }

.skin-hydradark #preftoc li.selected a { color: #FFFFFF; }

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

.skin-hydradark #preferences fieldset { border-color: #3C4258 !important; }

/* Page history */ table.diff, td.diff-otitle, td.diff-ntitle { background: transparent !important; }

/* Color fix for advanced search options box */ .skin-hydradark .mw-search-profile-tabs { border: 1px solid #000000; }

.skin-hydradark .mw-search-profile-tabs div.search-types ul li a { color: #3C4258; }

.skin-hydradark .mw-search-profile-tabs div.search-types ul li.current a { color: #E6E6E6; font-weight: bold; }

.skin-hydradark fieldset#mw-searchoptions { background: rgba(40,45,55, 0.75); border-color: #000000 !important; }

.skin-hydradark fieldset#mw-searchoptions div.divider { border-color: #3C4258; }

/* Tables */ .skin-hydradark table.wikitable, .skin-hydradark table.cargoTable, .skin-hydradark table.mw-datatable, .skin-hydradark table.mw_metadata, .skin-hydradark table.wikitable > tr > th, .skin-hydradark table.wikitable > tr > td, .skin-hydradark table.wikitable > * > tr > th, .skin-hydradark table.wikitable > * > tr > td, .skin-hydradark table.cargoTable > tr > th, .skin-hydradark table.cargoTable > * > tr > th, .skin-hydradark table.mw-datatable th, .skin-hydradark table.mw_metadata th, .skin-hydradark table.wikitable td, .skin-hydradark table.mw-datatable td, .skin-hydradark table.mw_metadata td { border: 1px solid #3C4258; }

.skin-hydradark table.wikitable > tr > th, .skin-hydradark table.wikitable > * > tr > th, .skin-hydradark table.cargoTable > tr > th, .skin-hydradark table.cargoTable > * > tr > th, .skin-hydradark table.mw-datatable th, .skin-hydradark table.mw_metadata th { color: #E6E6E6; background-color: rgba(167,74,121, 0.85); }

.skin-hydradark table.wikitable, .skin-hydradark table.cargoTable, .skin-hydradark table.mw-datatable, .skin-hydradark table.mw_metadata, .skin-hydradark table.wikitable > tr > td, .skin-hydradark table.wikitable > * > tr > td, .skin-hydradark table.wikitable td, .skin-hydradark table.cargoTable > tr > td, .skin-hydradark table.cargoTable > * > tr > td, .skin-hydradark table.cargoTable td, .skin-hydradark table.mw-datatable td, .skin-hydradark table.mw_metadata td { background-color: rgba(40,45,55, 0.75); }

.skin-hydradark .mw-datatable tbody:hover tr td { background-color: #323746 !important; }

.skin-hydradark table th a { color: #fff !important; }

table.cargoTable.noMerge tr:nth-child(odd) { background-color: unset; } table.cargoTable.noMerge tbody tr:nth-child(odd) { background-color: rgba(255,255,255,0.05); }

/* Wiki editor fixes */ div.wikiEditor-ui, div.wikiEditor-ui-buttons, div.wikiEditor-ui-controls, div.wikiEditor-ui-tabs, div.wikiEditor-ui-tabs div { background: transparent; border: none; }

div.wikiEditor-ui-tabs div a, div.wikiEditor-ui-toolbar .tabs span.tab a, div.wikiEditor-ui-toolbar .booklet .index div { color: #A74A79; }

div.wikiEditor-ui-tabs div:first-child { margin-left: 5px; }

div.wikiEditor-ui-tabs div.current { background: rgba(167,74,121, 0.85); border: 1px solid #000000; }

div.wikiEditor-ui-tabs div.current a { color: #FFFFFF; }

div.wikiEditor-ui .wikiEditor-ui-view, div.wikiEditor-ui-toolbar .group, div.wikiEditor-ui-toolbar .sections .section, div.wikiEditor-ui-toolbar .page-characters div span, div.wikiEditor-ui-toolbar .page-table td { border-color: #000000; }

div.wikiEditor-ui-toolbar, div.wikiEditor-ui-toolbar .sections .section, div.wikiEditor-ui-toolbar .booklet .pages { background: rgba(40,45,55, 0.75); }

div.wikiEditor-ui-toolbar .booklet .index .current, div.wikiEditor-ui-toolbar .page-characters div span:hover { background: rgba(167,74,121, 0.85); border-color: #000000; color: #E6E6E6; }

div.wikiEditor-ui-toolbar .page-table th { color: #E6E6E6; }

div.wikiEditor-preview-contents { background: transparent; }

div.editOptions { background: rgba(40,45,55, 0.75); border-color: #000000; }

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

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

/* Anchors */ div#footer a, div#content a:not(.new), div#content a:link:not(.new), div#content a:visited:not(.new), div#content a.external, div#content a.extiw:not(.new), label.toctogglelabel { color: #A74A79; }

/* FP box styles */ .fpcontent { width: 100%; overflow: hidden; z-index: 1; }

.fpmaybecols { overflow: hidden; margin: -5px 0 -5px 0; }

.fpmaybecols + .fpmaybecols { margin: 0 0 -5px 0; }

.fpbox { background: rgba(40,45,55, 0.75); color: #e0e0e0; /* change for hydra (light) wikis */ margin: 5px 5px 15px 5px; padding: 5px 5px 15px 5px; border: 1px solid #3C4258; overflow: hidden; }

.fpplainbox { padding: 5px 8px 10px 8px; margin: 0 5px 10px 5px; vertical-align: top; }

padding: 0.1px 12px; }
 * 1) game_description {

height: 300px !important; }
 * 1) twit-box {

.fpbox .embedvideowrap { width: 400px !important; }

.fpvideo { display: inline-block; margin: 0 5px; }

/* FP Link styles */ .fplink .box { display: table; width: 100%; border-spacing: 5px; border-collapse: separate; }

.fplink-inner { background: rgba(167,74,121, 0.85); border: 1px solid #000000; border-radius: 2px; box-shadow: 0 0 1px #3C4258 inset; display: table-cell; font-weight: bold; position: relative; text-align: center; vertical-align: middle; }

.fplink-inner a, .fplink-inner a:link, .fplink-inner a:visited { color: #FFFFFF !important; text-transform: uppercase; }

.linkslabel { margin: 0 !important; }

/* Welcome */

.fpbox .welcome { border-bottom: 1px solid #000000; color: #FFFFFF; text-transform: uppercase; font-size: 150%; text-align: center; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fpbox .heading { border-bottom: 1px solid #000000; color: #FFFFFF; font-variant: small-caps; font-size: 132%; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fpbox .heading .smalllink { color: #E6E6E6; font-weight: bold; font-size: 75%; }

.fpbox hr { border: none; border-bottom: 1px solid #3C4258; }

/* this CSS governs the responsive 2 column main page layout */ .fpmaybecols { overflow: hidden; margin: -5px 0; }

.fpmaybecols + .fpmaybecols { margin: 0 0 -5px; }

.fpbox .heading .smalllink { color: #e0e0e0; font-size: 75%; font-weight: bold; }

.fpbox hr { border: none; border-bottom: 2px solid #505050; }

@media (min-width: 990px) { .fpmain { padding-right: 520px; width: auto; }

#fpbottomsection, #fptopsection { float: left; width: 100%; }

#fpflexsection { float: right; width: 520px; margin-right: -520px; }

#fpbottomsection { margin-top: -5px; } }

.fplink.image .image { position: absolute; top: 0; right: 0; bottom: 0; left: 0; font-size: 75%; z-index: 1; }

.fplink.image a { z-index: 2; }

.fplink a { display: block; position: relative; top: 0; right: 0; bottom: 0; left: 0; padding: 1px 5px; }

.fplink.image .image a { padding: 0; }

.fplink.image .link a { border-top: 2px solid #2e7cc0; background: #83d2fd; }

.fplink.wide a { margin: 0 -5px; }

.fpvideos { margin: 0 auto; overflow: hidden; text-align: center; }

.fpvideo { display: inline-block; margin: 0 5px; }

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

.infoboxtable td { vertical-align: top; }

.infoboxtable > tbody > tr > th { background-color: #202020; border: 2px solid inherit; border-radius: 5px; font-weight: bold; padding: 0.5px 7px; text-align: right; }

/* Standard color links in infoboxes */ .infoboxtable > tbody > tr > th > a, .infoboxtable > tbody > tr > th > span > a { color: #A74A79 !important; }

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

.infoboxtable > tbody > tr > th.infoboxname { font: 180% Economica; background-color: rgba(167,74,121, 0.85); font-weight: bold; padding:    0.5em; text-align: center; }

.infoboxtable > tbody > tr > th.infoboxsubheader { background-color: rgba(167,74,121, 0.85); font-size:  100%; font-weight: bold; text-align: center; }

.infoboxdetails { padding: 0em; }

/* Math coloring fix */ .mwe-math-fallback-image-inline { filter: invert(100%); }

/* Zebra table styling */ table.zebra tbody tr:nth-child(odd) { background-color: rgba(255,255,255,0.05); }

table.zebra td { border: 0 none !important; }

/* Tabs styling */ .tabcontainer { background-color: #494949; }

.tabcontainer .tab { background-color: #494949; cursor: pointer; float: left; padding: 3px; text-align: center; white-space: nowrap; }

.tabcontainer .tab.disabled { cursor: auto; opacity: 0.25; background-color: #494949 !important; -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */ filter: grayscale(100%);}

.tabcontainer .tab:hover { background-color: #9d9584; }

.tabcontainer .tab.active { background-color: #f3e2c0 !important; font-weight: bold; }

.tabcontainer .tab.OniOverlayTabDefault { background-color: transparent !important; }

.graphviz { filter: invert(100%); }

/* Navbox */ table.navbox { border: 1px solid #3C4258; background: rgba(22,24,44, 0); clear: both; font-size: 88%; margin: auto; padding: 1px; text-align: center; width: 100%; }

.navbox-title, .navbox-abovebelow, table.navbox th { padding-left: 1em; padding-right: 1em; text-align: center; }

.navbox-title, table.navbox th { background: rgba(167,74,121, 0.85); color: #fff; }

.navbox-odd { background-color: rgba(50,54,65,0.34); }

.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background-color: #A74A55; color: #fff; }

.navbox-title, .navbox-abovebelow, table.navbox th { padding-left: 1em; padding-right: 1em; text-align: center; }

.navbox-group { font-weight: bold; padding-left: 1em; padding-right: 1em; white-space: nowrap; }

th.navbox-title a { color: #fff; }

td.navbox-group a, td.navbox-group a.new, td.navbox-abovebelow a { color: #fff !important; }

/* Bullet color (white) */ ul { list-style-type: disc; list-style-image: url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20width%3D%225%22%20height%3D%2213%22%3E%0A%3Ccircle%20cx%3D%222.5%22%20cy%3D%229.5%22%20r%3D%222.5%22%20fill%3D%22%23ffffff%22%2F%3E%0A%3C%2Fsvg%3E%0A); }

a.new { color: #A63232 !important; }

/* Community portal */ .feature { background: rgba(22,24,44, 0.2); border: 1px solid rgba(22,24,44, 0.75); border-radius: 5px; padding: 10px; } .tabbertab { border: none !important; padding: 0 !important; } .tabbernav { border: none !important; text-align: center; font-family: Economica !important; line-height: 2em !important; display: flex; } .tabbernav li { padding: 0 !important; font-size: 15px !important; width: 100%; border-radius: 2px 15px 2px 15px; background: #3f4458; border: 3px solid black; box-shadow: 4px 4px rgba(0,0,0,0.6); margin: 5px !important; } .tabbernav li a { border: none !important; margin: 0 !important; padding: 10px 0 !important; background: transparent !important; color: #999 !important; font-size: 14px; transition-duration: 0.15s; cursor: default; font-size: 15px !important;; width: 100%; display: inline-block; border-radius: inherit; } .tabbernav .tabberactive a, .tabbernav li a:hover { color: white !important; background: #9196a7 !important; border-radius: 2px 15px 2px 15px; }

/* Portable infobox styling */

.portable-infobox { color: #E0E0E0; background-color: transparent; border: 1px solid #505050; padding: 0.2em; }

.portable-infobox .pi-title { font-family: Economica; font-weight: bold; font-size: 160%; background-color: rgba(167,74,121,0.85); border-radius: 5px; padding: 0.5em; text-align: center; }

.portable-infobox .pi-data { margin: 1px 0; border: none; padding: 0; }

.portable-infobox .pi-data-label:not(.pi-horizontal-group-item), .portable-infobox .pi-header { font-weight: bold; background-color: #202020; border-radius: 5px; padding: 0.5px 7px; text-align: right; }

.portable-infobox .pi-group, .portable-infobox .pi-group .pi-horizontal-group-item { border: none }

.portable-infobox .pi-group .pi-header { background-color: rgba(167,74,121,0.85); font-weight: bold; text-align: center; }

.portable-infobox .pi-navigation { text-align: center; }

/* ---

Custom css rules for the Buildings Footer by untitled7

--- */

max-width: 612px; }   padding: 0 !important; margin: 0 !important; max-width: 570px; }   list-style-type: none; list-style-image: none; display: flex; padding: 0 !important; margin: 0 !important; }
 * 1) buildingsTabber {
 * 1) categorytabber {
 * 1) uppertabber,
 * 2) lowertabber {

text-align: center; font-family: Economica !important; width: 12.5% }
 * 1) uppertabber li,
 * 2) lowertabber li {

color: #999 !important; cursor: default; text-decoration: none; transition-duration: 0.1s; }
 * 1) uppertabber li a,
 * 2) lowertabber li a {

width: 40px; height: 40px; padding: 2px 4px 0px 4px; border: 0px solid black; border-bottom: 6px solid #2a2b3d; border-radius: 2px 15px 2px 15px; background: #3f4458; box-shadow: 0px 0px 0px 3px black; opacity: 0.8; transition-duration: 0.1s; }
 * 1) uppertabber li a img,
 * 2) lowertabber li a img {

/* Text white when hovered above the list element, or when the link is assigned the class 'selected' */ color: white !important; transition-duration: 0.25s; }
 * 1) uppertabber li.navbox-section-selected a,
 * 2) uppertabber li:hover a,
 * 3) lowertabber li.navbox-section-selected a,
 * 4) lowertabber li:hover a {

/* Image full opacity when hovered above the list element, or when the link is assigned the class 'selected' */ background: #9196a7; border-bottom: 6px solid #6d7085; opacity: 1; transition-duration: 0.25s; }   background: #686d80; border-bottom: 6px solid #3f3f54; opacity: 0.8; transition-duration: 0.25s; }   padding:0.45em 0 0 0; }   list-style-type: none; list-style-image: none; margin: 0 !important; padding: 0 !important; display: inline; width: max-content; }   opacity:0.6; transition-duration: 0.1s; border: 2px solid black; border-radius: 6px; padding: 3px; background: #3f4458; box-shadow: 2px 2px rgba(0,0,0,0.6); margin: 0 2px 2px 0; height: 24px; width: 140px; }   opacity: 1; background: #686d80 !important; }   opacity: 1; background: #9196a7 !important; box-shadow: 0px 0px rgba(0,0,0,0.6) !important; margin: 2px 0 0 2px !important; }
 * 1) uppertabber li.navbox-section-selected a img,
 * 2) lowertabber li.navbox-section-selected a img {
 * 1) uppertabber li:hover a img,
 * 2) lowertabber li:hover a img {
 * 1) VersionsBox {
 * 1) DLC-toogle{
 * 1) DLC-toogle li a img{
 * 1) DLC-toogle li:hover a img{
 * 1) DLC-toogle li.navbox-section-selected a img{

display: grid; grid-template-areas: "head vers" "cat cat"; grid-template-columns: auto 33%; } @media screen and (min-width:1000px) { #buildingsTabber.tabberContainer { max-width: 950px; }   #categorytabber { max-width: none; display: flex; }   #lowertabber li { width: 14.2857% }   #DLC-toogle { float: right; } }
 * 1) buildingsTabber.tabberContainer {
 * 1) header {grid-area: head;}
 * 2) VersionsBox {grid-area: vers;}
 * 3) categorytabber {grid-area: cat;}

/* ---

css rules for the portable infoboxes

--- */ .portable-infobox { width: 400px; } .pi-data-label { flex-basis: 130px; } .pi-data-value { flex-basis: 270px !important; }

.pi-item[data-source="uses flower pot"] .pi-data-value, .pi-item[data-source="unlocks"] .pi-data-value, .pi-item[data-source="desc"] .pi-data-value, .pi-item[data-source="description"] .pi-data-value { margin: auto; text-align: center; flex-basis: 400px !important; }

.pi-item[data-source="flavorText"] .pi-data-value, .pi-item[data-source="image caption"] .pi-data-value, .pi-item[data-source="caption"] .pi-data-value, .pi-item[data-source="recipe-desc "] .pi-data-value, .pi-item[data-source="tooltip"] .pi-data-value { margin: auto; text-align: center; font-style: italic; flex-basis: 400px !important; }

.pi-item[data-source="element-1-amount"] .pi-data-label, .pi-item[data-source="element-2-amount"] .pi-data-label, .pi-item[data-source="element-3-amount"] .pi-data-label, .pi-item[data-source="element-4-amount"] .pi-data-label, .pi-item[data-source="element-5-amount"] .pi-data-label, .pi-item[data-source="resource-1-amount"] .pi-data-label, .pi-item[data-source="resource-2-amount"] .pi-data-label, .pi-item[data-source="resource-3-amount"] .pi-data-label, .pi-item[data-source="resource-4-amount"] .pi-data-label, .pi-item[data-source="resource-5-amount"] .pi-data-label { font-weight: normal !important; background: transparent !important; }

.pi-item[data-source="element-1-amount"] .pi-data-value, .pi-item[data-source="element-2-amount"] .pi-data-value, .pi-item[data-source="element-3-amount"] .pi-data-value, .pi-item[data-source="element-4-amount"] .pi-data-value, .pi-item[data-source="element-5-amount"] .pi-data-value, .pi-item[data-source="resource-1-amount"] .pi-data-value, .pi-item[data-source="resource-2-amount"] .pi-data-value, .pi-item[data-source="resource-3-amount"] .pi-data-value, .pi-item[data-source="resource-4-amount"] .pi-data-value, .pi-item[data-source="resource-5-amount"] .pi-data-value { font-weight: bold !important; background-color: #202020 !important; border-radius: 5px !important; }

.pi-horizontal-group .pi-data-label { padding-bottom: 0.2em; font-size:95%; } .pi-horizontal-group { font-family:Economica; border-spacing: 2px; border: 1px solid #555; border-radius: 5px; padding:1px; }

.pi-horizontal-group thead{ background: #555; }

.pi-item[data-source="DLC"] .pi-data-value { position: absolute; opacity: 0.7; text-align: right; width: 400px; }

/* Temporary fixes to the visual editor */ .ve-ui-mwTemplatePage-description, .ve-ui-mwParameterResultWidget-description, .ve-ui-mwTemplatePage-description-extra, .ve-ui-mwTemplatePage-description-missing { color: white; }

.front-page-icon-container { margin:5px; display:inline-block; text-align:center; width:115px; font-family:Economica; font-size:135%; }

@media screen and (min-width:1000px) { #buildingsTabber.tabberContainer { max-width: 950px; }   #categorytabber { max-width: none; display: flex; }   #lowertabber li { width: 14.2857% }   #DLC-toogle { float: right; } }

/* ---

Research Box

--- */

.research-box { background:white; color:black; border:white 1px solid; padding:0px; width:100%; font-size:66%; }

.research-box-header { background:#6a6966; color:white; border:black 1px solid; width: 96px; font-size: 75%; } .is-content-expanded .research-box-header { width:150px; }

.research-bar{ text-align:center; color:black; border:1px solid black; width: 100%; }

.research-novice      { background:#98aae9; } /* pale blue   */ .research-intermediate { background:#994e76; } /* ONI magenta */ .research-matscience  { background:#e7d211; } /* gold        */ .research-interstellar { background:#ef8d27; } /* orange     */

.research-item { width: 30px; height: 30px; text-align: center; border: 1px solid black; margin: 1px 0; font-size: 150%;   /* weird fix for images to be centered in height and width */ } .is-content-expanded .research-item { width: 35px; height: 35px; }

.research-item img { height: auto; width: auto; max-width: 28px; max-height: 28px; } .is-content-expanded .research-item img { max-width: 33px; max-height: 33px; }

.research-unlocks { display: grid; grid-template-areas: "A B C" "D E F" "G H I" "J K L"; grid-template-columns: 33px auto 33px; } .is-content-expanded .research-unlocks{ grid-template-areas: "A B C D" "E F G H" "I J K L"; grid-template-columns: 38px 37px 37px 38px; }

@media screen and (max-width:1300px) { .is-content-expanded .research-box-header { width:96px; }   .is-content-expanded .research-item { width: 30px; height: 30px; }   .is-content-expanded .research-item img { max-width: 28px; max-height: 28px; }   .research-unlocks { grid-template-areas: "A B C" "D E F" "G H I" "J K L"; grid-template-columns: 33px auto 33px; } }

@media screen and (min-width:1800px) { .is-content-expanded .research-box-header { width:170px; }   .is-content-expanded .research-item { width: 40px; height: 40px; }   .is-content-expanded .research-item img { max-width: 38px; max-height: 38px; }   .is-content-expanded .research-unlocks{ grid-template-columns: 43px 42px 42px 43px; } }

/* Define Research Box IDs to grid IDs */
 * 1) research-1 { grid-area: A; }
 * 2) research-2 { grid-area: B; }
 * 3) research-3 { grid-area: C; }
 * 4) research-4 { grid-area: D; }
 * 5) research-5 { grid-area: E; }
 * 6) research-6 { grid-area: F; }
 * 7) research-7 { grid-area: G; }
 * 8) research-8 { grid-area: H; }
 * 9) research-9 { grid-area: I; }
 * 10) research-10{ grid-area: J; }
 * 11) research-11{ grid-area: K; }
 * 12) research-12{ grid-area: L; }

/* Theme dependant images */ .light-image { display:none; } .invert-image img { filter: invert(1); }