MediaWiki:Hydra.css

/* CSS placed here will affect users of the Hydra skin */ /* Fonts */ @font-face { font-family: 'Norse'; src: local('Norse'), local('Norse'), url('/media/hydra/fonts/Norse.otf') format('opentype'); }

@font-face { font-family: 'Raleway-Bold'; src: local('Raleway-Bold'), local('Raleway-Bold'), url(/media/hydra/fonts/Raleway-Bold.ttf) format('truetype'); }

@font-face { font-family: 'Raleway-Regular'; src: local('Raleway-Regular'), local('Raleway-Regular'), url(/media/hydra/fonts/Raleway-Regular.ttf) format('truetype'); }

/* For elements which only display in the mobile view */ .mobileonly { display: none; }

/* Background */ body { background: linear-gradient(rgba(32, 26, 22, 0.7), rgba(32, 26, 22, 0)), url(https://static.wikia.nocookie.net/colonysurvival_gamepedia_en/images/1/1f/Background.jpg/revision/latest); /* */ background-attachment: fixed; background-repeat: no-repeat; background-size: cover; }

/* Logo styles */ height: 240px; padding-top: 25px; background-size: 159px; }
 * 1) p-logo a {

div#mw-panel #p-logo + div.portal { margin-top: 90px !important; }

background: none; }
 * 1) mw-page-base {

/* Article navigation styles */ div.vectorMenu h3, div.vectorTabs ul li span, div.vectorTabs ul li.selected, div.vectorTabs ul li, div.vectorTabs ul, div.vectorTabs { background: none !important; }

div.vectorMenu span, div.vectorTabs ul li a { color: #fff !important; font-family: 'Raleway-Bold'; text-transform: uppercase; letter-spacing: 2px; }

div.vectorMenu h3, div.vectorTabs ul li:not(#ca-watch):not(#ca-unwatch) { border: 2px solid #fff; margin-left: 3px; margin-right: 3px; }

div.vectorMenu.menuForceShow h3, div.vectorMenu:hover h3, div.vectorTabs ul li.selected a, div.vectorTabs ul li:not(#ca-watch):not(#ca-unwatch):hover { background-color: #fff !important; }

div.vectorMenu:hover span, div.vectorMenu.menuForceShow span, div.vectorMenu span:hover, div.vectorTabs ul li.selected a, div.vectorTabs ul li a:hover { color: #1f1f1f !important; text-decoration: none; }

.vectorMenu#p-cactions .menu { margin-top: 5px; left: -3px; }

div.vectorMenu .menu { background: none !important; border: none !important; }

div.vectorMenu .menu ul li { border: 2px solid #fff; margin-top: 3px; background: rgba(32, 26, 22, 0.75); }

div.vectorMenu .menu ul li a { color: #fff !important; text-transform: uppercase; font-family: 'Raleway-Bold'; letter-spacing: 1px; }

div.vectorMenu .menu ul li a:hover { text-decoration: none; background: #fff; color: #1f1f1f !important; }

div#mw-head div.vectorMenu h3 { margin-bottom: 0.5em; }

div.vectorMenu h3 span::after { background: none; }

div.vectorMenu h3 span { padding-right: 0.0625em; }

div#mw-page-base { margin-bottom: 20px; }

/* Sidebar styles */ div#mw-panel h3, div#mw-panel h3 a, div#mw-panel ul li a { color: #fff !important; text-transform: uppercase; letter-spacing: 1px; }

div#mw-panel h3 a:hover, div#mw-panel ul li a:hover { text-decoration: none; color: #9c9999 !important; }

div#mw-panel h3:hover { text-decoration: none !important; }

div#mw-panel.collapsible-nav .portal.collapsed h3 { background-image: url(https://static.wikia.nocookie.net/commons_hydra/images/d/d4/Sidebar_toggle_collapsed_black.svg); }

div#mw-panel.collapsible-nav .portal h3 { background-image: url(https://static.wikia.nocookie.net/commons_hydra/images/4/42/Sidebar_toggle_open_black.svg); }

/* Content areas */ background: #1f1f1f; }
 * 1) footer {

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

div#footer ul li a { color: #0699ad !important; }

border: none; }
 * 1) content {

/* Preferences */ .oo-ui-tabSelectWidget { background: #3f3f3f; }

.oo-ui-tabOptionWidget .oo-ui-labelElement-label { color: #fff; font-family: 'Raleway-Regular'; letter-spacing: 1px; text-transform: uppercase; } .oo-ui-tabOptionWidget:active .oo-ui-labelElement-label, .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected .oo-ui-labelElement-label, .oo-ui-tabOptionWidget:hover .oo-ui-labelElement-label { color: #1f1f1f; }

.oo-ui-tabOptionWidget:not(.oo-ui-optionWidget-selected):active, .oo-ui-tabOptionWidget:not(.oo-ui-optionWidget-selected):hover { background: rgba(255, 255, 255, 0.75) !important; }

.mw-prefs-buttons, .mw-prefs-tabs-wrapper.oo-ui-panelLayout-framed { border-color: #000; }

.client-js #preferences legend { font-family: 'Raleway-Bold'; letter-spacing: 1px; }

/* Search */ .mw-search-profile-tabs { background: none; border: none; margin-bottom: 5px; }

.mw-search-profile-tabs li { background: #3f3f3f; margin-left: 5px; border: 2px solid #000; }

.mw-search-profile-tabs li a { color: #fff !important; font-family: 'Raleway-Regular'; text-transform: uppercase; letter-spacing: 1px; }

.mw-search-profile-tabs li a:hover, .mw-search-profile-tabs li:hover a, .mw-search-profile-tabs li.current a { color: #1f1f1f !important; text-decoration: none; }

.mw-search-profile-tabs li.current, .mw-search-profile-tabs li:hover { background: #fff; }

border: 2px solid #000; background: none; }
 * 1) mw-searchoptions {

font-family: 'Raleway-Regular'; }
 * 1) mw-searchoptions h4 {

/* 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; 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 */ .infoboxtable { background-color: #f9f9f9; border: 1px solid #aaaaaa; color: #000000; 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: #f9f9f9; border: 2px solid inherit; border-radius: 5px; font-weight: bold; padding: 0.5px 7px; text-align: right; }

.infoboxname { background-color: #534740; color: #fff; font-family: 'Norse'; font-size: 150%; font-weight: bold; }

.infoboxdetails { background-color: #534740; color: #fff; font-family: 'Norse'; font-size: 120%; 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; }

.feature { background: rgba(0, 0, 0, 0.05); border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 5px; padding: 10px; }

/* Navbox template style */ table.navbox { border: 1px solid #aaaaaa; 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, 255, 255, 0.2); color: #444; }

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

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

/* Even row striping */ .navbox-even { background: rgba(0, 0, 0, 0.05); 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%; } table.collapsed tr.collapsible { display: none; } /* End of new Navbox styling */

/* this CSS governs the responsive 2 column main page layout */

.fpcontent { width: 100%; overflow: hidden; z-index: 1; }

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

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

.fpbox { color: #1f1f1f; margin: 5px 5px 5px 5px; padding: 5px 5px 5px 5px; }

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

.fpbox .welcome { font-size: 150%; margin: 0 0 10px 0; padding: 0 0 5px 0; text-align: center; }

.fpbox .heading { font-size: 132%; font-variant: small-caps; margin: 0 0 10px 0; padding: 0 0 5px 0; }

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

.fplinks .linkslabel, .fpbox .welcome, .fpbox .heading { border: 2px solid #000; background: #3f3f3f; color: #fff; text-transform: uppercase; font-family: 'Raleway-Bold'; letter-spacing: 2px; }

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

.fplinks { margin: -5px; }

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

.fplink { display: inline-block; vertical-align: middle; width: 100%; }

/* Yeah, using display: table makes for a lot of extra markup, but it makes proportionate sizing and vertical centering a lot easier, so going with it */ .fplink .box { border-collapse: separate; border-spacing: 5px; display: table; width: 100%; }

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

.fplink .box .row .cell { background: rgba(22, 22, 22, 0.75); border: 2px solid #000; color: #000000; display: table-cell; padding: 0 6px; position: relative; text-align: center; vertical-align: middle; }

.fplink .box .row .cell a { color: #fff; font-family: 'Raleway-Regular'; }

.fplink .box .row .cell:hover { background: #fff; }

.fplink .box .row .cell:hover a { text-decoration: none; color: #1f1f1f; }

.fplink.wide .box .row .cell { padding: 0 5px; }

height: 114px; width: 114px; }
 * 1) fptopsection .fplink.image,
 * 2) fpflexsection .fplink.image,
 * 3) fpbottomsection .fplink.image {

.fplink.image .box .row .cell { height: 100px; width: 100px; vertical-align: bottom; }

.fplink.image .box .row .cell .image img { height: 100px; width: 100px; }

@media (min-width: 470px) { .fplink { width: 50%; }

.fplink.wide { width: 100%; } }

@media (min-width: 580px) { .fplink { width: 33.333%; }

.fplink.wide { width: 66.666%; } }

@media (min-width: 690px) { .fplink { width: 25%; }

.fplink.wide { width: 50%; } }

@media (min-width: 800px) { .fplink { width: 20%; }

.fplink.wide { width: 40%; } }

@media (min-width: 910px) { .fplink { width: 16.666%; }

.fplink.wide { width: 33.333%; } }

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

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

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

#fpbottomsection { float: left; width: 100%; margin-top: -5px; }

#fptopsection .fplink, #fpbottomsection .fplink { width: 50%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 100%; }

#fpflexsection .fplink { width: 25%; }

#fpflexsection .fplink.wide { width: 50%; } }

@media (min-width: 1100px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 33.333%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 66.666%; } }

@media (min-width: 1210px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 25%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 50%; } }

@media (min-width: 1320px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 20%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 40%; } }

@media (min-width: 1430px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 16.666%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 33.333%; }

.fplink a { padding: 3px 5px; } }

@media (min-width: 1540px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 14.285%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 28.571%; }

#fptopsection .fpmaybercol .fpbox, #fpbottomsection .fpmaybercol .fpbox { background-image: none; }

.fpmaybelcol { float: left; width: 70.886%; }

#fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 20%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 40%; }

.fpmaybercol { float: right; width: 29.113%; }

#fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink { width: 50%; }

#fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide { width: 100%; } }

@media (min-width: 1650px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 12.5%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 25%; } }

@media (min-width: 1697px) { #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 16.666%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 33.333%; } }

@media (min-width: 1760px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 11.111%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 22.222%; } }

@media (min-width: 1850px) { #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 14.285%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 28.571%; } }

@media (min-width: 1870px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 10%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 20%; }

#fptopsection .fplink.image, #fpbottomsection .fplink.image { width: 134px; height: 134px; }

#fptopsection .fplink.image .box .row .cell, #fpbottomsection .fplink.image .box .row .cell { width: 120px; height: 120px; }

#fptopsection .fplink.image .box .row .cell .image img, #fpbottomsection .fplink.image .box .row .cell .image img { width: 120px; height: 120px; } }

@media (min-width: 1918px) { #fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink { width: 33.333%; }

#fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide { width: 66.666%; } }

@media (min-width: 1980px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 9.09%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 18.181%; } }

@media (min-width: 2006px) { #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 12.5%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 25%; } }

@media (min-width: 2090px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 8.33%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 16.666%; } }

@media (min-width: 2161px) { #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 11.111%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 22.222%; } }

@media (min-width: 2200px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 7.692%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 15.384%; } }

@media (min-width: 2296px) { #fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink { width: 25%; }

#fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide { width: 50%; } }

@media (min-width: 2310px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 7.142%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 14.285%; } }

@media (min-width: 2316px) { #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 10%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 20%; } }

@media (min-width: 2420px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 6.666%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 13.333%; }

.fplink a { padding: 5px 5px; }

#fptopsection .fplink.image, #fpbottomsection .fplink.image { width: 164px; height: 164px; }

#fptopsection .fplink.image .box .row .cell, #fpbottomsection .fplink.image .box .row .cell { width: 150px; height: 150px; }

#fptopsection .fplink.image .box .row .cell .image img, #fpbottomsection .fplink.image .box .row .cell .image img { width: 150px; height: 150px; } }

.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 { background: rgba(0, 0, 0, 0.1); border-top: 2px solid #505050; }

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

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

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

.fpbiome { margin: -5px; width: 25%; }

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

.fpbiome { display: inline-block; vertical-align: middle;

}

.fpbiome .box { border-collapse: separate; border-spacing: 5px; display: table; width: 100%; }

.fpbiome .box .row { display: table-row; }

.fpbiome .box .row .cell { color: #000000; display: table-cell; padding: 0 6px; position: relative; text-align: center; vertical-align: middle; }

.fpbiome .box .row .cell .image{ max-height: 300px; display: block; overflow: hidden; border-radius: 25px; }

.fpbiome .box .row .cell a { font-family: 'Raleway-Regular'; }

.fpbiome .box .row .cell:hover { background: #fff; }

.fpbiome .box .row .cell:hover a { text-decoration: none; color: #1f1f1f; }

.fpbiome.wide .box .row .cell { padding: 0 5px; }

.fpbiome.image .box .row .cell { height: 100px; width: 100px; vertical-align: bottom;

}

.fpbiome.image .box .row .cell .image img { width: 100%; height: auto; vertical-align: middle; }

.fplink .box .row .cell { border-radius: 20px; }