MediaWiki:Mobile.css

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

/* variables */
 * root {

--box-background:		hsl(210, 45%, 12.5%); --box-shadow:			hsl(210, 100%, 45%);

--shadow-border:		hsl(210, 60%, 15%);

--table-background:		hsl(210, 30%, 30%); --table-darker:			hsl(210, 30%, 28.5%); --table-ligher:			hsl(210, 30%, 35%);

--th-background:		linear-gradient(to bottom, hsl(210,70%,25%) 0%, hsl(210,70%,35%) 90%); --th-font-color:		hsl(60, 65%, 65%);

--gui-font-color:			#d7faff; --gui-text-shadow-color:	#51a2ff; }

/* ==================================================

Utility Classes

================================================== */

.d-none {display: none !important;} .v-hidden {visibility: hidden; !important;}

.f-left {float: left;} .f-right {float: right;} .centered {text-align: center;}

.inline-flex, {display: inline-flex;} .column-container, .flex-box {display: flex;} .column-container .column {flex-grow: 1; flex-basis: 100%;}

.header-container.header-chrome { background-color: #505050; border: 0; box-shadow: inset 0 -1px 3px rgba(0,0,0,0.08); }

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

/*********/ /* fonts */ /*********/ @font-face { font-family: 'OpenSans-Bold'; src: local('OpenSans-Bold'), local('OpenSans-Bold'), url(/media/hydra/fonts/OpenSans-Bold.ttf) format('truetype'); }

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

@font-face { font-family: 'OpenSans-ExtraBold'; src: local('OpenSans-ExtraBold'), local('OpenSans-ExtraBold'), url(/media/hydra/fonts/OpenSans-ExtraBold.ttf) format('truetype'); }

@font-face { font-family: 'OpenSans-ExtraBoldItalic'; src: local('OpenSans-ExtraBoldItalic'), local('OpenSans-ExtraBoldItalic'), url(/media/hydra/fonts/OpenSans-ExtraBoldItalic.ttf) format('truetype'); }

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

@font-face { font-family: 'OpenSans-Light'; src: local('OpenSans-Light'), local('OpenSans-Light'), url(/media/hydra/fonts/OpenSans-Light.ttf) format('truetype'); }

@font-face { font-family: 'OpenSans-LightItalic'; src: local('OpenSans-LightItalic'), local('OpenSans-LightItalic'), url(/media/hydra/fonts/OpenSans-LightItalic.ttf) format('truetype'); }

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

@font-face { font-family: 'OpenSans-Semibold'; src: local('OpenSans-Semibold'), local('OpenSans-Semibold'), url(/media/hydra/fonts/OpenSans-Semibold.ttf) format('truetype'); }

@font-face { font-family: 'OpenSans-SemiboldItalic'; src: local('OpenSans-SemiboldItalic'), local('OpenSans-SemiboldItalic'), url(/media/hydra/fonts/OpenSans-SemiboldItalic.ttf) format('truetype'); } /*******************************************************************************/ /* Laconic is a font created by Robby Woodard under SIL Open Font License v1.10*/ /*******************************************************************************/ @font-face { font-family: 'Laconic_Bold'; src: local('Laconic_Bold'), local('Laconic_Bold'), url(/media/hydra/fonts/Laconic_Bold.otf) format('opentype'); }

@font-face { font-family: 'Laconic_Regular'; src: local('Laconic_Regular'), local('Laconic_Regular'), url(/media/hydra/fonts/Laconic_Regular.otf) format('opentype'); }

@font-face { font-family: 'Laconic_Shadow'; src: local('Laconic_Shadow'), local('Laconic_Shadow'), url(/media/hydra/fonts/Laconic_Shadow.otf) format('opentype'); }

@font-face { font-family: 'Laconic_Light'; src: local('Laconic_Light'), local('Laconic_Light'), url(/media/hydra/fonts/Laconic_Light.otf) format('opentype'); }

p { font-family: "OpenSans-Regular"; }

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

.pre-content h1, .content h1, .content h2, h3, h4, h5, h6 { font-family: Open sans; line-height: 1.3; word-wrap: break-word; word-break: break-word; }

body.mediawiki #mw-mf-page-center { background: url("https://static.wikia.nocookie.net/startraders_gamepedia_en/images/3/3a/Bg.png/revision/latest"); background-position: center top; background-attachment: fixed; background-repeat: no-repeat; background-color: black; background-size: cover; color:white; }

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

background-color: rgba(0, 0, 0, 0.7); }
 * 1) content,
 * 2) footer {

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

.content table { margin: 1em 0; overflow: auto; overflow-y: hidden; overflow-x: auto; display: block; width: 100% !important; }

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

.content table td, .content table th { border: none; 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: #202020; 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 { border-radius: 5px; border: 2px solid #505050; box-shadow: 0 0 0 2px rgba(0, 0, 0, 0) inset; background: transparent; color: inherit; margin: 5px; padding: 5px; overflow-x: auto; overflow-y: auto; }

.fpbox .welcome { border-bottom: 1px solid #505050; background: transparent; /* color: #e0e0e0; */ font-size: 150%; text-transform: uppercase; text-align: center; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fpbox .heading { font-family: "Laconic_Regular"; text-shadow: 0 0 2px #73E4F3; color: #73E4F3; border: none; border-bottom: none; text-align: center; font-size: 132%; margin: 0 0 10px 0; padding: 0 0 5px 0; overflow: auto; }

.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-bottom: 2px solid #505050; margin: 6px 3px 0 3px; }

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

.fpbox { background-image: url("https://static.wikia.nocookie.net/startraders_gamepedia_en/images/1/1a/Element_top.png/revision/latest"),url("https://static.wikia.nocookie.net/startraders_gamepedia_en/images/0/07/Element_middle.png/revision/latest"), url("https://static.wikia.nocookie.net/startraders_gamepedia_en/images/f/f3/Element_bottom.png/revision/latest"); background-color: #132635; background-position: top center,center top, center bottom; background-attachment: scroll; background-repeat: no-repeat,repeat-y,no-repeat; background-size: 100% auto; border:none; box-shadow: 0 2px 5px #73E4F3; color: white; margin: 5px; padding: 20px; overflow: auto; }

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

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

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

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

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

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

.fplink.wide { width: 50%; }

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

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

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

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

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

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

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

@media (min-width: 718px) { .fplink { width: 14.285%; }

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

@media (min-width: 824px) { .fplink { width: 12.5%; }

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

@media (min-width: 930px) { .fplink { width: 11.111%; }

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

@media (min-width: 1036px) { .fplink { width: 10%; }

.fplink.wide { width: 20%; }

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

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

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

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

/* ==================================================

Main Page Layout

================================================== */

@media (max-width: 790px) { .fp-box {width: 100%;} .fp-box .column-container {flex-wrap: wrap;} .fp-box .column {flex-basis: 50%;} .fp-box .column:nth-child(n + 2) {margin-top: 9px;} }

@media (min-width: 790px) { .fp-box {width: calc(50% - 12px)} #welcome-box, #job-links, #wiki-links {width: calc(100% - 12px);} .mpimages {margin: 0px 2px 9px 2px;} }

@media (min-width: 1390px) { .fp-box {width: calc(33% - 10px);} #welcome-box {width: 28.8%;} #job-links {width: calc(70% - 10px);} .mpimages {margin: 0px 3px 9px 3px;} #wiki-links {width: calc(66.6% - 12px);} }

.fp-box { display: inline-block; vertical-align: top; margin: 5px; }

.fp-header { background: url(https://static.wikia.nocookie.net/startraders_gamepedia_en/images/a/ac/FP-header-left.png/revision/latest) no-repeat center left,url(https://static.wikia.nocookie.net/startraders_gamepedia_en/images/6/6d/FP-header-right.png/revision/latest) no-repeat center right,url(https://static.wikia.nocookie.net/startraders_gamepedia_en/images/b/b8/Header-mid.png/revision/latest) repeat-x center; height: 49px; width: calc(100% + 2px); margin-left: -1px; padding: 10px 45px 20px 45px; box-sizing: border-box; text-align: center; font: normal 18px Laconic_Regular; }

.fp-box .content { background: var(--box-background); box-shadow: inset 0px 0px 6px var(--box-shadow); padding: 6px 12px; height: calc(100% - 61px); }

height: auto; width: auto; text-align: left; font: normal 23px Laconic_Regular; border-bottom: 2px solid #345a7c; border-radius: 10px; padding: 0px 0px 3px 0px; margin: 15px 0px 9px 25px; background: linear-gradient(to bottom,transparent,hsla(210,41%,35%,0.4)); color: var(--gui-font-color); text-shadow: 0px 0px 3px var(--gui-text-shadow-color); }
 * 1) welcome-box .fp-header {


 * 1) welcome-box .fp-header span {margin-left: -50px;}
 * 2) welcome-box .fp-header strong {font-weight: normal; white-space: nowrap;}


 * 1) job-links.fp-box .content {padding: 10px 5px 0px 5px;}

.fp-box .column div { font: normal 120% Laconic_Regular; margin: 0px 0px -3px 0px; }

.fp-box .column ul + div {margin-top: 9px;}

/* Character Jobs styling (full of hacks) */

.mpimages { height: 75px; width: 80px; display:inline-block; text-align:center; vertical-align: top; position: relative; padding-top: 20px; margin: 0px 3px 9px 3px; box-shadow: inset 0px 0px 18px 1px hsla(0, 0%, 0%, 0.6), 0px 0px 3px -1px var(--box-shadow); background: linear-gradient(to bottom, hsla(210, 50%, 10%, 1) 0%,hsla(210, 50%, 10%, 1) 20%, hsla(210, 50%, 17%, 1) 100%); }

.mpimages a { font: normal 90% Laconic_Light; text-transform: uppercase; }

.mpimages a:last-child { position: absolute; top: 0; left: 0; bottom: 0; right: 0; padding-top: 3px; }

.mpimages a:first-child { width: 100%; height: 100%; display: block; box-shadow: 0px -1px 0px hsla(210, 50%, 25%, 1); }

.mpimages:hover img { -webkit-filter: drop-shadow(0px 0px 10px #73E4F3); filter: drop-shadow(0px 0 3.5px #73E4F3) drop-shadow(1px 1px 1px #73E4F3); }

/* fixes for the header */ .lablemid { background: url(https://static.wikia.nocookie.net/startraders_gamepedia_en/images/3/30/Mid_element.png/revision/latest) repeat-x scroll 0 0 transparent; font-family: "Laconic_Regular"; color: #73E4F3; }

.content table.header { border: none; display: table; margin: auto; width: 100% !important; height: auto !important; }

.content table.header td, .content table.header th { border: none; padding: 0; }

.content p { margin: 0.5em 0 1em 0; padding: 15px; }

.content a > img { max-width:none !important; height: none !important; }

.view-border-box *, .view-border-box { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }