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

/* Logo */ height: 220px; }
 * 1) p-logo,
 * 2) p-logo a {

/* Fix sidebar overlapping with logo: Second child is the first element in the #mw-panel after the logo element */ margin-top: 60px !important; }
 * 1) mw-panel div.portal:nth-child(2) {

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

body { background-image: url(https://static.wikia.nocookie.net/transitkingtycoon_gamepedia_en/images/1/1f/Background.jpg/revision/latest); background-attachment: fixed; background-size: cover; background-repeat: no-repeat; }

/* Content */ margin-right: 1.5%; }
 * 1) content {

margin-right: 3%; }
 * 1) right-navigation {

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

background: #fff; box-shadow: 0 0 0 2pt #0091ff; border-radius: 15px; }
 * 1) content {

div#catlinks { border-radius: 3px; }

/* Tables */ .mw-datatable tr:hover td { background-color: #eee; }

.mw-datatable th, table.wikitable > tr > th, table.wikitable > * > tr > th { background-color: #ffc60c; }

.mw-datatable, .mw-datatable td, .mw-datatable th, table.wikitable, table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td { border-color: #000; }

/* Footer */ color: #e0e0e0; text-shadow: 1px 1px 2px #000; }
 * 1) footer ul li {

color: #fff; }
 * 1) footer ul li a {

/* Article navigation */ div.vectorTabs li span, div.vectorMenu h3 span { background: #0091ff; border: 2px solid #fff; box-shadow: 0 0 0 2pt #0091ff; border-radius: 5px; padding: 3px 10px; margin: 0px 5px 0 3px; height: 19px; text-align: center; }

div.vectorMenu h3 { padding-top: 4px !important; margin-top: -4px !important; }

margin-top: -7px; }
 * 1) p-search {

div.vectorMenu h3 span { padding-right: 20px; }

div.vectorTabs, div.vectorTabs ul, div.vectorTabs ul li, div.vectorTabs ul li.selected { background: transparent; border: none; }

.vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a { padding-top: 1.4em; }

div.vectorTabs li span a { color: #FFFFFF; }

div.vectorTabs span a { padding-top: 0; }

div.vectorTabs span a:visited, div.vectorTabs li span a:hover, div.vectorTabs li span a:visited:hover, div.vectorTabs li.selected span a, div.vectorTabs li.new a, div.vectorMenu h3 span { color: #FFFFFF !important; }

div.vectorMenu div.menu ul li a { color: #000; }

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

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

div.vectorMenu div.menu { background: #fff; border: 2px solid #0091ff; border-radius: 5px !important; }

div.vectorMenu h3 span::after { filter: invert(100%); right: 5px; top: 0; }

div.vectorTabs ul li a, div.vectorMenu h3 span, div.vectorMenu div.menu ul li a { text-transform: uppercase; }

border-radius: 5px; border: 2px solid #0091ff; }
 * 1) p-search #simpleSearch {

/* Sidebar */ color: #1c6d03 !important; transition-duration: 0.5s }
 * 1) mw-panel .portal .body ul li a {

text-decoration: none; padding-left: 0.5em; transition-duration: 0.5s; }
 * 1) mw-panel .portal .body ul li a:hover,
 * 2) mw-panel .portal .body ul li a:active,
 * 3) mw-panel .portal .body ul li a:focus {

li#feedlinks a:hover { padding-left: 24px !important; }

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

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

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

div#mw-panel div.portal { padding-bottom: 10px; }

div#mw-panel div.portal:not(#p-claimWiki):not(#p-socialProfiles):not(#p-sitePromos) { background: #fff; box-shadow: 0 0 0 2pt #2fb705; border-radius: 10px; margin: 5px; margin-bottom: 10px; padding-top: 5px; }

/* 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 { border-radius: 3px; background-color: #f9f9fa; border: 1px solid #222; 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: rgba(228, 128, 0, 0.25); border: 2px solid inherit; border-radius: 5px; font-weight: bold; padding: 0.5px 7px; text-align: right; }

.infoboxname { border-top-left-radius: 3px; border-top-right-radius: 3px; background-color: #ffc60c; font-size: 110%; font-weight: bold; padding: 0.5em; }

.infoboxdetails { background-color: rgba(228, 128, 0, 0.25); padding: 0em; text-align: center; }

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

/* Front page appearance styles */ .fpbox .heading, .fpbox .mainheading { background: #ffc60c; border: 0; border-bottom: 2px solid #000; font-weight: bold; }

.fpbox { background: #bcbcbc; border: 2px solid #000; border-radius: 15px; box-shadow: 0 2px 5px #505050; padding: 0; }

.fpbox .body { padding-bottom: 5px; }

.fpbox .body, .fpbox .heading, .fpbox .mainheading { padding-left: 10px; padding-right: 10px; }

.fpbox .heading, .fpbox .mainheading { padding-top: 5px; }

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

/* Tooltips for Template:Icon */ .tkt-icon:hover .tooltip { background: #e48000; border: 2px solid #222; box-shadow: 0 0 0 2pt #e48000; border-radius: 5px; padding: 1px 5px; text-transform: uppercase; font-size: 0.9em; font-weight: bold; }

/* Style for the "Evolution"-tables */ table.evolution_facilities { background:url('https://gamepedia.cursecdn.com/transitkingtycoon_gamepedia_en/2/2f/Evolution_BG_Facilities.png'); width:640px; height:280px; background-repeat: no-repeat; background-size: 640px 280px; text-align: center; color: white; font-weight: bold; table-layout: fixed; }