MediaWiki:Mobile.css

/* CSS placed here will affect users of the mobile site */ /* Header and footer */ .header-container.header-chrome, background-image: url(media/townshiptale.gamepedia.com/8/87/Banner.png); background-position: center top; background-attachment: fixed; background-repeat: no-repeat; background-color: gray; background-size: cover; }
 * 1) mw-mf-page-center {

footer { background-color: rgba(255, 255, 255, 0.8); color: #505050; }

.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-color: rgba(255, 255, 255, 0.8); color: #505050; }
 * 1) content {

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.1em 0.75em #855134 inset; background-color: rgba(211, 151, 80, 0.8); border-radius: 5px; border: 1px solid #505050; color: #505050; /* change for hydra (light) wikis */ margin: 5px 5px 5px 5px; padding: 5px 5px 5px 5px; }

.fpbox .welcome { border-bottom: 1px solid #505050; color: #505050; /* change for hydra (light) wikis */ font-size: 150%; margin: 0 0 10px 0; padding: 0 0 5px 0; text-align: center; font-family: "OpenSans-ExtraBold"; }

.fpbox .heading { border-bottom: 1px solid #505050; color: #505050; /* change for hydra (light) wikis */ font-size: 132%; margin: 0 0 10px 0; padding: 0 0 5px 0; font-family: "OpenSans-ExtraBold"; }

.fpbox .heading .smalllink { color: #505050; /* change for hydra (light) wikis */ font-size: 75%; font-family: "OpenSans-ExtraBold"; }

.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: #D39750; background-image: -moz-linear-gradient(center top, #D39750 0%, #855134 100%); background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%, #D39750), color-stop(100%, #855134)); background-image: -webkit-linear-gradient(top, #D39750 0%, #855134 100%); background-image: -o-linear-gradient(top, #D39750 0%, #855134 100%); background-image: -ms-linear-gradient(top, #D39750 0%, #855134 100%); background-image: linear-gradient(to bottom, #D39750 0%, #855134 100%); border: 1px solid #855134; border-radius: 4px; color: white; display: table-cell; padding: 0 6px; position: relative; text-align: center; 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 { display: block; position: relative; top: 0; right: 0; bottom: 0; left: 0; padding: 3px 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%; }

/************************ /* Responsive main page * /************************/   display: inline-block; vertical-align: top; width: 33.333%; max-width: 33.333%; }
 * 1) mainContent .threecols .leftcol {

display: inline-block; vertical-align: top; width: 33.334%; max-width: 33.334%; }
 * 1) mainContent .threecols .centercol {

display: inline-block; vertical-align: top; width: 33.333%; max-width: 33.333%; }
 * 1) mainContent .threecols .rightcol {

font-weight: bold; padding: 0; margin: 0 0 10px 1.6em; }
 * 1) mainContent .listheading {

padding: 0; margin: 0 0 10px 1.6em; }
 * 1) mainContent ul {

list-style: none; padding: 0; margin: 0 0 10px 0; }
 * 1) mainContent ul li {

display: block; border-radius: 8px; background: #45341E; font-weight: bold; text-align: center; padding: 4px; margin: 40px auto 0 auto; width: 200px; }
 * 1) mainContent .button .wrapper {

display: block; border-radius: 7px; background: #855134; background: linear-gradient(to right, #855134, #D39750 50%, #855134 100%); background: linear-gradient(to right, #855134, #D39750 50%, #855134 100%) border-box; color: #ffffff !important; font-weight: bold; text-align: center; padding: 8px; }
 * 1) mainContent .button a {

color: #2f1e0b; font-weight: bold; font-size: 125%; text-align: center; margin-bottom: 10px; }
 * 1) mainContent .heading {

border-radius: 7px; margin: 5px; }
 * 1) mainContent .mainBlockInner {

max-width: 100%; height: auto; }
 * 1) mainContent .mainBlockInner img {

flex: 0 1 100%; }
 * 1) mainFeature {

background: linear-gradient(rgba(42, 25, 7, 0.6), rgba(42, 25, 7, 0.6)), #1a0e05 url(https://atownshiptale.gamepedia.com/media/atownshiptale.gamepedia.com/b/bf/Discord_Splash_Feature.png) no-repeat center center / cover; color: #ffffff; font-size: 105%; text-align: center; padding: 15px 4%; line-height: 2; }
 * 1) mainFeature .mainBlockInner {

color: #ffffff; font-size: 340%; font-weight: bold; line-height: 62px; margin-bottom: 10px; }
 * 1) mainFeature .heading {

padding: 0 6%; }
 * 1) mainFeature p,
 * 2) mainGuide p {

background: linear-gradient(rgba(42, 25, 7, 0.6), rgba(42, 25, 7, 0.6)) repeat left top, #2a1907 url(https://atownshiptale.gamepedia.com/media/atownshiptale.gamepedia.com/1/1f/Getting_Started.png) no-repeat center top / cover; color: #ffffff; font-size: 105%; text-align: center; padding: 80px 8%; line-height: 2; }
 * 1) mainGuide .mainBlockInner {

color: #ffffff; font-size: 340%; font-weight: bold; line-height: 62px; }
 * 1) mainGuide .heading {

color: #ffdb4e; font-size: 250%; line-height: 45px; margin-bottom: 40px; }
 * 1) mainGuide .subheading {

.fillBackground .mainBlockInner { background: #fdf0d9; padding: 10px; }

.linkGridContainer { display: flex; flex-flow: row wrap; align-content: flex-start; justify-content: space-around; width: 100%; height: 100%; }

.linkGridItem { display: table; box-sizing: border-box; color: #ffffff; text-align: center; overflow: hidden; width: 33.333%; height: 130px; padding: 2px; }

.linkGridItem a { display: table-cell; background-position: center center, center center; background-size: cover, cover; color: #ffffff !important; text-shadow: 1px 1px 2px #000000; font-size: 110%; font-weight: bold; text-align: center; vertical-align: middle; padding: 0 25px; }

/*Town*/ background-image: url(https://atownshiptale.gamepedia.com/media/atownshiptale.gamepedia.com/3/3c/A-Township-Tale-Town-small.png) }
 * 1) locationLink1 a {

/*Caves*/ background-image: url(https://atownshiptale.gamepedia.com/media/atownshiptale.gamepedia.com/7/73/A-Township-Tale-Caves-small.png) }
 * 1) locationLink2 a {

/*Wooded Valley*/ background-image: url(https://atownshiptale.gamepedia.com/media/atownshiptale.gamepedia.com/7/74/A-Township-Tale-Forest-small.png) }
 * 1) locationLink3 a {

/*The Ponds*/ background-image: url(https://atownshiptale.gamepedia.com/media/atownshiptale.gamepedia.com/7/73/A-Township-Tale-Caves-small.png) }
 * 1) locationLink4 a {

/*Dust Bowl*/ background-image: url(https://atownshiptale.gamepedia.com/media/atownshiptale.gamepedia.com/7/73/A-Township-Tale-Caves-small.png) }
 * 1) locationLink5 a {

/*Mountain Pass*/ background-image: url(https://atownshiptale.gamepedia.com/media/atownshiptale.gamepedia.com/7/73/A-Township-Tale-Caves-small.png) } /*Battlefield*/ background-image: url(https://atownshiptale.gamepedia.com/media/atownshiptale.gamepedia.com/7/73/A-Township-Tale-Caves-small.png) }
 * 1) locationLink6 a {
 * 1) locationLink7 a {

/*The Town*/ background-image: url(https://atownshiptale.gamepedia.com/media/atownshiptale.gamepedia.com/7/73/A-Township-Tale-Caves-small.png) }
 * 1) locationLink8 a {

/*The Town*/ background-image: url(https://atownshiptale.gamepedia.com/media/atownshiptale.gamepedia.com/7/73/A-Township-Tale-Caves-small.png) }
 * 1) locationLink9 a {