MediaWiki:Mobile.css

/* CSS placed here will affect users of the mobile site */

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

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

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

/* Header and footer */ background: transparent; }
 * 1) mw-mf-page-center {

.header-container.header-chrome { background: #e29300; }

body.mediawiki #mw-mf-page-center { background: url(https://static.wikia.nocookie.net/miniworld_gamepedia_en/images/9/9a/Rollercoaster.jpg/revision/latest); background-size: cover; background-position: top center; background-repeat: no-repeat; background-attachment: fixed; background-color: #eda012; }

footer { background: rgba(255, 249, 175, 0.9); color: #202020; }

footer .last-modified-bar { border-bottom: solid 1px #c8ccd1; background-color: #e29300; display: block; color: #666; line-height: 1.5em; transition: background-color 0.2s ease,color 0.2s ease; }

.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, background: rgba(255, 249, 175, 0.9); color: #202020; }
 * 1) content {

a, a:visited, div#content a.extiw, div#content a.extiw:visited, div#content a.external, div#content a.external:visited { color: #ed9720; font-family: "OpenSans-ExtraBold"; }

a:hover { color: #c26a1b; }

/* 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 { margin: 1em 0; overflow: auto; overflow-y: hidden; overflow-x: auto; display: block; width: auto !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: #593d1c; padding: 3px; color: white; }

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

/* Recent changes */ .content .mw-changeslist table td { border: none; padding: 1px; }

/* Template documentation styles */ /* If modifying these styles, be sure to update the desktop skin! */ .doc { margin: 0em auto 1em; background-color: rgba(0, 0, 0, 0.1); border: 2px solid #BDCAC3; border-radius: 1em; padding: 1em; }

.doc-header { padding-bottom: 3px; border-bottom: 1px solid #BDCAC3; margin-bottom: 1ex; }

.doc-footer { margin: 0; background-color: rgba(0, 0, 0, 0.1); border: 2px solid #BDCAC3; border-radius: 1em; padding: 1em; }

/********************* /* Front page styles * /*********************/ .fpbox { background: rgba(255, 255, 255, 0.5); border-radius: 5px; border: 1px solid #593d1c; box-shadow: 0 0.1em 0.50em #593d1c; color: #593d1c; /* change for hydra (light) wikis */ margin: 5px 5px 5px 5px; padding: 5px 5px 5px 5px; }

.fpbox .welcome { border-bottom: 1px solid #593d1c; font-family: "OpenSans-Semibold"; color: #593d1c; font-weight: bold; text-shadow: 1px 1px 0.1em #000000; text-transform: uppercase; font-size: 150%; margin: 0 0 10px 0; padding: 0 0 5px 0; text-transform: uppercase; text-align: center; }

.fpbox .heading { background-image:url("https://static.wikia.nocookie.net/miniworld_gamepedia_en/images/0/01/Tile.png/revision/latest"); background-repeat: repeat; font-family: "OpenSans-Semibold"; border-radius:5px; border: 2px solid #998663; color: #593d1c; font-weight: bold; text-shadow: 1px 1px 0.1em #000000; text-transform: uppercase; font-size: 132%; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fpbox .heading .smalllink { font-family: "OpenSans-Semibold"; color: #593d1c; font-weight: bold; text-shadow: 1px 1px 0.1em #000000; text-transform: uppercase; font-size: 75%; font-weight: bold; }

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

.fplink .box .row .cell { background: #ED9720; border: 1px solid #c26a1b; border-radius: 2px; box-shadow: 0 0 0 2px #c26a1b; color: white; /* change for hydra (light) wikis */ 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 { 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, .fplink a:visited, .fplink a.extiw, .fplink a.extiw:visited, .fplink a.external, .fplink a.external:visited { font-family: "OpenSans-ExtraBold"; display: block; position: relative; top: 0; right: 0; bottom: 0; left: 0; padding: 1px 5px; color:white !important; }

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

div.cpbox div.feature { width:unset !important; }

/* INFOBOXES: game or book depended color style */ table.infoboxtable td { width: auto; }

th.infoboxname { width: 1000px; }

.infoboxtable { background-color: #5C4428; border-radius: 5px; border: 1px solid #998663; color: #000000; -webkit-align-self: center; align-self: center; font-size: 89%; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; width: auto; text-align:center; }

.infoboxtable td { vertical-align: top; border: 1px solid #998663; border-radius: 5px; text-shadow: 1px 1px #000000;

}

.infoboxtable td > div { background-image:url("https://static.wikia.nocookie.net/miniworld_gamepedia_en/images/0/01/Tile.png/revision/latest"); background-repeat: repeat; background-color: transparent; border: 2px solid #998663; border-radius: 5px; font-weight: bold; padding: 0.5px 7px; text-align: center; text-shadow:none; }

.infoboxname { background-color: transparent; color: #FFFF00; border: 2px solid #998663; border-radius: 5px; font-size: 110%; font-weight: bold; padding: 0.5em; }

.infoboxdetails, .infoboxstats { background-image:url("https://static.wikia.nocookie.net/miniworld_gamepedia_en/images/0/01/Tile.png/revision/latest"); background-repeat: repeat; background-color: transparent; border: none; border-radius: 5px; padding: 0em; }

/* branding box image */ div.branding-box { background-image: url(https://static.wikia.nocookie.net/miniworld_gamepedia_en/images/b/bc/Wiki.png/revision/latest); background-repeat: no-repeat; background-color: transparent; background-size: 80%; background-position: center center; background-attachment: inherit; }

.header .branding-box h1 span { line-height: 1; font-size: inherit; color: transparent; }

/* show content for mobile view */ .mobileshow { display: block !important; }