MediaWiki:Hydra.css

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

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

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

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

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

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

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

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

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

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

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

p { font-family: "OpenSans-Regular"; }

/* links/anchors */ a, a:visited, div#content a.extiw, div#content a.extiw:visited, div#content a.external, div#content a.external:visited { color: #89B0B1; font-family: "OpenSans-Semibold"; text-shadow: 1px 1px black; }

a:hover { color: #089381; } /* Hide main page header */ body.page-Two_Point_Hospital_Wiki h1.firstHeading { display:none; }

body { background-image: url(/media/twopointhospital.gamepedia.com/f/ff/Mobile_bg.png); background-color:#45BFE7; background-size: cover; background-position: top center; background-repeat: no-repeat; background-attachment: fixed; }

background-color: transparent; background-image: none; background-position: left bottom; background-repeat: repeat-x; height: 5em; }
 * 1) mw-page-base {

padding-right: 1em; }
 * 1) pageWrapper {

.mw-body { background-color: white; border:none; color: #252525; direction: ltr; margin-top: 15px; }

/* Sidebar */ div#mw-panel div.portal, div#mw-panel div.portal div.body, background-image: none; /* Optional! This removes the lines be horizontal lines between the portals */ }
 * 1) mw-panel.collapsible-nav .portal {

div#mw-panel div.portal div.body ul li a, div#mw-panel div.portal div.body ul li a:visited { color: white; /* This color can be the same as other links on the wiki, or the same as the portal labels on the sidebar, or different from either */ }

div#mw-panel div.portal h3, div#mw-panel div.portal h3:visited, color: white; text-shadow: 1px 1px black; font-family: "OpenSans-Bold"; text-transform: uppercase; /* Optional, to make the labels stand out */ font-size:102%; }
 * 1) mw-panel.collapsible-nav .portal h3 a,
 * 2) mw-panel.collapsible-nav .portal h3 a:visited,
 * 3) mw-panel.collapsible-nav .portal.collapsed h3 a,
 * 4) mw-panel.collapsible-nav .portal.collapsed h3 a:visited {

background-position: left center; background-repeat: no-repeat; background-image: url(https://commons.gamepedia.com/media/commons.gamepedia.com/4/46/Arrow_down_icon.png); background-image: linear-gradient(transparent,transparent),url(https://commons.gamepedia.com/media/commons.gamepedia.com/4/46/Arrow_down_icon.png); background-image: -o-linear-gradient(transparent,transparent),url(https://commons.gamepedia.com/media/commons.gamepedia.com/4/46/Arrow_down_icon.png); padding: 4px 0 3px 1.5em; }
 * 1) mw-panel.collapsible-nav .portal h3 {

color: white; background-position: left center; background-repeat: no-repeat; background-image: url(https://commons.gamepedia.com/media/commons.gamepedia.com/e/e0/Sidebar_toggle_collapse_white_right.png); background-image: linear-gradient(transparent,transparent),url(https://commons.gamepedia.com/media/commons.gamepedia.com/e/e0/Sidebar_toggle_collapse_white_right.png); background-image: -o-linear-gradient(transparent,transparent),url(https://commons.gamepedia.com/media/commons.gamepedia.com/e/e0/Sidebar_toggle_collapse_white_right.png); }
 * 1) mw-panel.collapsible-nav .portal.collapsed h3 {

div#mw-panel div#p-socialProfiles.portal .body { margin: auto; }

.socialSidebar { width: auto; max-width: 100%; }

/* top nav */ div.vectorTabs, div.vectorTabs span, div.vectorTabs li.selected, div.vectorTabs ul, div.vectorTabs ul li, div.vectorTabs li a { background-color: rgba(0, 0, 0, 0); background-image: none; }

div.vectorTabs ul li { margin-right: 5px; }

div.vectorTabs li span { -moz-border-bottom-colors: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; background-attachment: scroll; background-clip: border-box; background-color: #91CFC3; background-image: none; background-position-x: 0; background-position-y: 0; background-repeat: repeat; background-size: auto auto; border-bottom-color: currentcolor; border-bottom-style: none; border-bottom-width: medium; border-image-outset: 0; border-image-repeat: stretch stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: white; border-left-style: solid; border-left-width: 2px; border-right-color: white; border-right-style: solid; border-right-width: 2px; border-top-color: white; border-top-left-radius: 4px; border-top-right-radius: 4px; border-top-style: solid; border-top-width: 2px; display: inline-block; height: 42px; margin-top: 0.5em; padding-bottom: 2px; padding-left: 10px; padding-right: 10px; padding-top: 2px; text-align: center; }

div.vectorTabs li span:hover { background: transparent; background-color: #0AA690; }

div.vectorTabs li a { background-image: none; margin-top: -16px; }

div#mw-head a, div#mw-head div.vectorTabs a, div#mw-head div.vectorMenu a, .vectorTabs li a span { color: #c0c0c0; font-weight: bold; }

div#mw-head a, div#mw-head div.vectorTabs a, div#mw-head div.vectorMenu a, .vectorTabs li a span, div.vectorMenu h3 span { color: #c0c0c0; font-weight: bold; }

div#mw-head a:hover, div#mw-head div.vectorTabs a:hover, div#mw-head div.vectorMenu a:hover, .vectorTabs li a span:hover, div.vectorMenu h3 span:hover { color: #202020; font-weight: bold; }

div#mw-head li.new a, div#mw-head li.new a:visited { color: #fc0000 !important; text-shadow: 1px 1px #000000; }

div.vectorTabs ul li:first-child { border-image: none; border-left: medium none; }

div#mw-head li.selected a, div#mw-head li.selected a span, div#mw-head div.vectorTabs li.selected a, div#mw-head div.vectorTabs li.selected a:visited { color: #ffffff !important; font-weight: bold; }

div#p-sharing .menu { background-color: white; box-shadow: 0 0.1em 0.75em #d5d4d4; margin-left: 45px; min-width: 0px; width: 48px; }

width: 100%; }
 * 1) p-sharing #socialIconImages img {

width: 40px; }
 * 1) p-sharing #socialIconImages a {

div.vectorMenu h3 span { font-weight: bold; padding-top: 0.1em; color:white; text-shadow: 1px 1px #000000; }

div.vectorMenu h3 span a, div.vectorMenu h3 span a:active { background: url("https://commons.gamepedia.com/media/commons.gamepedia.com/0/0b/Vector_menu_downarrow.png") no-repeat scroll center center transparent; }

div#mw-head div.vectorMenu h4, div#p-variants.vectorMenu #mw-vector-current-variant { color: #FFFFFF; font-weight: bold; padding-top: 0.2em; text-shadow: none; }

padding: 16px 0 0; }
 * 1) ca-unwatch.icon a,
 * 2) ca-watch.icon a {

div#mw-head div.vectorMenu h3 { -moz-border-bottom-colors: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; background-attachment: scroll; background-clip: border-box; background-color: #91CFC3; background-image: none; background-position-x: 0; background-position-y: 0; background-repeat: repeat; background-size: auto auto; border-bottom-color: currentcolor; border-bottom-style: none; border-bottom-width: medium; border-image-outset: 0; border-image-repeat: stretch stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: white; border-left-style: solid; border-left-width: 2px; border-right-color: white; border-right-style: solid; border-right-width: 2px; border-top-color: white; border-top-left-radius: 4px; border-top-right-radius: 4px; border-top-style: solid; border-top-width: 2px; display: inline-block; height: 42px; margin-bottom: 0.5em; margin-top: 0.5em; padding-bottom: 2px; padding-left: 10px; padding-right: 10px; padding-top: 2px; text-align: center; }

div#mw-head div.vectorMenu h3:hover { background-color: #0AA690; }

div.vectorMenu h3 span::after { content: ''; position: absolute; top: 0.5em; right: 0; bottom: 0; left: 0; background-image: url("https://commons.gamepedia.com/media/commons.gamepedia.com/8/80/Vector_menu_downarrow_white.png"); background-position: 100% 60%; background-repeat: no-repeat; opacity: 0.85; }

div.vectorMenu div.menu { border: none; left: auto; margin-left: 5px; right: 0; top: 40px; }

div#mw-head div.vectorMenu ul { background-color: white; background-image: none; border-right: 5px none; }

div#mw-head div.vectorMenu li a { color: #998B77; }

div#mw-head div.vectorMenu li a:hover { color: #F9ECDA; }

.vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a { margin: 0; padding: 0; display: block; width: 28px; padding-top: 2em; margin-top: 0em; height: 0; overflow: hidden; background-position: 5px 60%; background-repeat: no-repeat; }

/* 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 { font-size: 110%; font-weight: bold; padding: 0.5em; }

.infoboxdetails { padding: 0em; }

/* copyright images tweak */ .copyright-icon { background: url("https://commons.gamepedia.com/media/commons.gamepedia.com/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(10, 166, 144, 0.5); color: white; }

/* Level 2 styling */ .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: rgba(10, 166, 144, 0.5); color: white; }

/* 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(10, 166, 144, 0.2); 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 section governs the responsive 3 column main page layout */ .fpmain { width: 100%; overflow: hidden; z-index: 1; }

.fpbanner { background: rgba(0, 0, 0, 0.05); border: 1px solid #505050; box-shadow: 0 2px 5px #505050; 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 { background: rgba(0, 0, 0, 0.05); border: 1px solid #89B0B1; box-shadow: 0 2px 5px #89B0B1; margin: 5px; padding: 5px; overflow: auto; }

.fpbox .mainheading { border: none; font-size: 150%; font-weight: bold; margin: 0 0 10px 0; padding: 0 0 5px 0; overflow: auto; color: #89B0B1; text-shadow: 1px 1px black; font-family: "OpenSans-Bold"; }

.fpbox .heading { border: none; text-align: center; font-size: 132%; margin: 0 0 10px 0; padding: 0 0 5px 0; overflow: auto; color: #89B0B1; text-shadow: 1px 1px black; font-family: "OpenSans-Bold"; }

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

/* Wiki editor fixes */ div.wikiEditor-preview-contents, div.wikiEditor-preview-loading { background-color: transparent; }

.wikiEditor-ui { background: rgba(0, 0, 0, 0); border: medium none; }

.wikiEditor-ui .wikiEditor-ui-view { border-bottom: medium none; border-left: 1px solid #202020; border-right: 1px solid #202020; border-top : medium none; }

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

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

.wikiEditor-ui-tabs { background-color: #089381; border-left: 1px solid #202020; border-top: 1px solid #202020; }

.wikiEditor-ui-tabs div { background-color: #089381; border-right: 1px solid #202020; border-bottom: 1px solid #202020; }

.wikiEditor-ui-tabs div a { background: #10BAA4; /* you can use a gradient here if you want to match your vector tabs or get fancy */ color: white; }

.wikiEditor-ui-tabs div.current { background-color: #FF7727; border-bottom: 1px solid #202020; }

.wikiEditor-ui-tabs div.current a { color: white; /* depends on your tabs bg & how different you wish the current tab and text to appear */ font-weight: bold; /* optional to make it stand out */ }

.wikiEditor-ui .wikiEditor-ui-top { border-bottom: 1px solid #202020; }

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

.wikiEditor-ui-toolbar .group { border-right: 1px solid #202020; }

.wikiEditor-ui-toolbar .group-search { border-left: 1px solid #202020; border-right: none; }

.wikiEditor-ui-toolbar .group .label { color: black; }

.tab { border-color: rgba(0, 0, 0, 0); }

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

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

.wikiEditor-ui-toolbar .group .tool-select .label { color: #0AA690; /* or any other dark colour, or change the bg to a dark colour to contrast with light text */ }

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

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

.wikiEditor-ui-toolbar .booklet .index .current { background-color: #089381; color: #202020; }

.wikiEditor-ui-toolbar .booklet .pages { background-color: #089381; }

.wikiEditor-ui-toolbar .page-characters div span { border: 1px solid #202020; color: #202020; background:white; }

.wikiEditor-ui-toolbar .page-characters div span:hover { background-color: rgba(255, 255, 255, 0.3); border-color: #202020; color: #FF7796; }

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

.wikiEditor-preview-loading { background-color: rgba(0, 0, 0, 0); }

.wikiEditor-preview-contents { background-color: rgba(0, 0, 0, 0); border-color: -moz-use-text-color #202020 #202020; border-image: none; border-style: none solid solid; border-width: medium 1px 1px; }

.editOptions { background-color: gray; border-color: -moz-use-text-color #202020 #202020; border-image: none; border-style: none solid solid; border-width: medium 1px 1px; }

.wikiEditor-ui-toolbar .group .tool-select .options .option { color: #089381; display: block; padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.5em; text-decoration-color: currentcolor; text-decoration-line: none; text-decoration-style: solid; white-space: nowrap; }

/* Preferences */ .client-js #preftoc { background-color: rgba(255, 255, 255, 0.5); border: 0px; padding-top:0.2em; }

.client-js #preftoc, .client-js #preftoc li, .client-js #preferences, .client-js #preftoc li a { background-image: none; background-color: transparent; color: #00B1BB; /* this font color may need tweaking, depending on your background choices */ }

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

.client-js #preftoc li.selected a { background-color: white; background-image: none; border-color: #aaaaaa #aaaaaa rgba(255, 255, 255, 0.5); border-style: solid; border-width: 1px; color: #29AD9A; /* this font color may need tweaking, depending on your background choices */ top: -3px; }

.client-js #preferences { background-color: rgba(255, 255, 255, 0.5); border: 1px solid #aaaaaa; }

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

/* tables */ table.wikitable > tr > th, table.wikitable > * > tr > th { background-color: #0AA690; text-align: center; color: white; } table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td { border: 1px solid gray; padding: 0.2em 0.4em; }

/* data tables */

.mw-datatable th { background-color: #0AA690; color: white; } .mw-datatable tr:hover td { background-color: #91CFC3; } .mw-datatable, .mw-datatable td, .mw-datatable th { border: 1px solid gray; padding: 0 0.15em 0 0.15em; }

table.jquery-tablesorter th.headerSort { background-image: url(https://commons.gamepedia.com/media/commons.gamepedia.com/3/36/Sort_both_white.gif); background-image: linear-gradient(transparent,transparent),url(https://commons.gamepedia.com/media/commons.gamepedia.com/3/36/Sort_both_white.gif); background-image: -o-linear-gradient(transparent,transparent),url(https://commons.gamepedia.com/media/commons.gamepedia.com/3/36/Sort_both_white.gif); cursor: pointer; background-repeat: no-repeat; background-position: center right; padding-right: 21px; }

/* footer */ div#footer #footer-info li { line-height: 1.4em; color: white; }