MediaWiki:Mobile.css

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

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

/* Fixes for defaults from Mobile Frontend */ /* Tables without classes should not have borders or backgrounds that are then inherited by tables that do have classes. */ table, table > tr > td, table > tr > th, table > * > tr > td, table > * > tr > th, .content table th, .content table td, .content table th { background: none; border-collapse: separate; border-spacing: 2px; border: none; }

/* Tables are tables, not blocks................... */ table { display: table; }

html, body, .primary-navigation-enabled { }

body #mw-mf-page-center, body.navigation-enabled #mw-mf-page-center { background-color: #163144; background-image: url("https://static.wikia.nocookie.net/villagersandheroes_gamepedia_en/images/1/1f/Background.jpg/revision/latest"); background-repeat: no-repeat; background-position: center center; background-attachment: fixed; background-size: cover; color: #000; }

div#content { background-color: #fcc987; background-image: url("https://static.wikia.nocookie.net/villagersandheroes_gamepedia_en/images/c/c4/WindowBG.png/revision/latest"); background-repeat: repeat; border: none; padding: .5em;

font-size:14px; font-family: "Vollkorn"; line-height: 1.8; text-align: left; text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.4); margin: 10px; border-image: url(https://static.wikia.nocookie.net/villagersandheroes_gamepedia_en/images/4/4d/Parchment_border.png/revision/latest) 30 28 30 28 / 30px 28px / 9px 10px 10px 10px repeat round; }

.mw-body h1, .mw-body h2, .mw-body h3 { font-family: "Inknut Antiqua"; font-weight: 700; }

.mw-body b, .mw-body dt, .infoboxlabel{ font-family: "Inknut Antiqua"; font-size: 90%; }

a { color: #1d73a4; }

a:visited, a:hover { color: #4193cc; }

.mwm-notice, #searchbox { background: #fcc987; border: solid 1px #333; }

.content table.wikitable { background: none; border: 1px solid #333; color: #333; }

.content table.wikitable > tr > th, .content table.wikitable > * > tr > th { background-color: #337ab7; border: 1px solid #333; color: #fff; }

.content table.wikitable > tr > td, .content table.wikitable > * > tr > td { background: none; border: 1px solid #333; padding: 0.2em; }

/* table.infobox { background: #222; background: rgba(0,0,0,.15); background: linear-gradient(to bottom,rgba(0,0,0,.15) 0%,rgba(0,0,0,.02) 100%); border: 1px solid #333; border-spacing: 2px; width: 20em; float: right; margin: 0 0 2em 1em; }

table.infobox > tr > td, table.infobox > * > tr > td { background: none; padding: 0 .5em; text-align: right; }

table.infobox > tr > th, table.infobox > * > tr > th { background-color: #337ab7; color: #fff; padding-left: .5em; padding-right: .5em; }

table.infobox > tr > th.name, table.infobox > * > tr > th.name, table.infobox > tr > th.title, table.infobox > * > tr > th.title { font-size: 120%; text-align: center; }

table.infobox > tr > th.section, table.infobox > * > tr > th.section { text-align: center; }

table.infobox { background: rgba(0,0,0,.15) !important; border-spacing: 2px !important; float: none; margin: 0 auto 1em !important; }

table.infobox .header { display: table-cell; }

table.infobox { margin-right: auto; margin-left: auto !important; background: inherit; border: solid 1px #333; max-width: 21em !important; width: auto !important; } */

footer { background-color: transparent; border: none; padding: .5em; color: #fff; text-shadow: -1px 0 0.1em black, 0 1px 0.1em black, 1px 0 0.1em black, 0 -1px 0.1em black; background: linear-gradient(to bottom, rgba(0, 0, 0,0), rgb(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)); margin: 0; }

footer-info-mobile-switcher a, footer-info-mobile-switcher a:visited, footer-info-mobile-switcher a.external { color: #1d73a4; font-weight:bold; }

footer ul li { color: #fff; }

footer a { color: #3db3ff; font-weight:bold; }

/* this CSS governs the responsive 3 column main page layout */ .fpmain { width: 100%; overflow: hidden; z-index: 1; }

.fpbanner { border: 1px solid #876942; margin: 0 5px 5px 5px; padding: 5px; min-height: 80px; }

.fpbannertable { display: table; border: none; background: transparent; width: 100%; min-height: 75px; margin: 0; padding: 5px; }

.fpbannercell { display: table-cell; text-align: center; vertical-align: middle; }

.fpbannerblock { border: none; font-weight: bold; text-shadow: 0 0 8px rgba(255, 255, 255, 0.75); font-size: 132%; width: 100%; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fpmidsections { float: left; width: 100%; overflow: hidden; }

.fpbox { margin: 5px; margin-bottom: 10px; padding: 15px; overflow: auto; border: none; border-radius: 5px; background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)); box-shadow: inset 0px 0px 2px rgba(255,255,255,0.5),0px 0px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.4); }

.fpbox .mainheading, .fpbox-dark .mainheading, .fpbox-intro .mainheading, .fpbox .heading, .fpbox-dark .heading{ border: none; font-size: 150%; font-weight: bold; margin: 0 0 10px 0; padding: 0 0 5px 0; overflow: auto; font-family: "Inknut Antiqua"; color: #000; }

.fpbox-dark{ box-shadow: none; border-radius: 5px; border-image: url(https://static.wikia.nocookie.net/villagersandheroes_gamepedia_en/images/3/3b/Thickframe.png/revision/latest) 10 / 10px / 3px 3px 3px 3px stretch; background: linear-gradient(to bottom,#1a2638,#121b27); color: #fff; text-shadow: 1px 1px 0px #000000; padding: 20px; margin: 6px; margin-bottom: 25px; text-align: center; }

.fpbox-dark .mainheading, .fpbox-dark .heading{ color: #ffdd67; margin-bottom: 0px; }

.fpbox-intro{ padding: 0px 5px 15px 5px; text-align: center; }

.fpbox-intro .mainheading{ border: solid rgba(0,0,0,0); border-bottom-width: 28px; border-image: url(https://static.wikia.nocookie.net/villagersandheroes_gamepedia_en/images/1/10/Separator.png/revision/latest) 0 0 360 0 stretch; margin-bottom: 5px; padding-bottom: 10px; text-align: center; }

.fpbox .heading { background: transparent; font-weight: bold; text-align: center; color: #000; overflow: auto; font-family: "Inknut Antiqua"; font-size: 120%; border: solid rgba(0,0,0,0); border-bottom-width: 28px; border-image: url("https://static.wikia.nocookie.net/villagersandheroes_gamepedia_en/images/1/10/Separator.png/revision/latest") 0 0 360 0 stretch; margin-bottom: 15px; }

.columns-auto{ column-count: 1; }

.columns-auto p:first-child{ margin-top: 0; }

.fpmain .columns .leftcol { width: 100%; margin: 0; padding: 0; }

.fpmain .columns .rightcol { width: 100%; margin: 0; padding: 0; }

.fpsection1, .fpsection2, .fpsection3, .fpsection4 { float: left; clear: both; width: 100%; }

div.fp2columnonly, div.fp3columnonly { display: none; }

@media (min-width: 790px) { .fpsection1 { float: left; clear: none; width: 50%; }

.fpmidsections { clear: none; float: right; width: 50%; }

.fpsection4 { float: left; clear: none; width: 50%; }

div.fp2columnonly { display: block; } }

@media (min-width: 990px) { .fpmain .columns .leftcol { float: left; width: 50%; margin: 0; padding: 0; }

.fpmain .columns .rightcol { float: right; width: 50%; margin: 0; padding: 0; } }

@media (min-width: 1390px) { .fpmidsections { clear: none; float: right; width: 66.667%; }

.fpsection1 { clear: none; width: 33.333%; }

.fpsection2 { clear: none; width: 50%; }

.fpsection3 { clear: none; width: 50%; } .fpsection4 { clear: left; width: 33.333%; }

div.fp2columnonly { display: none; }

div.fp3columnonly { display: block; } }

.fpbox.plain { background: transparent; border: none; box-shadow: none; }

.fpimagelist ul { list-style-type: none; list-style-image: none; }

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

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

/* Infoboxes */ table.infobox {

width: 100%; border: none; border-radius: 5px; background: linear-gradient(rgba(255,255,255,0.3),rgba(255,255,255,0.1)); box-shadow: inset 0px 0px 2px rgba(255,255,255,0.5),0px 0px 3px rgba(0,0,0,0.1),0px 1px 2px rgba(0,0,0,0.4); padding: 10px; }

table.infobox img{ width: auto; height: auto; }

table.infobox table { background-color: #f0f0f0; width: 100%; }

table.infobox th { padding: 3px;

}

table.infobox > tr > th, table.infobox > * > tr > th { padding-left: .5em; padding-right: .5em; }

table.infobox > tr > td, table.infobox > * > tr > td { text-align: left; }

table.infobox th.header, table.infobox th.title { background-color: #337ab7; border: 1px solid #333; color: #fff; text-align: center; }

table.infobox th.title { font-size: 120%; padding: 0.5em; }

table.infobox td { padding: 3px; }

table.infobox td.image { padding: 1em; text-align: center; }

.infoboxname, .infoboxdescription{ border: solid rgba(0,0,0,0); border-bottom-width: 28px; border-image: url(https://static.wikia.nocookie.net/villagersandheroes_gamepedia_en/images/1/10/Separator.png/revision/latest) 0 0 360 0 stretch; margin-bottom: 15px; font-family: "Inknut Antiqua"; }

.infoboxdescription{ font-size: 13px; }

.infoboxlabel{ font-weight: bold; }

table.infobox.infobox-content-left > tr > td, table.infobox.infobox-content-left > * > tr > td { text-align: left; }

table.infobox > tr > th, table.infobox > * > tr > th { text-align: center; }

.ambox{ border-bottom-color: #383838; border-right-color: #383838; border-top-color: #383838; border-collapse: collapse; font-size: 95%; margin: 0 0 2px 0; width: 100%;

background: linear-gradient(to right,rgba(255,255,255,0.3),rgba(255,255,255,0.1)); border: none; box-shadow: inset 0px 0px 2px rgba(255,255,255,0.5),0px 0px 3px rgba(0,0,0,0.3) !important; border-radius: 5px; }

border: none; border-radius: 5px; background: linear-gradient(rgba(255,255,255,0.3),rgba(255,255,255,0.1)); box-shadow: inset 0px 0px 2px rgba(255,255,255,0.5),0px 0px 3px rgba(0,0,0,0.1),0px 1px 2px rgba(0,0,0,0.4); padding: 5px; margin: 5px; width: calc(100% - 20px); }
 * 1) page-actions {

.heading-holder { margin-bottom: 15px; }

.content table { display: table;

}

text-align: center; }
 * 1) section_0 {

.client-js .collapsible-heading { border: none;

}

div#mobileatfmrec, div#mobilebtfmrec { border: none;

}

footer .last-modified-bar { border: none; background-color: #0000004d; color: #fff; }

.last-modified-bar a, .last-modified-bar a:visited { color: #666; }

body #mw-mf-page-center, body.navigation-enabled #mw-mf-page-center { background-color: #163144; background-image: url(https://static.wikia.nocookie.net/villagersandheroes_gamepedia_en/images/d/d1/Background_wooden_tiling.png/revision/latest); background-repeat: repeat; background-position: center center; background-size: auto; color: #000; }

.page-Main_Page.is-authenticated .pre-content { display: block; padding-top: 10px; border-radius: 5px; background: linear-gradient(rgba(255,255,255,0.3),rgba(255,255,255,0.1)); box-shadow: inset 0px 0px 2px rgba(255,255,255,0.5),0px 0px 3px rgba(0,0,0,0.1),0px 1px 2px rgba(0,0,0,0.4); padding-bottom: 10px; margin-top: 15px; margin-bottom: 20px;

}

div#mobileatfmrec, div#mobilebtfmrec {

border: none;

}