Railroad Corporation Wiki
No edit summary
No edit summary
Line 251: Line 251:
   
 
/* USER INTERFACE */
 
/* USER INTERFACE */
  +
/* Byte changes */
  +
.mw-plusminus-pos {
  +
color: #00ff00;
  +
}
  +
 
/* Bulletpoints */
 
/* Bulletpoints */
 
ul {
 
ul {

Revision as of 14:02, 30 September 2019

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

/* MAIN BODY */

body { 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background: url(/media/6/65/BG.jpg) no-repeat fixed center top / cover rgba(0,0,0,1);
}

#mw-page-base,
#mw-head-base{
    background: transparent;   
}

div#pageWrapper {
    background: transparent;  
    margin-top: 3em;
    min-height: 50em;

}

/* NAVIGATION BAR AND LOGO */

#p-logo {
    left: 50vw;
    margin-left: -250px;
    margin-top: 0.5em;
    height: 0em;
}

#p-logo a {
    width: 25em;
    height: 6.5em;
    background-size: contain;
}

div#p-portals {
    background: rgba(0,0,0,0.8);
}

/* Top navigation*/

#left-navigation, 
#right-navigation {
    padding: 0px;
    margin-top: 7.25em;
}

#left-navigation {
    margin-left: 12em;
}

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

/* Watch icon */
.vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a {
    padding-top: 1.6em;
}


div.vectorTabs {
    background-color: rgba(0, 0, 0, 0);
    background-image: none;
    height: 33px;
    margin-top: 8px;
}

div.vectorTabs span,
div.vectorTabs li.selected,
div.vectorTabs ul,
div.vectorTabs ul li,
div.vectorTabs li a {
    background: rgba(0, 0, 0, 0);
}

div.vectorTabs li span,
div#mw-head div.vectorMenu h3 {
    background: rgba(10, 65, 65, 0.9);
    border-radius: 10px;
    border: 1px solid #c0b49c;
    display: inline-block;
    font-weight: bold;
    height: 1.2em;
    padding: 2px;
    text-align: center;
}

div.vectorTabs li span {
    margin: -10px 3px 0 3px;
}

div#mw-head div.vectorMenu h3 {
    margin-top: -2px;
    padding: 2px;	
}

div#p-sharing .menu {
    margin-left: 45px;
    min-width: 0px;
    width: 48px;
}

#p-sharing #socialIconImages img {
    width: 100%;
}
 
#p-sharing #socialIconImages a {
    width: 40px;
}

div.vectorMenu h3 a {
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url(https://commons.gamepedia.com/media/commons.gamepedia.com/0/00/Light_down_arrow.svg) !important;
    background-position: 0 20%;
    background-repeat: no-repeat;
}

div#mw-head,
div.vectorTabs li a,
.vectorTabs li a span,
div#mw-head div.vectorTabs a,
div.vectorMenu h3 span {
    color: #cfbba3;
    text-shadow: none;
}

div.vectorMenu h3 span {
    font-weight: bold;
    padding-top: 0.1em;
}

div.vectorMenu h3 span:after {
    top: 0.25em;
    right: 2px;
}

.vectorTabs li a span,
div#mw-head div.vectorTabs a {
    margin-top: -1.2em;
}

div.vectorTabs li.selected a,
div.vectorTabs li.selected a:visited {
    color: #ffffff !important;
    text-shadow: none;
    font-weight: bold;
}

div.vectorTabs li.new a,
div.vectorTabs li.new a:visited {
    color: #BA0000 !important;
}

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

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

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

div.vectorMenu div.menu {
    background-color: #202020;
    background-image: none;
    border: 1px solid #202020;
    margin-top: -1em;
}

div.vectorMenu ul {
    background-color: rgba(0, 0, 0, 0);
    border: none;
}

/* Search menu */
#p-search {
    margin-top: 0.65em;
}

div#simpleSearch {
    background: rgba(10, 65, 65, 0.9);
    border-radius: 2px;
    border: 1px solid #c0b49c;
    margin-top: -1.25em;
    color: #fff;
}

div#simpleSearch #searchInput {
    color: #fff;
    font-weight: bold;
}

/* UI STYLING */
pre, 
.mw-code,
#catlinks, 
#toc, 
.toc, 
.mw-warning,
fieldset,
.skin-hydradark fieldset#mw-searchoptions,
.skin-hydradark fieldset#mw-searchoptions div.divider,
.skin-hydradark .mw-search-profile-tabs,
li.gallerybox div.thumb,
div.thumb,
div.thumbinner,
div#toc, div.toc, div.mw-warning {
    background-color: transparent;
    border-color: #c0b49c;
}

.htmlform-tip,
#contentSub, 
#contentSub2 {
    color: rgba(191,191,191,1);
}

/* MAIN CONTENT AREA */

div#content {
    background: rgba(10, 65, 65, 0.9);
    border-radius: 10px;
    border: 1px solid #c0b49c;
    margin-top: 4em;
}

/* FOOTER */
div#footer {
    border: #fff solid 0px;
    background: rgba(10, 65, 65, 0.9);
    border-radius: 10px;
    border: 1px solid #c0b49c;
    margin-bottom: 1em;
    margin-top: 1em;
}

/* USER INTERFACE */
/* Byte changes */
.mw-plusminus-pos {
    color: #00ff00;
}

/* Bulletpoints */
ul {
    list-style-type: disc;
    list-style-image: none;
}

/* Preferences */
.skin-hydradark #preferences,
.skin-hydradark .mw-search-profile-tabs {
    background-color: transparent;
    margin-top: 0em;
}

.skin-hydradark #preftoc a,
.skin-hydradark #preferences legend {
    color: #cfbba3;
}

/* Search */

.skin-hydradark fieldset#mw-searchoptions {
    background-color: transparent;
}

/* LINK STYLING MK II */
/* General link styles */
a:not(.new):not(.cc_btn):not(.visited)
{
    color: #cfbba3 !important;
}

a:visited,
a.external:visited {
    color: #c0b49c !important;
}

div#content a.new,
#quickbar a.new {
    color: #A63232 !important;
}

a.new:visited,
#p-personal a.new:visited {
    color: #a55858 !important;
}

div#netbar a,
footer#footer a {
    color: #aeaeae;
}


/* Sidebar */
div#mw-panel {
    background: rgba(10, 65, 65, 0.9);
    border-radius: 10px;
    border: 1px solid #c0b49c;
}

.skin-hydradark div#mw-panel div.portal h3,
.skin-hydradark div#mw-panel div.portal h3:visited,
.skin-hydradark #mw-panel.collapsible-nav .portal h3 a,
.skin-hydradark #mw-panel.collapsible-nav .portal h3 a:visited,
.skin-hydradark #mw-panel.collapsible-nav div.portal h3 a,
.skin-hydradark #mw-panel.collapsible-nav div.portal h3 a:visited,
.skin-hydradark #mw-panel.collapsible-nav .portal.collapsed h3 a,
.skin-hydradark #mw-panel.collapsible-nav .portal.collapsed h3 a:visited {
    color: #cfbba3;
    font-weight: bold;
}

div#mw-panel div.portal div.body ul {
    background: transparent
    border-radius: 10px;
    border: 0px solid #c0b49c;
    padding-left: 5px;
}

.skin-hydradark div#mw-panel div.portal div.body ul li a,
.skin-hydradark div#mw-panel div.portal div.body ul li a:link,
.skin-hydradark div#mw-panel div.portal div.body ul li a:visited {
    color: #cfbba3;
}

/* Wikitables */
.skin-hydradark .TablePager th,
.skin-hydradark .mw-datatable th,
.skin-hydradark table.mw_metadata th,
.skin-hydradark table.wikitable > * > tr > th {  
    background-color: rgba(10,65,65,0.8);
    border: 1px solid #c0b49c;
}

table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
    border: 1px solid #c0b49c;
}

/* Wiki editor */
div.wikiEditor-ui,
div.wikiEditor-ui-controls,
div.wikiEditor-ui-buttons {
    background-color: transparent;
}

div.wikiEditor-ui {
    border: 0px solid #505050;
}

div.wikiEditor-ui .wikiEditor-ui-view {
    border: 0px solid #505050;
    border-left: 1px solid #505050;
    border-right: 1px solid #505050;
}

/* Visual editor */
.oo-ui-popupToolGroup .oo-ui-toolGroup-tools {
    background-color: #282828;
    border: 1px solid #383838;
}

.oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-title {
    color: #e0e0e0;
}

.oo-ui-listToolGroup .oo-ui-tool.oo-ui-widget-enabled:hover,
.oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover,
.oo-ui-barToolGroup.oo-ui-widget-enabled > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-widget-enabled:hover,
.oo-ui-widget.oo-ui-widget-enabled.oo-ui-optionWidget.oo-ui-decoratedOptionWidget.oo-ui-outlineOptionWidget.oo-ui-outlineOptionWidget-level-0.oo-ui-iconElement.oo-ui-labelElement:hover {
    background-color: rgba(255,255,255,0.2);
}

.oo-ui-decoratedOptionWidget .oo-ui-iconElement-icon,
.oo-ui-decoratedOptionWidget .oo-ui-indicatorElement-indicator,
.oo-ui-fieldsetLayout.oo-ui-iconElement > .oo-ui-fieldsetLayout-header > .oo-ui-iconElement-icon {
    filter: invert(100%);
}

.oo-ui-textInputWidget.oo-ui-iconElement .oo-ui-iconElement-icon {
    filter: unset;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button {
    border-color: #ffffff;
}

.oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-popupToolGroup-active {
    background-color: rgba(255,255,255,0.2);
}

.oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon,
.oo-ui-popupToolGroup.oo-ui-labelElement.oo-ui-indicatorElement .oo-ui-popupToolGroup-handle .oo-ui-labelElement-label,
.oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-iconElement > .oo-ui-tool-link .oo-ui-iconElement-icon {
    filter: invert(100%);
}

.oo-ui-messageDialog-actions .oo-ui-actionWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive .oo-ui-buttonElement-button:hover {
    background-color: #282828;
}

.oo-ui-indicator-down {
    background-image: linear-gradient(transparent,transparent),url(https://commons.gamepedia.com/media/commons.gamepedia.com/0/00/Light_down_arrow.svg);
    filter: unset;
}

.ve-ui-mwSaveDialog-options {
    background-color: #282828;
}

.ve-ui-mwSaveDialog-license {
    color: #e0e0e0;
}

/* Page history tweaks */
td.diff-addedline .diffchange {
    background: none;
    color: #bfd959;
}

td.diff-deletedline .diffchange {
    background: none;
    color: #e62444;
}

td.diff-addedline,
td.diff-deletedline {
    border-color: transparent;
}

/* Interwiki page legend tweak */
.mw-collapsible-toggle.mw-collapsible-toggle-expanded a,
.mw-collapsible-toggle.mw-collapsible-toggle-collapsed a {
    color: #ffffff;
}

/* 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: #282828;
    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: rgba(0, 0, 0, 0.5);
    border: 1px solid #cfbba3;
    color: #ffffff;
    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: #181818; 
    border: 2px solid inherit; 
    border-radius: 5px; 
    font-weight: bold;
    padding: 0.5px 7px;
    text-align: right;
}

.infoboxname {
    background-color: #181818; 
    font-size: 110%; 
    font-weight: bold;
    padding: 0.5em; 
}

.infoboxdetails {
    padding: 0em;
}

/* copyright images tweak */
.skin-hydradark .copyright-icon {
    background-image: url("https://commons.gamepedia.com/media/commons.gamepedia.com/thumb/5/58/Copyright_darkwiki.png/32px-Copyright_darkwiki.png");
    background-size: 100%;
    height: 32px;
    width: 32px;
}

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

/* Navbox template style */
table.navbox {
    border: 1px solid #505050;
    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(0, 0, 0, 0.1);
}

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

/* Level 1 color */
.navbox-title,
table.navbox th {
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
}

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

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

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

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

/* *********************************************************************************** */
/* CSS placed here will affect the main page layout                                    */
/*                                                                                     */
/* The main page css has been moved to two different pages: MediaWiki:3colmainpage.css */
/* and MediaWiki:2colmainpage.css                                                      */
/*                                                                                     */
/* Wiki managers should copy over the appropriate version to this file and make any    */
/* wiki specific changes where necessary                                               */
/*                                                                                     */
/* *********************************************************************************** */

/* Front page appearance styles */
.fpbox .heading,
.fpbox .mainheading {
    border: 0;
    border-bottom: 1px solid #505050;
}

.fpbox {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid #c0b49c;
}

.fplink:not(.fplink-plain) {
    background: rgba(0,0,0,0.3);
    border: 1px solid #c0b49c;
}

.fplink-fullwidth .fplink:not(.fplink-plain) {
    background: rgba(0,0,0,0.4);
}

.linkslabel {
    border-bottom: 2px solid #505050;
}

/* This CSS governs the responsive 3 column main page layout */
#fptweets {
    min-height:calc(325px + 2.3em);
}

#fp-container {
    display: grid;
    grid-template-areas: "a" "b" "c" "d";
    grid-template-columns: 100%;
}

@media screen and (min-width:990px) {
    #fp-container {
        grid-template-areas: "a b" "c b" "c d";
        grid-template-columns: 50% 50%;
    }
}
@media screen and (min-width:1350px) {
    #fp-container {
        grid-template-areas: "a b c" "d b c";
        grid-template-columns: 33.3% 33.3% 33.3%;
    }
}

.fp-section {
    display: flex;
    flex-wrap: wrap;
}

#fp-1 {
    grid-area: a;
}

#fp-2 {
    grid-area: b;
}

#fp-3 {
    grid-area: c;
}

#fp-4 {
    grid-area: d;
}

#fp-container main .columns .leftcol,
#fp-container .columns .rightcol {
    width: 100%;
    margin: 0;
    padding: 0;
}

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

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

@media (min-width: 990px) {
    #fp-container .columns .leftcol {
        float: left;
        width: 50%;
    }

    #fp-container .columns .rightcol {
        float: right;
        width: 50%;
    }
}