MediaWiki:Vector.css

From A Township Tale Wiki
Jump to navigation Jump to search

In other languages: Deutsch • Español • Français • Русский


CSS and Javascript changes must comply with the wiki design rules.


Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* CSS placed here will affect users of the Vector skin */
/* For elements which only display in the mobile view */
.mobileonly {
    display: none;
}

p {
  font-family:'Open Sans', sans-serif;
}

.vector-body a {
  font-family: 'Open Sans', sans-serif;
  font-weight: 800;
  color:gray;
}

.vector-body a:visited {
  font-family: 'Open Sans', sans-serif;
  font-weight: 800;
  color:#505050;
}

body {
    background-image: url(https://townshiptale.wiki.gg/images/3/3a/A-Township-Tale-Review-scaled.jpg); /* [[File:A-Township-Tale-Review-scaled.jpg]] */
	background-position: center top;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-color: gray;
	background-size: cover;
}

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

#pageWrapper { 
    padding-right: 1em;
}

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

footer#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 */
/***********/
#p-logo {
    position: absolute;
    top: -125px;
    filter: drop-shadow(0 0 2px #000);
    left: 50vw;
    margin-left: -150px;
    width: 300px;
    height: 130px;
    background-size:contain;
}

#mw-panel { 
	position: absolute;
	float: none;
	top: 140px;
}

#mw-panel.collapsible-nav div.portal .vector-menu-heading a,
#mw-panel.collapsible-nav .portal .vector-menu-heading a,
#mw-panel.collapsible-nav .portal.collapsed .vector-menu-heading a,
div#mw-panel div.portal .vector-menu-heading {
  color: #D8893A;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-shadow:  1px  1px 1px black,
                1px -1px 1px black,
               -1px  1px 1px black,
               -1px -1px 1px black;
}

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: 'Open Sans', sans-serif;
  font-weight: 400;
}

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

#mw-panel .portal .body ul {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius:5px;
  padding:5px;
}

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

#left-navigation {
   margin-top: 2em;
}

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


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

.vector-menu-tabs li { 
	position: relative;
	top: 4px;
	padding-top: 2px;
}

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

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;
  text-align: center;
}

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

div.vectorTabs li.selected {
    background-color: transparent;
    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: 600;
    font-family: 'Open Sans', sans-serif;
}

div.vectorTabs li.selected a,
div.vectorTabs li.selected a:visited {
    color: #37233c;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
}

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 .vector-menu-heading a {
    background-image: none;
}

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

div.vectorMenu .vector-menu-heading span {
    display: block;
    font-weight: normal;
    margin-right: 20px;
    padding-left: 0.7em;
    padding-top: 0;
    color: black;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    margin-top: -2px;
}

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

.vector-menu-dropdown .vector-menu-heading:after{
  filter:invert(1);
  top:0;
}
.vector-menu-dropdown label.vector-menu-heading:after {
	position: absolute;
	top: 7px;
	right: 10px;
}
/* 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.vectorMenu .vector-menu-heading a, 
div.vectorMenu .vector-menu-heading 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-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;
}

.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;
    margin: 5px 5px 5px 5px;
    padding: 5px 5px 5px 5px;
    border-style: solid; 
    border-width: 27px; 
    border-image: url(/images/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;
    font-size: 150%;
    margin: 0 0 10px 0;
    padding: 0 0 5px 0;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
}

.fpbox .heading {
    border-bottom: 1px solid #855134;
    color: #855134;
    font-size: 132%;
    margin: 0 0 10px 0;
    padding: 0 0 5px 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
}

.fpbox .heading .smalllink {
    color: #855134;
    font-size: 75%;
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
}

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

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

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

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


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

#mw-page-base,
#mw-head-base {
    height: 128px;
}

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

#mw-head-base {
    margin-top: -128px;
}

#p-logo a {
    height: 100%;
    width: 100%;
    background-size: 90%;
    background-image: url(/images/b/bc/Wiki.png);
}

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

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

@media screen and (max-width: 982px) and (min-width: 720px) {
  div#mw-head {
    margin-left:10em;
  }
}

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 .vector-menu-heading,
div#mw-head div.vectorMenu .vector-menu-heading span {
    background-color: transparent;
    background-image: none;
    color: #fffee1;
}

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

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

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

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

div#mw-head div.vectorMenu .vector-menu-heading {
    margin-right: 0;
    margin-top: 0;
    border-radius: 0;
}

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

div.vectorMenu .vector-menu-heading a {
    height: 1.8em;
    background-image: url(/images/5/50/Skin-Nav-Menu-Arrow.svg);
    background-position: center center;
    right: 6px;
}

div.vectorMenu ul.menu {
    background-color: #f6ead1;
    border: solid 2px #050404;
    margin-top: -0.5em;
}

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

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

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


/******************
/* 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.wiki.gg/images/5/5a/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 {
    border: none;
    box-sizing: border-box;
    /*color: #2c2c2c;*/
    margin-top: 1.8em;
    padding: 10px 20px;
    border-radius: 0;
}

.rss_item {
    margin-bottom: 10px;
}

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

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

body.page-A_Township_Tale_Wiki #mw-panel {
	top: 420px;
}

body.page-A_Township_Tale_Wiki #p-logo {
    margin-left: -500px;
    top: -270px;
}

body.page-A_Township_Tale_Wiki div#mw-page-base {
    background: linear-gradient(rgba(42,25,7,0.6),rgba(42,25,7,0.6)) repeat left top,#2a1907 url(https://townshiptale.wiki.gg/images/3/3a/A-Township-Tale-Review-scaled.jpg) no-repeat center top -450px;
  background-size:cover cover;
}

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

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

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

body.page-A_Township_Tale_Wiki div#simpleSearch {
    width:500px;
    height: 43px;
    max-width: 30vw;
}

body.page-A_Township_Tale_Wiki #p-search {
    width: auto;
    text-align: center;
}

body.page-A_Township_Tale_Wiki #p-search::before {
    display: none;
}

body.page-A_Township_Tale_Wiki 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.ltr.page-Main_Page div#footer #footer-places {
    float: none;
}

/************************
/* Responsive main page *
/************************/
#mainAboveSearch {
    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;
}

#mainAboveSearch a,
#mainAboveSearch a:link,
#mainAboveSearch a:visited,
#mainAboveSearch a.extiw,
#mainAboveSearch a.external,
#mainAboveSearch a.extiw:visited,
#mainAboveSearch a.external:visited {
    color: #ffc949;
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
}

#mainBelowSearch {
    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;
}

#mainBelowSearch a,
#mainBelowSearch a:link,
#mainBelowSearch a:visited,
#mainBelowSearch a.extiw,
#mainBelowSearch a.external,
#mainBelowSearch a.extiw:visited,
#mainBelowSearch a.external:visited {
    color: #ffc949;
}

#mainContent .threecols .leftcol {
    display: inline-block;
    vertical-align: top;
    width: 33.333%;
    max-width: 33.333%;
}

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

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

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

#mainContent ul {
    padding: 0;
    margin: 0 0 10px 1.6em;
}

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

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

#mainContent .button a {
    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;
    font-weight: bold;
    text-align: center;
    padding: 8px;
}

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

#mainContent .mainBlockInner {
    border-radius: 7px;
    margin: 5px;
}

#mainContent .mainBlockInner img {
    max-width: 100%;
    height: auto;
}

#mainFeature {
    flex: 0 1 100%;
}

#mainFeature .mainBlockInner {
    background: linear-gradient(rgba(42, 25, 7, 0.6), rgba(42, 25, 7, 0.6)),
        #1a0e05 url(/images/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;
}

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

#mainFeature p,
#mainGuide p {
    padding: 0 6%;
}

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

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

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

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

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

.professionIcon {
	display: inline;
}

.professionIcon>div {
	position: relative;
}

.professionIcon a {
		padding: 0px;
}

.professionIcon a:last-child {
		position: absolute;
		left: 0px;
		bottom: 30px;
		width: 100%;
		color: white;
		text-shadow: 1px 1px 2px #000000;
		text-align: center;
}

.professionIcon br {
		display: none;
}

/*Town*/
#locationLink1 a {
    background-image: url(/images/3/3c/A-Township-Tale-Town-small.png);
}

/*Caves*/
#locationLink2 a {
    background-image: url(/images/7/73/A-Township-Tale-Caves-small.png);
}

/*Wooded Valley*/
#locationLink3 a {
    background-image: url(/images/7/74/A-Township-Tale-Forest-small.png);
}

/*The Ponds*/
#locationLink4 a {
    background-image: url(/images/7/73/A-Township-Tale-Caves-small.png);
}

/*Dust Bowl*/
#locationLink5 a {
    background-image: url(/images/7/73/A-Township-Tale-Caves-small.png);
}

/*Mountain Pass*/
#locationLink6 a {
    background-image: url(/images/7/73/A-Township-Tale-Caves-small.png);
}

/*Battlefield*/
#locationLink7 a {
    background-image: url(/images/7/73/A-Township-Tale-Caves-small.png);
}

/*The Town*/
#locationLink8 a {
    background-image: url(/images/7/73/A-Township-Tale-Caves-small.png);
}

/*The Town*/
#locationLink9 a {
    background-image: url(/images/7/73/A-Township-Tale-Caves-small.png);
}

/*The Forest*/
#locationLink10 a {
    background-image: url(/images/d/d7/Forest_Image_1.png);
}


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

table { 
	display: table;
	white-space: initial;
}

#p-search form {
    margin-top: 0.2em;
}

#searchInput::placeholder { color: #fff; }
#searchButton, #mw-searchButton { 
	top: 7px;
	bottom: auto;
}

/*********************
* Mobile adjustments *
**********************/

@media screen and (max-width:720px) {
  
  
  #p-logo {
    top:17px;
  }
    
   body.page-A_Township_Tale_Wiki #p-logo {
        top:150px;
       margin-left:-50%;
    }
    
    body.page-A_Township_Tale_Wiki #p-logo,
    body.page-A_Township_Tale_Wiki #p-logo a {
        width:100%;
    }
    
    body.page-A_Township_Tale_Wiki #p-search {
        position:absolute;
        top:-3em;
        left:0;
        margin-left:1em;
        margin-right:1em;
    }
    
    body.page-A_Township_Tale_Wiki div#simpleSearch {
        width:calc(100vw - 2em);
        max-width:calc(100vw - 2em);
    }
  
  .mw-body {
    border-left:none;
    border-right:none;
    margin-top:0;
    margin-bottom:5px;
    padding-top:5em;
  }
  
  .mw-footer {
    border-left:none;
    border-right:none;
  }
    
  #mw-panel {
    position:unset;
    width:100%;
    margin:0;
    padding:0;
    top:0
  }
  
  div#mw-navigation div#mw-panel .portal {
    width:auto;
    text-align:center
  }
  
    div#mw-head {
        margin-left:0;
    }
    
    #right-navigation {
        margin-right:0;
    }

  .vector-menu-dropdown .vector-menu-content {
    right: 0;
    left: unset;
  }

  table.wikitable,
  table.responsive-table {
    display:block;
    overflow-x:scroll;
  }
  
  /* advanced search options */
  #mw-searchoptions table {
    float:none;
  }
  
  #mw-searchoptions table td {
    display:block;
  }
  
  /* popup when clicking the download button in multimediaviewer */
  .mw-mmv-dialog {
    width:unset;
  }

  /* turn math elements into scroll blocks unless they're an immediate child of a span */
  :not(span) > .mwe-math-element {
    display:block;
    overflow-x:auto;
  }

}
/*************
* End mobile *
**************/