SimAirport Wiki
No edit summary
No edit summary
Line 723: Line 723:
 
.infoboxdetails {
 
.infoboxdetails {
 
padding: 0em;
 
padding: 0em;
}
 
 
 
/* Claim wiki button - this section can be removed if you remove the claim button from the main page */
 
.claimwikibutton {
 
text-align: center;
 
}
 
 
.claimwikibutton a {
 
background: url("https://media-mercury.cursecdn.com/attachments/1/716/claim_wiki_button.png") no-repeat scroll left center / 100% auto rgba(0, 0, 0, 0);
 
color: transparent;
 
display: block;
 
height: 57px;
 
margin: 0 auto;
 
max-width: 100%;
 
width: 200px;
 
}
 
 
.claimwikibutton a:hover {
 
background: url("https://media-mercury.cursecdn.com/attachments/1/717/claim_wiki_button_hover.png") no-repeat scroll left center / 100% auto rgba(0, 0, 0, 0);
 
color: transparent;
 
 
}
 
}
   

Revision as of 18:17, 24 April 2018

/* CSS placed here will affect users of the Hydra skin */
/* For elements which only display in the mobile view */
.mobileonly {
    display: none;
}
 
/* Hide main page header */
body.page-SimAirport_Wiki h1.firstHeading {
    display:none;
}

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

div#mw-head-base {
    background: none;
}

div#mw-head {
    background: none;
}

/* Framework */
body {
    background-attachment: fixed;
    background-color: #fff;
    background-image: url(https://simairport.gamepedia.com/media/simairport.gamepedia.com/9/98/Bg.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    color: #000;
}

/* Top Tabs */
#left-navigation {
}

#right-navigation {
    margin-right: 1em;
}

div#mw-head div.vectorTabs,
div#mw-head div.vectorTabs ul,
div#mw-head div.vectorTabs ul li,
div#mw-head div.vectorTabs ul li.selected,
div#mw-head div.vectorTabs ul li:not(#ca-unwatch):not(#ca-watch) a,
div#mw-head div.vectorTabs ul li.selected a,
div#mw-head div.vectorTabs ul li span,
div#mw-head div.vectorTabs ul li.selected span {
    background: none;
}

div#mw-head div.vectorTabs li a,
div#mw-head div.vectorTabs li a:visited,
div.vectorMenu h3 span {
    color: #fff;
    text-shadow: -1px 0 0.1em black, 0 1px 0.1em black, 1px 0 0.1em black, 0 -1px 0.1em black;
}
}

div#mw-head div.vectorTabs li a:hover,
div#mw-head div.vectorTabs li a:visited:hover {
    color: #fff;
    text-shadow: -1px 0 0.1em black, 0 1px 0.1em black, 1px 0 0.1em black, 0 -1px 0.1em black;
}

div#mw-head div.vectorTabs li.selected a,
div#mw-head div.vectorTabs li.selected a:visited {
    color: #296fcd;
    font-weight: bold;
    text-shadow: -1px 0 0.1em white, 0 1px 0.1em white, 1px 0 0.1em white, 0 -1px 0.1em white;
}

div#mw-head div.vectorMenu {
    background-image: url(https://commons.gamepedia.com/media/commons.gamepedia.com/0/0b/Vector_menu_downarrow.png);
}

div#mw-head div.vectorMenu h4 {
    color: #fff;
    text-shadow: -1px 0 0.1em black, 0 1px 0.1em black, 1px 0 0.1em black, 0 -1px 0.1em black;
}

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

div.vectorMenu div.menu {
    background: #fff;
    border: 2px solid #296fcd;
}

div#mw-head div.vectorMenu div.menu ul {
    background: none;
    border: none;
}

div#mw-head div.vectorMenu div.menu li a,
div#mw-head div.vectorMenu div.menu li a:visited {
    color: #000;
}

div#mw-head div.vectorMenu div.menu li a:hover,
div#mw-head div.vectorMenu div.menu li a:visited:hover {
    color: #000;
}

div#simpleSearch {
    background: #fff;
    border: 2px solid #296fcd;
}

#p-search input[type="submit"] {
}

#p-search input[type="search"] {
}

#p-search input:focus {
}

/* Sidebar */
div#mw-panel {
    margin-top: 1.6em;
}

div#mw-panel div.portal:not(#p-claimWiki):not(#p-socialProfiles):not(#p-sitePromos) {
    background: #fff;
    border: 3px solid #296fcd;
    margin: 0 9px 10px 0;
    padding: 0.25em 0 !important;
    width: 150px;
    margin-right: 1em;
    box-shadow: 0px 2px #023087;
}

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

div#mw-panel div.portal div.body ul li a,
div#mw-panel div.portal div.body ul li a:visited {
    color: #000;
}

div#mw-panel div.portal h3,
div#mw-panel div.portal h3:visited,
#mw-panel.collapsible-nav .portal h3 a,
#mw-panel.collapsible-nav .portal h3 a:visited,
#mw-panel.collapsible-nav .portal.collapsed h3 a,
#mw-panel.collapsible-nav .portal.collapsed h3 a:visited {
    color: #296fcd;
    font-weight:bold;
    font-size: 1em;
}

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

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

/* Link styles */
div#content a.external[href ^="https://"],
.link-https {
    background-image: url(https://simairport.gamepedia.com/media/simairport.gamepedia.com/b/b0/Lock-icon.png);
}
a, a:visited, .mw-body a.external, .mw-body a.external:visited {
    color: #438ab5;
}

/* Content */
div#content {
    background: #fff;
    color: #3a3a3a;
    border: 3px solid #296fcd;
    margin-right: 1em;
    overflow: hidden;
    box-shadow: 0px 2px #023087;
}

h1, h2, h3, h4, h5, h6, hr {
    color: #3a3a3a;
    border-color: #cccccc;
}

div#toc,
div.toc,
div.mw-warning,
ul#filetoc,
#catlinks {
    background: #f9f9f9;
    font-size: 0.8em;
    border: none;
    padding: 8px;
    border-radius: 2px;
}

/* Footer */
div#footer {
    background: #f7f7f7;
    border: 3px solid #296fcd;
    margin-right: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 10px 20px;
    box-shadow: 0px 2px #023087;
}

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

div#footer a {
    font-weight:bold;
}

/* Tables */
table.wikitable {
    background: none;
    border: 2px solid #296fcd;
    color: #000;
}

table.wikitable > tr > th,
table.wikitable > * > tr > th {
    background-color: #296fcd;
    border: 2px solid #0d2e65;
    color: #fff;
}

table.wikitable > tr > td,
table.wikitable > * > tr > td {
    background: none;
    border: 2px solid #296fcd;
    padding: 0.2em;
}

/* Infoboxes */
.infobox {
    background: none;
    border: 2px solid #296fcd;
    float: right;
    margin-bottom: 1em;
    margin-left: 1em;
    width: 300px;
    clear: right;
}

.infobox table {
    background-color: #f0f0f0;
    width: 100%;
}

.infobox th {
    padding: 3px;
    text-align: left;
}

table.infobox > tr > th,
table.infobox > * > tr > th {
    padding-left: .5em;
    padding-right: .5em;
    vertical-align: top;
}

table.infobox > tr > td,
table.infobox > * > tr > td {
    text-align: left;
    vertical-align: top;
}

.mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul {
    margin: 0 0 0 0.9em;
}

.infobox th.header, .infobox th.title {
    background-color: #438ab5;
    color: #fff;
    text-align: center;
    box-shadow: inset 0px -2px #377194;
}

.infobox th.title {
    font-size: 120%;
    padding: 0.5em;
}

.infobox td {
    padding: 3px;
}

.infobox td.image {
    padding: 1em;
    text-align: center;
}

.infobox.infobox-content-left  > tr > td,
.infobox.infobox-content-left  > * > tr > td {
    text-align: left;
}

/* Interface */
fieldset {
    border-color: #296fcd;
}

div#mw-js-message {
    background: #fff;
    border: solid 2px #296fcd;
}

.mw-search-profile-tabs {
    background: #fff;
    border: solid 2px #296fcd;
}

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

fieldset#mw-searchoptions div.divider {
    border-bottom: solid 2px #296fcd;
}

fieldset#mw-searchoptions {
    border-color: #296fcd !important;
    background: #fff;
}

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

table.mw_metadata {
    background: none;
    border: 1px solid #000;
}

table.mw_metadata th {
    background: #296fcd;
    border: 2px solid #0d2e65;
    color: #fff;
}

table.mw_metadata td {
    background: none;
    border: 2px solid #296fcd;
}

.mw-datatable {
    background: none;
    border: 2px solid #296fcd;
}

.mw-datatable th {
    background: #296fcd;
    border: 2px solid #0d2e65;
    color: #fff;
}

.mw-datatable td {
    background: none;
    border: 2px solid #296fcd;
}

.mw-datatable tr:hover td {
    background: rgba(41,111,205,.2);
}

li.gallerybox {
    border-color: transparent;
}

.thumb {
    border: none;
    box-shadow: 0.25em 0.25em 0.5em rgba(0,0,0,0.05);
}

.thumb,
div.thumbinner,
li.gallerybox div.thumb {
    padding: 0;
    background: #fafafa;
}

.thumbcaption {
    color: #696969;
    font-size: 12px;
}

html .thumbimage {
    border: none;
    width: 100%;
}

/* Wiki editor */
div.wikiEditor-ui {
    background: transparent;
    border: none;
}

div.wikiEditor-ui-buttons {
    background-color: transparent;
    border: none;
}

div.wikiEditor-ui-controls {
    background-color: transparent;
    border-bottom: none;
}

div.wikiEditor-ui-tabs {
    background-color: #296fcd;
    border-left: 1px solid #0d2e65;
    border-top: 1px solid #0d2e65;
}

div.wikiEditor-ui-tabs div {
    background-color: rgba(41,111,205,.15);
    border-right: 1px solid #0d2e65;
    border-bottom: 1px solid #0d2e65;
}

div.wikiEditor-ui-tabs div a {
    color: #fff;
	 background: none;
}

div.wikiEditor-ui-tabs div.current {
    background-color: rgba(41,111,205,.3);
    border-bottom: 1px solid #296fcd;
}

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

div.wikiEditor-ui .wikiEditor-ui-top {
    border-bottom: 1px solid #296fcd;
}

div.wikiEditor-ui .wikiEditor-ui-view {
    border: 1px solid #296fcd;
}

div#wikiEditor-ui-toolbar {
    background: linear-gradient( to bottom, rgba(41,111,205,0), rgba(41,111,205,.15) 26px);
}

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

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

div.wikiEditor-ui-toolbar .group .label {
    color: #000;
}

.tab {
    border-color: transparent;
}

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

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

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

div.wikiEditor-ui-toolbar .sections .section {
    background-color: rgba(41,111,205,.2);
    border-top: 1px solid #296fcd;
}

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

div.wikiEditor-ui-toolbar .booklet .index .current {
    background-color: rgba(41,111,205,.3);
    color: #000;
    font-weight: bold;
}

div.wikiEditor-ui-toolbar .booklet .pages {
    background-color: transparent;
}

div.wikiEditor-ui-toolbar .page-characters div span {
    border: 1px solid #296fcd;
    color: #000;
}

div.wikiEditor-ui-toolbar .page-characters div span:hover {
    background-color: rgba(41,111,205,.15);
    border-color: #296fcd;
    color: #000;
}

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

div.wikiEditor-ui-toolbar .page-table td {
    border-top: 1px solid #296fcd;
    color: #000;
}

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

div.wikiEditor-preview-contents {
    background-color: transparent;
    border: none;
	overflow-y: hidden;
}

div.editOptions {
    background-color: rgba(41,111,205,.2);
    border: 1px solid #296fcd;
	border-top: none;
}

/* Page history */
table.diff,
td.diff-otitle,
td.diff-ntitle {
    color: #000;
}

td.diff-context {
    background: rgba(0,0,0,.1);
    color: #000;
}

.diffchange {
    color: #000;
}

/* Preferences */
.client-js #preftoc,
.client-js #preftoc li,
.client-js #preferences,
.client-js #preftoc li a {
    background-color: rgba(0,0,0,0);
    background-image: none;
    color: #000;
}

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

.client-js #preftoc li.selected a,
.client-js #preftoc li.selected a {
    background: #296fcd;
    border-color: #0d2e65 #0d2e65 #0d2e65;
    border-style: solid;
    border-width: 1px;
    color: #fff;
    font-weight: bold;
}

.client-js #preferences {
    background-color: #fff;
    border: 1px solid #296fcd;
}

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

.client-js #preferences legend {
    color: #000;
}

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

.notice {
    background: #f9f9f9;
    padding: 5px;
    text-align: center;
}

.ambox {
    background-color: #f9f9f9;
    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: game or book depended color style */
.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: #FFF; /* Must match background color */
}

/* Level 1 color */
.navbox-title,
table.navbox th {
    background: #438ab5;
}

.navbox-title, .navbox-title a, .mw-body .navbox-title a.external {
    color: #efefef;
}

/* Level 2 styling */
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
    background: #f1f1f1;
    color: #333;
    text-align: left;
}

/* Level 3 styling */
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: #f1f1f1;
    color: #333;
}

/* Even row striping */
.navbox-even {
    background: transparent;
    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;
}

.mw-content-ltr .mw-collapsible-toggle, .mw-content-rtl .mw-content-ltr .mw-collapsible-toggle {
    font-size: 90%;
    line-height: 23px;
    font-weight: 400;
}

/*Homepage */

.heading {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    background: #438ab5;
    color: #fff;
    text-align: center;
    box-shadow: inset 0px -2px #377194;
}

/* Alternative */
.seealso {
    margin: 0.5em 2em 1em 2em;
    font-style: italic;
}
.patch-notes {
    background-color: #f9f9f9;
    padding: 20px;
}

/* End of new styling */