MediaWiki:Hydra.css

/* CSS placed here will affect users of the Hydra skin */ /* For elements which only display in the mobile view */ .mobileonly { display: none; }

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

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

a { font-family: "OpenSans-ExtraBold"; color:gray; }

a:visited { font-family: "OpenSans-ExtraBold"; color:#505050; } /* Hide main page header */ body.page-A_Township_Tale_Wiki h1.firstHeading { display:none; }

body { 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; }

div#mw-page-base { background: transparent; }

padding-right: 1em; }
 * 1) pageWrapper {

/***********/ /* content */ /***********/ div#content { background-color: rgba(255, 255, 255, 0.8); border: none; border-radius: 10px; color: #222; direction: ltr; margin-top: -1px; box-shadow: 0 0.1em 0.75em gray inset; }

div#footer { background-color: rgba(255, 255, 255, 0.8); border: none; border-radius: 10px; color: #222; box-shadow: 0 0.1em 0.75em gray inset; margin-top: 5px; }

/***********/ /* sidebar */ /***********/   position: absolute; top: 0px; left: 35px; width: 300px; height: 130px; background-size:contain; }
 * 1) p-logo {

div#mw-panel { font-size: inherit; left: 0; padding-top: 2em; position: absolute; top: 160px; width: 10em; }

div#mw-panel div.portal h3 { color: #D8893A; font-family: "OpenSans-Semibold"; font-size: 14px; text-shadow: 1px  1px 1px black, 1px -1px 1px black, -1px 1px 1px black, -1px -1px 1px black; }
 * 1) mw-panel.collapsible-nav div.portal h3 a,
 * 2) mw-panel.collapsible-nav .portal h3 a,
 * 3) mw-panel.collapsible-nav .portal.collapsed h3 a,

div#mw-panel div.portal div.body ul li a:link, div#mw-panel div.portal div.body ul li a:visited { color: black; font-family: "OpenSans-Regular"; }

div#mw-panel div.portal { background-image:none; background-position-x: left; background-position-y: top; background-repeat: no-repeat; direction: ltr; margin-bottom: 0; margin-left: 0.7em; margin-right: 0.6em; margin-top: 0; padding-bottom: 0.25em; padding-left: 0; padding-right: 0; padding-top: 0.25em; }

background-color: rgba(255, 255, 255, 0.8); border-radius:5px; padding:5px; }
 * 1) p-navigation div.body,
 * 2) p-tb div.body,
 * 3) p-Gamepedia div.body {

/* Tabs */ margin-right: 1em; margin-top: 2em; }
 * 1) right-navigation {

margin-top: 2em; }
 * 1) left-navigation {

div.vectorTabs { background-image: none; background: none; background-color:transparent; height: 33px; margin-top: 8px; }

div.vectorTabs li { background-color: transparent !important; background-image: url("https://townshiptale.gamepedia.com/media/townshiptale.gamepedia.com/8/8e/Tab.png") !important; color: white; background-position: top center; background-repeat: no-repeat; background-size: 100% 100%; margin-top: -6px; }

background-color: transparent !important; background-image: none !important; background-repeat: no-repeat; background-position: top center; }
 * 1) ca-unwatch {

div.vectorTabs li a { background-color: transparent !important; background-image: none; margin-top: -6px; }

div.vectorTabs li.new a, div.vectorTabs li.new a:visited { color: #BA0000; }

div.vectorTabs li span a { background-image:none; background: transparent; border:none; display: inline-block; height: 19px; margin-bottom: 0; margin-left: 3px; margin-right: 3px; margin-top: 0; padding-bottom: 2px; padding-left: 10px; padding-right: 10px; padding-top: 2px; text-align: center; }

div.vectorTabs span { background-image: none; }

div.vectorTabs li.selected { background-color: transparent !important; background-image: none; color: #D2CEB5; }

div.vectorTabs ul { background-image: none; }

div.vectorTabs ul li { background-color:transparent; background-image:none; }

div.vectorTabs li a, div.vectorTabs li a span { color: #D2CEB5; cursor: pointer; font-weight: bold; font-family: "OpenSans-Semibold"; }

div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited { color: #37233c; text-decoration: none; font-weight: bold; font-family: "OpenSans-Semibold"; }

div.vectorMenu h5 a { background-color: transparent; background-image: none; border: 0px; }

div.vectorMenu li.selected a, div.vectorMenu li.selected a:visited { color: #afb1be; }

div.vectorMenu li a { color: #afb1be; }

div.vectorMenu ul { background-color:#7C7E8B; background-image: none; border: 1px solid black; }

div#mw-head div.vectorMenu h5 { background-image: none; }

div.vectorTabs, div.vectorTabs span, div.vectorTabs li a, div.vectorMenu h3 a { background-image: none; }

div#mw-head div.vectorMenu h3 { background: transparent; display: inline-block; border-radius: 5px; color: white; font-weight: bold; padding: 2px 10px; margin-bottom: 0; margin-left: 3px; margin-right: 3px; margin-top: 8px; height: 29px; text-align: center; background-image: url(https://townshiptale.gamepedia.com/media/townshiptale.gamepedia.com/8/8e/Tab.png); background-size: 100% 100%; }

div.vectorMenu h3 span { display: block; font-size: 0.8em; font-weight: normal; margin-right: 20px; padding-left: 0.7em; padding-top: 0; color: black; font-family: "OpenSans-Semibold"; }

div.vectorMenu div.menu { border: 1px solid black; }

div.vectorMenu h3 span::after{ filter:invert(1); }

/* share icon */ div#mw-head div.vectorMenu h4, div#p-variants.vectorMenu #mw-vector-current-variant { -moz-border-bottom-colors: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; border-bottom-color: -moz-use-text-color; border-bottom-style: none; border-bottom-width: medium; border-image-outset: 0 0 0 0; border-image-repeat: stretch stretch; border-image-slice: 100% 100% 100% 100%; border-image-source: none; border-image-width: 1 1 1 1; border-left-color: -moz-use-text-color; border-left-style: none; border-left-width: medium; border-right-color: -moz-use-text-color; border-right-style: none; border-right-width: medium; border-top-color: -moz-use-text-color; border-top-style: none; border-top-width: medium; color: black; display: inline-block; float: left; font-size: 0.8em; font-weight: normal; padding-left: 0.5em; padding-top: 1em; }

div#p-sharing .menu { margin-left: 45px; min-width: 0px; width: 48px; }

width: 100%; }
 * 1) p-sharing #socialIconImages img {

width: 40px; }
 * 1) p-sharing #socialIconImages a {

-moz-border-bottom-colors: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; background-position-x: 5px; background-position-y: 60%; border-bottom-color: currentcolor; border-bottom-style: none; border-bottom-width: medium; border-image-outset: 0 0 0 0; border-image-repeat: stretch stretch; border-image-slice: 100% 100% 100% 100%; border-image-source: none; border-image-width: 1 1 1 1; border-left-color: currentcolor; border-left-style: none; border-left-width: medium; border-right-color: currentcolor; border-right-style: none; border-right-width: medium; border-top-color: currentcolor; border-top-style: none; border-top-width: medium; display: block; height: 0; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 2em; width: 26px; }
 * 1) ca-unwatch.icon a,
 * 2) ca-watch.icon a {

div.vectorMenu h3 a, div.vectorMenu h3 a:active { -moz-border-bottom-colors: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; background-color: rgba(0, 0, 0, 0); background-image: url("https://commons.gamepedia.com/media/commons.gamepedia.com/8/80/Vector_menu_downarrow_white.png"); background-position-x: 50%; background-position-y: 50%; border-bottom-color: currentcolor; border-bottom-style: none; border-bottom-width: medium; border-image-outset: 0 0 0 0; border-image-repeat: stretch stretch; border-image-slice: 100% 100% 100% 100%; border-image-source: none; border-image-width: 1 1 1 1; border-left-color: currentcolor; border-left-style: none; border-left-width: medium; border-right-color: currentcolor; border-right-style: none; border-right-width: medium; border-top-color: currentcolor; border-top-style: none; border-top-width: medium; }

/* for "edit this page" tab and "discussion" tab etc */ .pagetab { border-style: solid solid none; border-width: thin; border-color: #808080; padding:0.25ex 1ex 0ex; font-size: 95%; }

.ambox { background-color: #eeeeee; border-bottom-color: #383838; border-right-color: #383838; border-top-color: #383838; border-collapse: collapse; font-size: 95%; margin: 0 auto 2px auto; width: 80%; }

.ambox-gray { border-left-color: #383838; }

.ambox.ambox-tiny { font-size: 90%; margin: 2px 0; width: auto; }

.ambox + .ambox { margin-top: -2px; }

.ambox-text { padding: 0.25em 0.5em; }

.ambox-image { padding: 2px 0px 2px 0.5em; text-align: center; width: 60px; }

.ambox-tiny .ambox-image { padding: 2px 0.5em; text-align: left; width: auto; }

/* Ambox colors */ .ambox-blue { border-left: 10px solid #1e90ff; }

.ambox-red { border-left: 10px solid #b22222; }

.ambox-orange { border-left: 10px solid #f28500; }

.ambox-yellow { border-left: 10px solid #f4c430; }

.ambox-purple { border-left: 10px solid #9932cc; }

.ambox-gray { border-left: 10px solid #bba; }

.ambox-green { border-left: 10px solid #228b22; }

/* Ambox small text */ .amsmalltext { font-size: smaller; margin-left:0.8em; margin-top:0.5em; }

/* INFOBOXES */ .infoboxtable { background-color: #f9f9f9; border: 1px solid #aaaaaa; color: #000000; float: right; font-size: 89%; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; width: 300px; }

.infoboxtable td { vertical-align: top; }

.infoboxtable td > div { background-color: #f9f9f9; border: 2px solid inherit; border-radius: 5px; font-weight: bold; padding: 0.5px 7px; text-align: right; }

.infoboxname { font-size: 110%; font-weight: bold; padding: 0.5em; }

.infoboxdetails { padding: 0em; }

/* copyright images tweak */ .copyright-icon { background: url("https://commons.gamepedia.com/media/commons.gamepedia.com/thumb/b/b6/Copyright.png/32px-Copyright.png") transparent center center no-repeat; background-size: 100%; width: 32px; height: 32px; }

.feature { background: rgba(0, 0, 0, 0.05); border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 5px; padding: 10px; }

/* Navbox template style */ table.navbox { border: 1px solid #aaaaaa; clear: both; font-size: 88%; margin: auto; padding: 1px; text-align: center; width: 100%; }

/* Border between adjacent navboxes */ table.navbox + table.navbox { margin-top: -1px; }

.navbox-title, .navbox-abovebelow, table.navbox th { padding-left: 1em; padding-right: 1em; text-align: center; }

.navbox-group { font-weight: bold; padding-left: 1em; padding-right: 1em; white-space: nowrap; }

/* Base background */ .navbox, .navbox-subgroup { background: rgba(255, 255, 255, 0.2); }

.navbox-list { border-color: rgba(255, 255, 255, 0.2); /* Must match background color */ }

/* Level 1 color */ .navbox-title, table.navbox th { background: rgba(255, 255, 255, 0.2); color: #444; }

/* Level 2 styling */ .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: rgba(255, 255, 255, 0.2); color: #333; }

/* Level 3 styling */ .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: rgba(0, 0, 0, 0.05); color: #333; }

/* Even row striping */ .navbox-even { background: rgba(0, 0, 0, 0.05); color: #333; }

/* Odd row striping */ .navbox-odd { background: transparent; } .collapseButton { font-weight: normal; width: auto; }

.navbox .collapseButton { width: 6em; } .navbar { font-size: 88%; font-weight: normal; }

.navbox .navbar { font-size: 100%; } table.collapsed tr.collapsible { display: none; } /* End of new Navbox styling */

/* tables */ table.wikitable > tr > th, table.wikitable > * > tr > th { background-color: #f58120; }

/* Wiki editor fixes */ div.wikiEditor-preview-contents, div.wikiEditor-preview-loading { background-color: transparent; }

.wikiEditor-ui { background: rgba(0, 0, 0, 0); border: medium none; }

.wikiEditor-ui .wikiEditor-ui-view { border-bottom: medium none; border-left: 1px solid #202020; border-right: 1px solid #202020; border-top : medium none; }

div.wikiEditor-ui-buttons { background-color: rgba(0, 0, 0, 0); border-top: medium none; margin-right: 5px; }

div.wikiEditor-ui-controls { background-color: rgba(0, 0, 0, 0); border-bottom: 1px solid #202020; }

.wikiEditor-ui-tabs { background-color: orange; border-left: 1px solid #202020; border-top: 1px solid #202020; }

.wikiEditor-ui-tabs div { background-color: orange; border-right: 1px solid #202020; border-bottom: 1px solid #202020; }

.wikiEditor-ui-tabs div a { background: orange; /* you can use a gradient here if you want to match your vector tabs or get fancy */ color: #202020; }

.wikiEditor-ui-tabs div.current { background-color: #FF7727; border-bottom: 1px solid #202020; }

.wikiEditor-ui-tabs div.current a { color: white; /* depends on your tabs bg & how different you wish the current tab and text to appear */ font-weight: bold; /* optional to make it stand out */ }

.wikiEditor-ui .wikiEditor-ui-top { border-bottom: 1px solid #202020; }

.wikiEditor-ui-toolbar { background: none repeat scroll 0 0 rgba(0, 0, 0, 0); }

.wikiEditor-ui-toolbar .group { border-right: 1px solid #202020; }

.wikiEditor-ui-toolbar .group-search { border-left: 1px solid #202020; border-right: none; }

.wikiEditor-ui-toolbar .group .label { color: black; }

.tab { border-color: rgba(0, 0, 0, 0); }

.wikiEditor-ui-toolbar .tabs span.tab a, .wikiEditor-ui-toolbar .tabs span.tab a:visited { color: black; }

.wikiEditor-ui-toolbar .tabs span.tab a.current, .wikiEditor-ui-toolbar .tabs span.tab a.current:visited { color: black; }

.wikiEditor-ui-toolbar .group .tool-select .label { color: #000000; /* or any other dark colour, or change the bg to a dark colour to contrast with light text */ }

.wikiEditor-ui-toolbar .sections .section { background-color: rgba(0, 0, 0, 0.2); border-top: 1px solid #202020; }

.wikiEditor-ui-toolbar .booklet .index div { color: #202020; }

.wikiEditor-ui-toolbar .booklet .index .current { background-color: orange; color: #202020; }

.wikiEditor-ui-toolbar .booklet .pages { background-color: orange; }

.wikiEditor-ui-toolbar .page-characters div span { border: 1px solid #202020; color: #202020; background:white; }

.wikiEditor-ui-toolbar .page-characters div span:hover { background-color: rgba(255, 255, 255, 0.3); border-color: #202020; color: #FF7796; }

.wikiEditor-ui-toolbar .page-table td { border-top: 1px solid #202020; color: #202020; }

.wikiEditor-preview-loading { background-color: rgba(0, 0, 0, 0); }

.wikiEditor-preview-contents { background-color: rgba(0, 0, 0, 0); border-color: -moz-use-text-color #202020 #202020; border-image: none; border-style: none solid solid; border-width: medium 1px 1px; }

.editOptions { background-color: gray; border-color: -moz-use-text-color #202020 #202020; border-image: none; border-style: none solid solid; border-width: medium 1px 1px; }

/* Preferences */ .client-js #preftoc { background-color: rgba(255, 255, 255, 0.5); border: 0px; }

.client-js #preftoc, .client-js #preftoc li, .client-js #preferences, .client-js #preftoc li a { background-image: none; background-color: transparent; color: #666666; /* this font color may need tweaking, depending on your background choices */ }

.client-js #preftoc li:first-child { margin-bottom: 1px; margin-left: 5px; }

.client-js #preftoc li.selected a { background-color: rgba(255, 255, 255, 0.5); background-image: none; border-color: #aaaaaa #aaaaaa rgba(255, 255, 255, 0.5); border-style: solid; border-width: 1px; color: #000000; /* this font color may need tweaking, depending on your background choices */ }

.client-js #preferences { background-color: rgba(255, 255, 255, 0.5); border: 1px solid #aaaaaa; }

.client-js #preferences fieldset { border-color: #aaaaaa; }

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

.fpcontent { width: 100%; overflow: hidden; z-index: 1; }

.fpmaybecols { overflow: hidden; margin: -5px 0 -5px 0; }

.fpmaybecols + .fpmaybecols { margin: 0 0 -5px 0; }

.fpbox { background-color: transparent; color: black; /* change for hydra (light) wikis */ margin: 5px 5px 5px 5px; padding: 5px 5px 5px 5px; border-style: solid; border-width: 27px; -moz-border-image: url(https://townshiptale.gamepedia.com/media/townshiptale.gamepedia.com/c/c6/Wobblyline.png) 27 repeat; -webkit-border-image: url(https://townshiptale.gamepedia.com/media/townshiptale.gamepedia.com/c/c6/Wobblyline.png) 27 repeat; -o-border-image: url(https://townshiptale.gamepedia.com/media/townshiptale.gamepedia.com/c/c6/Wobblyline.png) 27 repeat; border-image: url(https://townshiptale.gamepedia.com/media/townshiptale.gamepedia.com/c/c6/Wobblyline.png) 27 fill repeat; border-color: #855134; }

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

.fpbox .welcome { border-bottom: 1px solid #855134; color: #855134; /* 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 #855134; color: #855134; /* 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: #855134; /* change for hydra (light) wikis */ font-size: 75%; font-family: "OpenSans-ExtraBold"; }

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

.fplinks { margin: -5px; }

.fplinks .linkslabel { background: rgba(0, 0, 0, 0); border-bottom: 2px solid #505050; 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: #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; }

height: 114px; width: 114px; }
 * 1) fptopsection .fplink.image,
 * 2) fpflexsection .fplink.image,
 * 3) fpbottomsection .fplink.image {

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

@media (min-width: 990px) { .fpcontent { padding-right: 520px; width: auto; }

#fptopsection { float: left; width: 100%; }

#fpflexsection { float: right; width: 520px; margin-right: -520px }

#fpbottomsection { float: left; width: 100%; margin-top: -5px; }

#fptopsection .fplink, #fpbottomsection .fplink { width: 50%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 100%; }

#fpflexsection .fplink { width: 25%; }

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

@media (min-width: 1100px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 33.333%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 66.666%; } }

@media (min-width: 1210px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 25%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 50%; } }

@media (min-width: 1320px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 20%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 40%; } }

@media (min-width: 1430px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 16.666%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 33.333%; }

.fplink a { padding: 3px 5px; } }

@media (min-width: 1540px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 14.285%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 28.571%; }

#fptopsection .fpmaybercol .fpbox, #fpbottomsection .fpmaybercol .fpbox { background-image: none; }

.fpmaybelcol { float: left; width: 70.886%; }

#fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 20%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 40%; }

.fpmaybercol { float: right; width: 29.113%; }

#fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink { width: 50%; }

#fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide { width: 100%; } }

@media (min-width: 1650px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 12.5%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 25%; } }

@media (min-width: 1697px) { #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 16.666%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 33.333%; } }

@media (min-width: 1760px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 11.111%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 22.222%; } }

@media (min-width: 1850px) { #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 14.285%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 28.571%; } }

@media (min-width: 1870px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 10%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 20%; }

#fptopsection .fplink.image, #fpbottomsection .fplink.image { width: 134px; height: 134px; }

#fptopsection .fplink.image .box .row .cell, #fpbottomsection .fplink.image .box .row .cell { width: 120px; height: 120px; }

#fptopsection .fplink.image .box .row .cell .image img, #fpbottomsection .fplink.image .box .row .cell .image img { width: 120px; height: 120px; } }

@media (min-width: 1918px) { #fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink { width: 33.333%; }

#fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide { width: 66.666%; } }

@media (min-width: 1980px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 9.09%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 18.181%; } }

@media (min-width: 2006px) { #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 12.5%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 25%; } }

@media (min-width: 2090px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 8.33%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 16.666%; } }

@media (min-width: 2161px) { #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 11.111%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 22.222%; } }

@media (min-width: 2200px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 7.692%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 15.384%; } }

@media (min-width: 2296px) { #fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink { width: 25%; }

#fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide { width: 50%; } }

@media (min-width: 2310px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 7.142%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 14.285%; } }

@media (min-width: 2316px) { #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 10%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 20%; } }

@media (min-width: 2420px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 6.666%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 13.333%; }

.fplink a { padding: 5px 5px; }

#fptopsection .fplink.image, #fpbottomsection .fplink.image { width: 164px; height: 164px; }

#fptopsection .fplink.image .box .row .cell, #fpbottomsection .fplink.image .box .row .cell { width: 150px; height: 150px; }

#fptopsection .fplink.image .box .row .cell .image img, #fpbottomsection .fplink.image .box .row .cell .image img { width: 150px; height: 150px; } }

.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; color:white !important; }

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

/*********************** /* Left sidebar styles * /***********************/

div#mw-panel { position: static !important; float: left; top: 0; margin-top:0; padding-left: 0; padding-right: 24px; padding-top: 26px; width: 148px; }

div#mw-panel div#p-claimWiki { display: none; }

/***************** /* Header styles * /*****************/

height: 128px; }
 * 1) mw-page-base,
 * 2) mw-head-base {

div#mw-page-base { background-color: #87e3fc; background-image: url("https://townshiptale.gamepedia.com/media/townshiptale.gamepedia.com/a/ac/Skin-Head-Background.jpg"); background-repeat: no-repeat; background-size: cover; background-position: center center; }

margin-top: -128px; }
 * 1) mw-head-base {

height: 128px; width: 256px; }
 * 1) p-logo {

height: 100%; width: 100%; background-size: 90%; background-image: url("https://townshiptale.gamepedia.com/media/townshiptale.gamepedia.com/b/bc/Wiki.png"); }
 * 1) p-logo a {

/************************** /* Article navigation bar * /**************************/

div#mw-navigation { margin-left: -172px; }

div#mw-head { background: #461413; border-top: solid 2px #050404; border-bottom: solid 2px #050404; top: 128px; height: 1.8em; left: 0; margin-left: 172px; width: auto; }

div#left-navigation, div#right-navigation { top: 0; margin-top: 0; }

div#left-navigation { margin-left: 0; }

div.vectorTabs, div.vectorTabs ul, div.vectorTabs ul li, div.vectorTabs li a, div.vectorTabs li a:visited, div.vectorTabs li span, div.vectorTabs ul li.selected, div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li.selected span, div.vectorTabs li.new a, div#mw-head div.vectorMenu h3, div#mw-head div.vectorMenu h3 span { background-color: transparent; background-image: none !important; color: #fffee1; padding-top: 0px !important; }

div.vectorTabs { height: 1.8em; border-left: solid 2px #050404; margin-top: 0; }

div.vectorTabs ul li, div#mw-head div.vectorMenu h3 { border-right: solid 2px #050404; }

div.vectorTabs ul li.selected { background-color: hsl(0, 33%, 33%); }

div.vectorTabs li a { padding-top: 0; line-height: 2.25em; }

div#mw-head div.vectorMenu h3 { height: 1.8em; margin-right: 0; margin-top: 0; border-radius: 0; }

div#mw-head div.vectorMenu h3 span { padding-top: 0; line-height: 2.25em }

div.vectorMenu h3 a { height: 1.8em; background-image: url("https://townshiptale.gamepedia.com/media/townshiptale.gamepedia.com/5/50/Skin-Nav-Menu-Arrow.svg"); background-position: center center; right: 6px; }

div.vectorMenu div.menu { background-color: #f6ead1; border: solid 2px #050404; top: 1.8em; left: auto; right: 0; }

div#p-cactions div.menu ul li a { color: #000000; }

div#p-cactions div.menu ul li a:visited { color: #000000; }

div#p-cactions div.menu ul li a:active { color: #a55858; }

padding-top: 2.25em; }
 * 1) ca-unwatch.icon a,
 * 2) ca-watch.icon a {

margin: 0; position: absolute; right: 1em; top: -128px; }
 * 1) p-search {

display: inline-block; content: ""; height: 128px; vertical-align: middle; }
 * 1) p-search::before {

display: inline-block; height: auto; vertical-align: middle; margin: 0; }
 * 1) p-search form {

div#simpleSearch { width: 500px; height: 43px; max-width: 500px; margin: 0; }

div#simpleSearch #searchInput { padding: 0 1em; line-height: 43px; }

div#simpleSearch input { box-shadow: none; }

/****************** /* Article styles * /******************/ div#global-wrapper { display: flex; flex-direction: column; }

div#footer { margin-left: 0; }

div#pageWrapper { background-color: transparent; background-image: url("https://townshiptale.gamepedia.com/media/townshiptale.gamepedia.com/thumb/5/5a/Skin-Wrapper-Background.jpg/103px-Skin-Wrapper-Background.jpg"); background-position: left top; background-repeat: no-repeat; background-size: 172px; background-position-y: 1.5px; padding-left: 172px; flex: 1 0 auto; padding-right: 0px; }

div#pageWrapper:before { position: fixed; z-index: -1; top: 0; left: 0; width: 172px; height: 100%; content: ""; background-color: #050404; }

div#content { background: transparent; border: none; box-sizing: border-box; float: right; /*color: #2c2c2c;*/ margin-left: 0; width: 100%; margin-top: 1.8em; padding: 10px 20px; border-radius: 0; }

.rss_item { margin-bottom: 10px; }

/**************************
 * Main Page Skin Changes *

/* Hide main page header */ body.page-A_Township_Tale_Wiki h1.firstHeading { display: none; }

/* Hide main page header */ body.page-A_Township_Tale_Wiki h1.firstHeading { display: none; }

body.page-A_Township_Tale_Wiki.ns-0.action-view #p-logo, body.page-A_Township_Tale_Wiki.ns-0.action-view #p-logo a { height: 169px; width: 1000px; background-size: contain; }

body.page-A_Township_Tale_Wiki.ns-0.action-view #p-logo { left: calc(50vw - 500px); top: 40px; }

body.page-A_Township_Tale_Wiki.ns-0.action-view #p-logo a { /*background-image: url;*/ }

body.page-A_Township_Tale_Wiki.ns-0.action-view div#mw-page-base { background-position: center 20%; background: linear-gradient(rgba(42,25,7,0.6),rgba(42,25,7,0.6)) repeat left top,#2a1907 url(https://townshiptale.gamepedia.com/media/townshiptale.gamepedia.com/3/33/WikiHomeBackground.png) no-repeat center top / cover; }

body.page-A_Township_Tale_Wiki.ns-0.action-view div#mw-page-base, body.page-A_Township_Tale_Wiki.ns-0.action-view div#mw-head-base { height: 401px; }

body.page-A_Township_Tale_Wiki.ns-0.action-view div#mw-head-base { margin-top: -401px; }

body.page-A_Township_Tale_Wiki.ns-0.action-view div#mw-head { top: 401px; }

body.page-A_Township_Tale_Wiki.ns-0.action-view div#simpleSearch { width: 500px; height: 43px; max-width: 500px; }

body.page-A_Township_Tale_Wiki.ns-0.action-view #p-search { right: 0; left: -172px; width: auto; text-align: center; top: -150px; }

body.page-A_Township_Tale_Wiki.ns-0.action-view #p-search::before { display: none; }

body.page-A_Township_Tale_Wiki.ns-0.action-view div#simpleSearch #searchInput { padding: 0 1em; line-height: 43px; }

div#simpleSearch #searchButton, div#simpleSearch #mw-searchButton { padding-right: .5em; box-sizing: content-box; background-origin: content-box; }

body.page-A_Township_Tale_Wiki_test.ns-0.action-view #mw-panel {}

body.page-A_Township_Tale_Wiki_test.ns-0.action-view div#mp-top-1 {}

body.page-A_Township_Tale_Wiki_test.ns-0.action-view div#mp-top-2 {}

body.page-A_Township_Tale_Wiki_test.ns-0.action-view div#footer { text-align: center; }

body.ltr.page-Main_Page.ns-0.action-view div#footer #footer-places, body.page-A_Township_Tale_Wiki_test.ns-0.action-view div#footer #footer-icons { float: none; }

body.page-A_Township_Tale_Wiki_test.ns-0.action-view div#footer #footer-places li, body.page-A_Township_Tale_Wiki_test.ns-0.action-view div#footer #footer-icons li { float: none; display: inline-block; }

@media (min-width: 1022px) { body.page-A_Township_Tale_Wiki_test.ns-0.action-view div.vectorTabs ul li { width: 123px; text-align: center; }

body.page-A_Township_Tale_Wiki_test.ns-0.action-view #ca-watch, body.page-A_Township_Tale_Wiki_test.ns-0.action-view #ca-unwatch { width: auto; } }

/************************ /* Responsive main page * /************************/   display: none; position: absolute; top: 215px; left: 0; right: 0; text-align: center; color: #d5c192; text-shadow: 0 0 3px #000000; font-size: 0.8em; line-height: 23px; }
 * 1) mainAboveSearch {

color: #ffc949; }
 * 1) mainAboveSearch a,
 * 2) mainAboveSearch a:link,
 * 3) mainAboveSearch a:visited,
 * 4) mainAboveSearch a.extiw,
 * 5) mainAboveSearch a.external,
 * 6) mainAboveSearch a.extiw:visited,
 * 7) mainAboveSearch a.external:visited {

display: none; position: absolute; top: 315px; left: 0; right: 0; text-align: center; color: #d5c192; text-shadow: 0 0 3px #000000; font-size: 0.8em; line-height: 23px; }
 * 1) mainBelowSearch {

color: #ffc949; }
 * 1) mainBelowSearch a,
 * 2) mainBelowSearch a:link,
 * 3) mainBelowSearch a:visited,
 * 4) mainBelowSearch a.extiw,
 * 5) mainBelowSearch a.external,
 * 6) mainBelowSearch a.extiw:visited,
 * 7) mainBelowSearch a.external:visited {

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://townshiptale.gamepedia.com/media/townshiptale.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://townshiptale.gamepedia.com/media/townshiptale.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 { position: relative; 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; }

padding: 0px; }
 * 1) mainProfessions .linkGridItem a {

position: absolute; bottom: 30px; width: 100%; text-align: center; }
 * 1) mainProfessions .linkGridItem a:last-child {

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

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

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

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

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

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

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

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

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

@media (min-width: 1022px) { #mainContent { display: flex; flex-flow: row wrap; }

.mainBlockOuter { display: flex; flex-basis: 50%; }

.mainBlockInner { flex-basis: 100%; flex-grow: 0; overflow: hidden; }

#mainGuideStreamer, #mainFeatureSection { flex-flow: column; }

#mainGuide, #mainFeature { flex: 0 1 100%; }

#mainLocations, #mainStreamer { flex: 0 0 auto; } }

@media (min-width: 1432px) { .mainBlockOuter { flex-basis: 33.333%; flex-grow: 0; overflow: hidden; } }

/* watch icon */

background-image: url(/skins/Vector/images/watch-icon.png?e1b42) !important; background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2216%22 height=%2216%22%3E %3Cpath fill=%22%23fff%22 stroke=%22%237cb5d1%22 stroke-width=%22.99992%22 d=%22M8.103 1.146l2.175 4.408 4.864.707-3.52 3.431.831 4.845-4.351-2.287-4.351 2.287.831-4.845-3.52-3.431 4.864-.707z%22/%3E %3C/svg%3E") !important; }
 * 1) ca-watch.icon span {

vectorTabs #ca-unwatch.icon span { background-image: url(/skins/Vector/images/unwatch-icon.png?fccbe) !important; background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2216%22 height=%2216%22 xmlns:xlink=%22http://www.w3.org/1999/xlink%22%3E %3Cdefs%3E %3ClinearGradient id=%22a%22%3E %3Cstop offset=%220%22 stop-color=%22%23c2edff%22/%3E %3Cstop offset=%22.5%22 stop-color=%22%2368bdff%22/%3E %3Cstop offset=%221%22 stop-color=%22%23fff%22/%3E %3C/linearGradient%3E %3ClinearGradient id=%22b%22 x1=%2213.47%22 x2=%224.596%22 y1=%2214.363%22 y2=%223.397%22 xlink:href=%22%23a%22 gradientUnits=%22userSpaceOnUse%22/%3E %3C/defs%3E %3Cpath fill=%22url%28%23b%29%22 stroke=%22%237cb5d1%22 stroke-width=%22.99992%22 d=%22M8.103 1.146l2.175 4.408 4.864.707-3.52 3.431.831 4.845-4.351-2.287-4.351 2.287.831-4.845-3.52-3.431 4.864-.707z%22/%3E %3C/svg%3E") !important; }