MediaWiki:Common.css

/* CSS placed here will be applied to all desktop 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; }

/**********************************************************************************************************/

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

.fplink-outer { flex-basis: calc(20% - 10px); width: calc(20% - 15px); min-width: 80px; 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-small .fplink img { max-width: 50px; }

.fplink img { max-width: 150px; width: 100%; height: auto; }

/**********************************************************************************************************/

/* Responsive Image Scaling */ img.responsive { max-width: 100%; height: auto; }

/**********************************************************************************************************/

/* Patch History */ .patchVersion{ color: white; background: #2d9bf0; font-size: 80%; text-transform: uppercase; border-radius: 3px; padding: 2px 5px; text-decoration: none; }

.patchVersion.alpha{ color: white; background: #59CBE8; font-size: 80%; text-transform: uppercase; border-radius: 3px; padding: 2px 5px; text-decoration: none; }

.patchVersion.prealpha{ color: white; background: #E87722; font-size: 80%; text-transform: uppercase; border-radius: 3px; padding: 2px 5px; text-decoration: none; }

.patchType{ color: white; background: #468202; font-size: 80%; text-transform: uppercase; border-radius: 3px; padding: 2px 5px; text-decoration: none; } .patchType.hotfix{ color: white; background: #FFCF01; font-size: 80%; text-transform: uppercase; border-radius: 3px; padding: 2px 5px; text-decoration: none; } .patchType.unlisted{ color: white; background: #E33718; font-size: 80%; text-transform: uppercase; border-radius: 3px; padding: 2px 5px; text-decoration: none; }

/**********************************************************************************************************/

.history-container { max-height: 15em; overflow-y: auto; padding: 1em 1.5em 0.25em; border: 1px solid #e4eaee; }

.history-container > ul { margin: 0; }

.history-container > ul > li { margin-bottom: 0.75em; list-style: none; }

.history-container > ul > li > ul { margin-bottom: 0; }

/**********************************************************************************************************/

/* Template:Spoil */ .spoiler-content{ background-color: rgba(127,127,127,1); transition: all 0.3s; cursor: pointer; } .spoiler-content > span{ opacity: 0; transition: all 0.3s; } .spoiler-content.show, .spoiler-content.hover:hover{ background-color: rgba(127,127,127,0); } .spoiler-content.show > span, .spoiler-content.hover:hover > span{ opacity: 1; }

/**********************************************************************************************************/

.ambox { 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 #129af0; }

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

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

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

.ambox-purple { border-left: 10px solid #923b91; }

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

.ambox-green { border-left: 10px solid #00b056; }

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

/**********************************************************************************************************/

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

/* Custom font */ @font-face { font-family: 'Astroneer-Bold'; src: url('https://static.wikia.nocookie.net/astroneer_gamepedia/images/a/ab/Ndastroneer-bold_v2.woff2') format('woff2') }

@font-face { font-family: 'Astroneer-Regular'; src: url('https://static.wikia.nocookie.net/astroneer_gamepedia/images/7/7f/Ndastroneer-regular_v2.woff2') format('woff2') }

@font-face { font-family: 'Astroneer-Light'; src: url('https://static.wikia.nocookie.net/astroneer_gamepedia/images/f/f1/Ndastroneer-light_v2.woff2') format('woff2') }

border: 5px solid #2d9bf0; border-radius: 10px 10px 10px 10px; }
 * 1) toc {

div.mw-warning-with-logexcerpt { border: 2px solid #00a9c6; }

/* Header */ .fandom-community-header__community-name { text-shadow: 2px 2px black; text-decoration: none !important; }

.fandom-community-header__local-navigation .wds-tabs__tab-label { text-shadow: 1px 1px black; text-decoration: none; }.fandom-community-header__local-navigation:hover .wds-tabs__tab-label:hover { text-decoration: none; }

/* Sticky Header */ .theme-fandomdesktop-light { --theme-sticky-nav-text-color: #fff; --theme-sticky-nav-text-color--hover: #fff; }

.theme-fandomdesktop-dark { --theme-sticky-nav-text-color: #fff; --theme-sticky-nav-text-color--hover: #fff; }

/* Footer */

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

div#footer ul li a { color: #2d9bf0; }

/* Page content */ .page-content dl { margin:12px 0; }

.page-content p { margin:0 0 12px; }

/****************************************************************************/ /***** TABLES                                                          *****/

table.collapsed tr.collapsible { display: none; }

/*--*/

/*Table Alignment*/ tbody { vertical-align: top; }

.centeredTable td { text-align: center; }

.centeredTable td:first-child { text-align:left; }

.darktable td { vertical-align: middle; padding: 5px 10px; }

/*--*/ /* Class "wikitable" */

table.wikitable { background: none repeat scroll 0 0 transparent; }

table.wikitable > caption { color: #6b6b6b; }

table.wikitable > tr > th, table.wikitable > * > tr > th { background: rgba(0, 0, 0, 0.1); border: none; color: #000; text-align: center; }

table.wikitable > tr > td, table.wikitable > * > tr > td { border: 1px solid #aaaaaa; padding: 0.2em; }

.wikitable th { background: rgba(0, 0, 0, 0.1); border: none; color: #000; padding: 0.2em; }

.wikitable td { border: 1px solid #aaaaaa; color: #333333; padding: 0.2em; }

/*--*/ /* Class "mw_metadata" */

table.mw_metadata th { background: rgba(0, 0, 0, 0.1); border: none; color: #fffdfb; }

table.mw_metadata td { background-color: transparent; border: 1px solid #aaaaaa; color: #333333; }

.mw-datatable th { border: none; }

.mw-datatable, .mw-datatable td { border: 1px solid #aaaaaa; }

/*--*/ /* "TablePager" */

.TablePager { border: 1px solid #aaaaaa; color: #333333; padding: 0 0.15em; }

.TablePager th { background: rgba(0, 0, 0, 0.1); border: none; color: #000; padding: 0 0.15em; }

.TablePager tr:hover td { background-color: rgba(0, 0, 0, 0.1) !important; color: #333333; }

.TablePager th a { background: rgba(0, 0, 0, 0.1); color: #000 !important; } .TablePager td { background: transparent !important; border: 1px solid #aaaaaa; color: #000; }

/*--*/

/* Dark and Zebra tables */

.theme-fandomdesktop-light { --darktable-background-even: #d3e9fb; --darktable-background-odd: #b4d7f3; --darktable-background-th:  #2d9bf0; } .theme-fandomdesktop-dark { --darktable-background-even: #d3e9fb20; --darktable-background-odd: #b4d7f320; --darktable-background-th:  #2d9bf060; }

.darktable { border: 5px solid #2d9bf0; margin: 0.5em 0em 1em 0.5em; background-color: var(--darktable-background-even); border-radius: 10px; }

.alt, .rowtitle, .darktable .alt, .darktable .rowtitle, table.zebra > tbody > tr:nth-child(2n+1), .darktable tr:not(:first-child) th { background-color: var(--darktable-background-odd); }

.darktable th { background-color: var(--darktable-background-th); padding: 2px 5px; }

.darktable td.title {background-color: #222; }

/*--*/ /* Class "recipeTable" */

/*Recipe Table Row Headers*/ table.recipeTable tr:not(:first-child) th { background-color:#2d9bf0; color: #ffffff; vertical-align:middle; text-align:left; font-weight:normal; padding: 5px 10px; }

table.recipeTable tr:not(:first-child) th a { color: #f8e700; }

/****************************************************************************/

/* colour fix for advanced search options box */ fieldset#mw-searchoptions { background-color: rgba(0, 0, 0, 0); border-color: #aaaaaa !important; }

.mw-search-profile-tabs { background-color: rgba(0, 0, 0, 0); border: 1px solid #aaaaaa; margin-top: 1em; }

.mw-search-profile-tabs div.search-types ul li.current a { color: #000000; }

/****************************************************************************/

/* thumbnails and galleries and image file history */ div.thumb { border: 1px solid #fffdfb; margin: 2px; margin-left: 6px; }

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

div.thumbinner { background-color: #fffdfb; border: medium none; box-shadow: none; }

li.gallerybox div.thumb { background-color: #2d9bf0; border-radius: 10px; border: 1px solid #ffffff; box-shadow: none; }

html .thumbimage { border: 1px solid #4ba5ec; }

div.tright div.tleft { border: 1px solid #4ba5ec !important; }

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

/****************************************************************************/

/* Preferences */ .client-js #preftoc { background-color: rgba(0, 0, 0, 0); border: 0px; margin: 0 0 4px !important; }

.client-js #preftoc, .client-js #preftoc li, .client-js #preferences, .client-js #preftoc li a { background-image: none; background-color: transparent; color: #666666; }

.client-js #preftoc li:first-child { margin-bottom: 0; margin-left: 5px; }

.client-js #preftoc li.selected a { background-color: #fffdfb; background-image: none; border-color: #fffdfb; border-style: solid; border-width: 1px; color: #333333; }

.client-js #preferences { background-color: #fffdfb; border: 1px solid #fffdfb; box-shadow: none; }

.client-js #preferences fieldset { border-color: #aaaaaa; }

/****************************************************************************/

/* wiki editor styling */ .wikiEditor-ui { background: rgba(0, 0, 0, 0); border: none; }

.wikiEditor-ui-tabs div { border-bottom: 1px solid #aaaaaa; border-right: 1px solid #aaaaaa; }

.wikiEditor-ui-buttons { background: rgba(0, 0, 0, 0); border-top: none; margin-right: 5px; }

.wikiEditor-ui-toolbar { background: none repeat scroll 0 0 rgba(0, 0, 0, 0); }

.wikiEditor-ui-toolbar .tabs span.tab a, .wikiEditor-ui-toolbar .tabs span.tab a:visited { color: #333333; }

.wikiEditor-ui-toolbar .tabs span.tab a.current, .wikiEditor-ui-toolbar .tabs span.tab a.current:visited { color: #333333; font-weight: bold; }

.wikiEditor-ui-toolbar .sections .section { background-color: rgba(0, 0, 0, 0.1); border-top: 1px solid #aaaaaa; color: #333333; }

.wikiEditor-ui-toolbar .page-characters div span { border: 1px solid #aaaaaa; color: #333333; }

.wikiEditor-ui-toolbar .booklet .pages { background-color: rgba(0, 0, 0, 0.1); }

.wikiEditor-ui-toolbar .booklet .index .current { background-color: rgba(0, 0, 0, 0.1); color: #0645ad; }

.wikiEditor-ui-toolbar .booklet .index div { color: #000000; }

.wikiEditor-ui-toolbar .page-characters div span:hover { background-color: rgba(0, 0, 0, 0.1); border-color: #aaaaaa; color: #333333; }

.wikiEditor-ui-toolbar .page-table th, .wikiEditor-ui-toolbar .page-table td { color: #000000; }

.wikiEditor-ui-toolbar .page-table td { border-top: 1px solid #aaaaaa; }

.wikiEditor-ui-tabs div a { background: none repeat scroll 0 0 #aaaaaa; display: inline-block; color: #333333; }

.wikiEditor-ui-tabs div.current { border-bottom: 1px solid #aaaaaa; }

.wikiEditor-ui-tabs div.current a { color: #333333; font-weight: bold; }

.wikiEditor-ui-tabs { border-left: 1px solid #aaaaaa; border-top: 1px solid #aaaaaa; }

.wikiEditor-preview-contents { background: rgba(0, 0, 0, 0); background-color: rgba(0, 0, 0, 0.1); border-color: #aaaaaa; border-style: solid; border-width: 0 1px 1px; color: #333333; }

.wikiEditor-ui-controls { background: rgba(0, 0, 0, 0); border-bottom: 1px solid #aaaaaa; }

.wikiEditor-preview-contents, .wikiEditor-preview-loading { background-color: transparent; }

/****************************************************************************/

input#wpSummary { margin-bottom: 1em; margin-top: 1em; width: 80%; }

/****************************************************************************/

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

.theme-fandomdesktop-dark .ambox { background-color: #000000; }

/****************************************************************************/

/* INFOBOXES: game or book depended color style */ .infoboxtable { background-color: rgba(0, 0, 0, 0); border: none; border-bottom: 20px solid #2d9bf0; border-radius: 10px; color: #333333; 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: rgba(255, 253, 251, 0.42); border: 2px solid inherit; font-weight: bold; padding: 0.5px 7px; text-align: right; }

.infoboxname { border: 10px solid #2d9bf0; border-radius: 10px 10px 0px 00px; background: #2d9bf0; color: #fff; font-size: 110%; font-weight: bold; padding: 0px; }

.infoboxdetails { background-color: rgba(255, 253, 251, 0.42); padding: 0em; }

/****************************************************************************/

/* copyright images tweak */ .copyright-icon { background: url(https://static.wikia.nocookie.net/commons_hydra/images/thumb/b/b6/Copyright.png/32px-Copyright.png) transparent center center no-repeat; background-size: 100%; width: 32px; height: 32px; }

/****************************************************************************/

/* this CSS governs the responsive 3 column main page layout */ .fpmain { width: 100%; overflow: hidden; z-index: 1; }

.fpbanner { background: rgba(0, 0, 0, 0.1); border: 1px solid rgba(0, 0, 0, 0.1); box-shadow: none; color: #333333; margin: 0 5px 5px 5px; padding: 5px; min-height: 80px; }

.fpbannertable { display: table; border: none; background: transparent; width: 100%; min-height: 75px; margin: 0; padding: 5px; }

.fpbannercell { display: table-cell; text-align: center; vertical-align: middle; }

.fpbannerblock { border: none; color: #ffffff; font-weight: bold; text-shadow: 0 0 8px rgba(255, 255, 255, 0.75); font-size: 132%; width: 100%; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fpmidsections { float: left; width: 100%; overflow: hidden; }

.fpbox { border: 3px solid #2d9bf0; box-shadow: none; border-radius: 10px; margin: 5px; padding: 5px; overflow: auto; }

.fpbox .mainheading { border: none; border-bottom: 1px solid rgba(0, 0, 0, 0.1); font-size: 150%; font-weight: bold; margin: 0 0 10px 0; padding: 0 0 5px 0; overflow: auto; }

.fpbox .heading { border: none; border-bottom: 1px solid rgba(0, 0, 0, 0.1); text-align: center; font-size: 132%; margin: 0 0 10px 0; padding: 0 0 5px 0; overflow: auto; }

.fpmain .columns .leftcol { width: 100%; margin: 0; padding: 0; }

.fpmain .columns .rightcol { width: 100%; margin: 0; padding: 0; }

.fpsection1, .fpsection2, .fpsection3, .fpsection4 { float: left; clear: both; width: 100%; }

div.fp2columnonly, div.fp3columnonly { display: none; }

@media (min-width: 790px) { .fpsection1 { float: left; clear: none; width: 50%; }

.fpmidsections { clear: none; float: right; width: 50%; }

.fpsection4 { float: left; clear: none; width: 50%; }

div.fp2columnonly { display: block; } }

@media (min-width: 990px) { .fpmain .columns .leftcol { float: left; width: 50%; margin: 0; padding: 0; }

.fpmain .columns .rightcol { float: right; width: 50%; margin: 0; padding: 0; } }

@media (min-width: 1390px) { .fpmidsections { clear: none; float: right; width: 66.667%; }

.fpsection1 { clear: none; width: 33.333%; }

.fpsection2 { clear: none; width: 50%; }

.fpsection3 { clear: none; width: 50%; } .fpsection4 { clear: left; width: 33.333%; }

div.fp2columnonly { display: none; }

div.fp3columnonly { display: block; } }

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

.fpimagelist ul { list-style-type: none; list-style-image: none; }

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

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

.content-header { background-color: #2d9bf0; border: none; box-shadow: none; font-size: 150%; margin-bottom: 10px; text-align: center; border-radius: 10px; }

/****************************************************************************/

body.theme-fandomdesktop-light .content-header { color: #ffcf01; }

body.theme-fandomdesktop-dark .content-header { color: black; }

/****************************************************************************/

/* Navbox template style */ table.navbox { border: 5px solid #2d9bf0; border-radius: 5px; clear: both; font-size: 88%; margin: auto; padding: 1px; text-align: center; width: 100%; }

/* Border between adjacent navboxes */ table.navbox + table.navbox { margin-top: -1px; }

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

/* Base background */ .navbox, .navbox-subgroup { background: rgba(255, 255, 255, 0.2); }

.navbox-list { border-color: rgba(255, 255, 255, 0.2); /* Must match background color */ }

/* Level 1 color */ .navbox-title, table.navbox th { background: rgba(255, 253, 251, 0.42); color: #444; }

/* Level 2 styling */ .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: rgba(255, 253, 251, 0.42); color: #333; }

/* Level 3 styling */ .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: rgba(0, 0, 0, 0.1); color: #333; }

/* Even row striping */ .navbox-even { background: rgba(255, 255, 255, 0.1); color: #333; }

/* Odd row striping */ .navbox-odd { background: transparent; } .collapseButton { font-weight: normal; width: auto; }

.navbox .collapseButton { width: 6em; } .navbar { font-size: 88%; font-weight: normal; }

.navbox .navbar { font-size: 100%; }