MediaWiki:Mobile.css

/* CSS placed here will affect users of the mobile site */ .nomobile { display: none; }

/**************** /* Custom Fonts * /****************/

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

@font-face { font-family: 'OpenSans'; font-weight: bold; font-style: normal; src: url(/media/media/hydra/fonts/OpenSans-Bold.ttf) format('truetype'); }

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

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

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

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

body { background-image: url(https://static.wikia.nocookie.net/viridi_gamepedia_en/images/1/1f/Background.jpg/revision/latest); background-position: center center; background-attachment: fixed; background-size: cover; background-repeat: no-repeat; font-family: 'OpenSans', sans-serif; }

.overlay-enabled, #content { background-color: rgba(255,255,255,.7); }

a, a:visited, a.external { color: #0645ad; }

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

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

.content table td, .content table th { border: 1px solid #ffffff; 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 #ffffff; }

.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 #ffffff !important; background: #101010 !important; }

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

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

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

border-top: 1px solid #ffffff; border-bottom: 1px solid #ffffff; 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: #ffffff; }
 * 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 {

/* this CSS governs the responsive 2 column main page layout */

.fpbox { background: rgba(255,255,255,.5); border: solid 3px #ffffff; border-radius: 5px; box-shadow: 5px 5px 10px rgba(0,0,0,.3); margin: 5px 5px 5px 5px; padding: 5px 5px 5px 5px; }

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

.fpbox .welcome { border-bottom: 1px solid #ffffff; font-size: 150%; margin: 0 0 10px 0; padding: 0 0 5px 0; text-transform: uppercase; text-align: center; }

.fpbox .heading { border-bottom: 1px solid #ffffff; font-size: 132%; font-variant: small-caps; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fpbox .heading .smalllink { color: #e0e0e0; /* change for hydra (light) wikis */ font-size: 75%; font-weight: bold; }

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

.fplinks { margin: -5px; }

.fplinks .linkslabel { background: rgba(0, 0, 0, 0); border-bottom: 2px solid #ffffff; margin: 15px 5px 5px 5px; padding: 0 0 5px 0; }

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

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

.fplink .box .row .cell { background: rgba(0, 0, 0, 0); border: 2px solid #ffffff; border-radius: 2px; box-shadow: 0 0 0 2px rgba(0,0,0,.3) inset; display: table-cell; font-weight: bold; position: relative; text-align: center; text-transform: uppercase; vertical-align: middle; }

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

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

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

@media (min-width: 470px) { .fplink { width: 50%; }

.fplink.wide { width: 100%; } }

@media (min-width: 580px) { .fplink { width: 33.333%; }

.fplink.wide { width: 66.666%; } }

@media (min-width: 690px) { .fplink { width: 25%; }

.fplink.wide { width: 50%; } }

@media (min-width: 800px) { .fplink { width: 20%; }

.fplink.wide { width: 40%; } }

@media (min-width: 910px) { .fplink { width: 16.666%; }

.fplink.wide { width: 33.333%; } }

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

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

.fplink.image .link a { background: rgba(0, 0, 0, 0.1); border-top: 2px solid #505050; }

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

.fpvideos { margin: 0 auto; overflow: hidden; text-align: center; }

.fpvideo { display: inline-block; margin: 0 5px; }

/* Image highlighting with drop shadow */ .highlight img, .highlight a img { background: rgba(0,0,0,0); -webkit-filter: drop-shadow(0px 0px 10px rgba(0,0,0,.6)); filter: drop-shadow(0px 0px 3.5px rgba(0,0,0,.6)) drop-shadow(1px 1px 1px rgba(0,0,0,.6)); }