MediaWiki:Mobile.css

/* CSS placed here will affect users of the mobile site */ /* Header and footer */ .header-container.header-chrome, background: transparent; }
 * 1) mw-mf-page-center {

footer { /*    color: #e0e0e0; */ }

.overlay #secondary-button.user-button, .header #secondary-button.user-button, .overlay .user-button, .header .user-button { background: transparent; }

/* end header and footer */

.nomobile { display: none; }

.client-js .toc-mobile { background-color: rgba(0, 0, 0, 0) !important; border: 1px solid #505050 !important; }

.mw-ui-button, .last-modified-bar #mw-mf-last-modified { background-color: rgba(0, 0, 0, 0); /*    color: #e0e0e0; */ }

.overlay-enabled, #content { /*    background: #101010; color: #e0e0e0; */ }

@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'); }

.mw-body, .overlay .overlay-header-container, background: transparent !important; }
 * 1) mw-mf-page-center {

.header-chrome.header-container { border-bottom: 3px solid #000; background: rgba(0, 0, 0, 0.25); }

body.primary-navigation-enabled, 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) !important; /* */ background-attachment: fixed !important; background-repeat: no-repeat !important; background-size: cover !important; }

background: rgba(32, 26, 22, 0.7); }
 * 1) mw-mf-page-left {

color: #fff !important; font-family: 'Raleway-Regular'; text-transform: uppercase; }
 * 1) mw-mf-page-left ul li a {

background: #fff; padding: 5px; }
 * 1) bodyContent {

.footer-content { background: #1f1f1f; padding: 5px; color: #e0e0e0; }

.footer-content > ul:not(.footer-hydra) li a { color: #0699AD !important; }

h1 { font-family: 'Raleway-Bold' !important; color: #fff; }

a, a:visited, a.external { color: #5a93cc; }

/* For hydradark only - makes the section collapse arrow visible */ /* .mw-ui-icon-arrow::before { filter: invert(100%); }

.thumb, li.gallerybox div.thumb { background-color: rgba(0, 0, 0, 0); border: 1px solid #505050; }
 * 1) content_wrapper .thumb,

.content table th { background-color: rgba(0, 0, 0, 0); }

.content table td, .content table th { border: 1px solid #505050; padding: 3px; }

.content table.wikitable { background-color: rgba(0, 0, 0, 0); margin: auto; margin-bottom: 1em; }

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

.content table.wikitable > tr > th, .content table.wikitable > * > tr > th { background-color: inherit; padding: 3px; }

/* Responsive main page stuff */ /******************** /* Main menu styles * /********************/ .primary-navigation-enabled { border-left: 12px solid #505050 !important; background: #101010 !important; }

border-left: 12px solid #505050; background: transparent; }
 * 1) mw-mf-page-left {

background: transparent; }
 * 1) mw-mf-page-left ul {

border-bottom: 12px solid #505050; }
 * 1) mw-mf-page-left ul:first-child {

border-top: 1px solid #505050; border-bottom: 1px solid #505050; background: transparent; text-shadow: none; }
 * 1) mw-mf-page-left ul li {

border: none; color: #3674b3; }
 * 1) mw-mf-page-left ul li a,
 * 2) mw-mf-page-left ul.hlist li a {

border-left: 12px solid #aaaaaa; background: #505050; }
 * 1) mw-mf-page-left ul li:hover {

border: none; }
 * 1) mw-mf-page-left ul.hlist li:hover {

color: #ffffff; }
 * 1) mw-mf-page-left ul li:hover a,
 * 2) mw-mf-page-left ul.hlist li:hover a {

/********************* /* Front page styles * /*********************/ .fpbox { box-shadow: 0 0 0 2px rgba(0, 0, 0, 0) inset; background: transparent; color: inherit; margin: 5px; padding: 5px; }

.fpbox .welcome { border: 2px solid #000; background: #3f3f3f; font-size: 150%; text-transform: uppercase; text-align: center; margin: 0 0 10px 0; padding: 0 0 5px 0; letter-spacing: 2px; font-family: 'Raleway-Bold'; color: #fff; }

.fpbox .heading { border-bottom: 2px solid #000; background: #3f3f3f; font-size: 132%; font-variant: small-caps; margin: 0 0 10px 0; padding: 0 0 5px 0; color: #fff; letter-spacing: 2px; text-transform: uppercase; }

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

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

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

.fplinks { margin: -2px -3px; }

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

.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 { display: table; width: 100%; border-spacing: 2px 3px; border-collapse: separate; }

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

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

.fplink .box .row .cell { background: rgba(22, 22, 22, 0.75); border: 2px solid #000; /* color: #e0e0e0; */ display: table-cell; font-weight: bold; position: relative; text-align: center; text-transform: uppercase; vertical-align: middle; }

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

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

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

.fplink.image { width: 78px; height: 78px; }

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

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

.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: 3px 5px; }

.fplink.image .image a { padding: 0; }

.fplink.image .link a { border-top: 2px solid #505050; background: #ddddb7 !important; }

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

.fplink.image a { top: auto; }

.fpvideos { margin: 0 auto; overflow: hidden; text-align: center; max-width: 480px; }

.fpvideo { position: relative; padding-top: 25px; padding-bottom: 56.25%; height: 0; }

.fpvideo iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }