No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
/* Current Logo */ |
/* Current Logo */ |
||
.mw-wiki-logo { |
.mw-wiki-logo { |
||
− | background-image: url('https:// |
+ | background-image: url('https://villagersandheroes.gamepedia.com/media/0/02/Vh_logo_book.png'); |
} |
} |
||
Line 31: | Line 31: | ||
body { |
body { |
||
background-color: #163144; |
background-color: #163144; |
||
− | background-image: url("https:// |
+ | background-image: url("https://villagersandheroes.gamepedia.com/media/1/1f/Background.jpg"); |
background-repeat: no-repeat; |
background-repeat: no-repeat; |
||
background-position: center center; |
background-position: center center; |
||
Line 53: | Line 53: | ||
height: 100%; |
height: 100%; |
||
pointer-events: none; |
pointer-events: none; |
||
− | background-image: url("https:// |
+ | background-image: url("https://villagersandheroes.gamepedia.com/media/8/88/Background_overlay.png"); |
background-repeat: no-repeat; |
background-repeat: no-repeat; |
||
background-position: center center; |
background-position: center center; |
||
Line 223: | Line 223: | ||
div#content a.external[href ^="https://"], |
div#content a.external[href ^="https://"], |
||
.link-https { |
.link-https { |
||
− | background-image: url(https:// |
+ | background-image: url(https://villagersandheroes.gamepedia.com/media/b/b0/Lock-icon.png); |
} |
} |
||
Line 229: | Line 229: | ||
div#content { |
div#content { |
||
background-color: #fcc987; |
background-color: #fcc987; |
||
− | /* background-image: url("https:// |
+ | /* background-image: url("https://villagersandheroes.gamepedia.com/media/c/c4/WindowBG.png"); */ |
− | background-image: url("https:// |
+ | background-image: url("https://villagersandheroes.gamepedia.com/media/2/25/Parchment_background.png"); |
background-repeat: repeat; |
background-repeat: repeat; |
||
margin-right: 1em; |
margin-right: 1em; |
||
Line 238: | Line 238: | ||
border-radius: 5px; |
border-radius: 5px; |
||
− | border-image: url(https:// |
+ | border-image: url(https://villagersandheroes.gamepedia.com/media/4/4d/Parchment_border.png) 30 28 30 28 / 30px 28px / 9px 10px 10px 10px repeat round; |
/* text-shadow: 0px 0px 3px rgba(255, 255, 255, 0.5); */ |
/* text-shadow: 0px 0px 3px rgba(255, 255, 255, 0.5); */ |
||
Line 466: | Line 466: | ||
border: solid rgba(0,0,0,0); |
border: solid rgba(0,0,0,0); |
||
border-bottom-width: 28px; |
border-bottom-width: 28px; |
||
− | border-image: url(https:// |
+ | border-image: url(https://villagersandheroes.gamepedia.com/media/1/10/Separator.png) 0 0 360 0 stretch; |
margin-bottom: 15px; |
margin-bottom: 15px; |
||
font-family: "Inknut Antiqua"; |
font-family: "Inknut Antiqua"; |
||
Line 1,137: | Line 1,137: | ||
box-shadow: none; |
box-shadow: none; |
||
border-radius: 5px; |
border-radius: 5px; |
||
− | border-image: url(https:// |
+ | border-image: url(https://villagersandheroes.gamepedia.com/media/3/3b/Thickframe.png) 10 / 10px / 3px 3px 3px 3px stretch; |
background: linear-gradient(to bottom,#1a2638,#121b27); |
background: linear-gradient(to bottom,#1a2638,#121b27); |
||
color: #fff; |
color: #fff; |
||
Line 1,160: | Line 1,160: | ||
border: solid rgba(0,0,0,0); |
border: solid rgba(0,0,0,0); |
||
border-bottom-width: 28px; |
border-bottom-width: 28px; |
||
− | border-image: url(https:// |
+ | border-image: url(https://villagersandheroes.gamepedia.com/media/1/10/Separator.png) 0 0 360 0 stretch; |
margin-bottom: 5px; |
margin-bottom: 5px; |
||
padding-bottom: 10px; |
padding-bottom: 10px; |
||
Line 1,176: | Line 1,176: | ||
border: solid rgba(0,0,0,0); |
border: solid rgba(0,0,0,0); |
||
border-bottom-width: 28px; |
border-bottom-width: 28px; |
||
− | border-image: url("https:// |
+ | border-image: url("https://villagersandheroes.gamepedia.com/media/1/10/Separator.png") 0 0 360 0 stretch; |
margin-bottom: 15px; |
margin-bottom: 15px; |
||
} |
} |
Revision as of 18:20, 26 June 2018
/* CSS placed here will affect users of the Hydra skin */
/* For elements which only display in the mobile view */
.mobileonly {
display: none;
}
/* Hide main page header */
body.page-Villagers_and_Heroes_Wiki h1.firstHeading {
display:none;
}
/* Head */
div#mw-page-base {
background: transparent;
}
/* Current Logo */
.mw-wiki-logo {
background-image: url('https://villagersandheroes.gamepedia.com/media/0/02/Vh_logo_book.png');
}
div#mw-head-base {
background: none;
}
div#mw-head {
background: none;
}
/* Framework */
body {
background-color: #163144;
background-image: url("https://villagersandheroes.gamepedia.com/media/1/1f/Background.jpg");
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
background-size: cover;
color: #000;
}
.mw-body{
color: #000;
}
/* For use if tiling wood background is used
body:before{
content: "";
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
pointer-events: none;
background-image: url("https://villagersandheroes.gamepedia.com/media/8/88/Background_overlay.png");
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
background-size: cover;
z-index: -10;
}
*/
/* Top Tabs */
#left-navigation {
}
#right-navigation {
margin-right: 1em;
}
div#mw-head div.vectorTabs,
div#mw-head div.vectorTabs ul,
div#mw-head div.vectorTabs ul li,
div#mw-head div.vectorTabs ul li.selected,
div#mw-head div.vectorTabs ul li:not(#ca-unwatch):not(#ca-watch) a,
div#mw-head div.vectorTabs ul li.selected a,
div#mw-head div.vectorTabs ul li span,
div#mw-head div.vectorTabs ul li.selected span {
background: none;
}
div#mw-head div.vectorTabs li a,
div#mw-head div.vectorTabs li a:visited,
div.vectorMenu h3 span {
color: #fff;
text-shadow: -1px 0 0.1em black, 0 1px 0.1em black, 1px 0 0.1em black, 0 -1px 0.1em black;
}
div#mw-head div.vectorTabs li a:hover,
div#mw-head div.vectorTabs li a:visited:hover {
color: #fff;
text-shadow: -1px 0 0.1em black, 0 1px 0.1em black, 1px 0 0.1em black, 0 -1px 0.1em black;
}
div#mw-head div.vectorTabs li.selected a,
div#mw-head div.vectorTabs li.selected a:visited {
color: #ffdd67;
font-weight: bold;
}
div#mw-head div.vectorMenu {
background-image: url(https://commons.gamepedia.com/media/commons.gamepedia.com/0/0b/Vector_menu_downarrow.png);
}
div#mw-head div.vectorMenu h4 {
color: #fff;
text-shadow: -1px 0 0.1em black, 0 1px 0.1em black, 1px 0 0.1em black, 0 -1px 0.1em black;
}
div#mw-head div.vectorMenu h3,
div#mw-head div.vectorMenu h3 a {
background: none;
}
div#mw-head div.vectorMenu div.menu ul {
background: #fcc987;
border: solid 1px #333;
}
div#mw-head div.vectorMenu div.menu li a,
div#mw-head div.vectorMenu div.menu li a:visited {
color: #000;
}
div#mw-head div.vectorMenu div.menu li a:hover,
div#mw-head div.vectorMenu div.menu li a:visited:hover {
color: #000;
}
div#simpleSearch {
border-radius: 5px;
background: linear-gradient(rgba(255, 255, 255, 0.9),rgba(255, 255, 255, 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);
border: none;
padding-left: 10px;
height: 30px;
line-height: 29px;
margin-left: 10px;
}
div#simpleSearch #searchButton {
background-image: linear-gradient(transparent,transparent),url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2213%22%3E%3Cg%20stroke-width%3D%222%22%20stroke%3D%22%23000000%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M11.29%2011.71l-4-4%22%2F%3E%3Ccircle%20cx%3D%225%22%20cy%3D%225%22%20r%3D%224%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E);
margin-right: 5px;
}
div#simpleSearch #searchInput::placeholder {
color: #505050;
opacity: 1;
}
div#simpleSearch #searchInput::-moz-placeholder {
color: #505050;
opacity: 1;
}
div#simpleSearch input {
color: #000;
}
#p-search{
margin-right: 0px;
}
#p-search input[type="submit"] {
}
#p-search input[type="search"] {
}
#p-search input:focus {
}
/* Sidebar */
div#mw-panel {
margin-top: 1.6em;
text-shadow: -1px 0 0.1em black, 0 1px 0.1em black, 1px 0 0.1em black, 0 -1px 0.1em black;
}
div#mw-panel div.portal:not(#p-claimWiki):not(#p-socialProfiles):not(#p-sitePromos) {
background-color: transparent;
margin: 0 9px 10px 0;
padding: 0.25em 0 !important;
width: 150px;
margin-right: 1em;
}
l
div#mw-panel div.portal div.body,
#mw-panel.collapsible-nav .portal {
background-image: none;
}
div#mw-panel div.portal h3,
div#mw-panel div.portal h3:visited,
#mw-panel.collapsible-nav .portal h3 a,
#mw-panel.collapsible-nav .portal h3 a:visited,
#mw-panel.collapsible-nav .portal.collapsed h3 a,
#mw-panel.collapsible-nav .portal.collapsed h3 a:visited {
color: #ffdd67;
font-weight:bold;
}
div#mw-panel div.portal div.body ul li a {
color: #fff;
}
div#mw-panel div.portal div.body ul li a:visited{
color: #fff;
}
div#mw-panel div#p-socialProfiles.portal .body {
margin: auto;
}
.socialSidebar {
width: auto;
max-width: 100%;
}
/* Link styles */
div#content a.external[href ^="https://"],
.link-https {
background-image: url(https://villagersandheroes.gamepedia.com/media/b/b0/Lock-icon.png);
}
/* Content */
div#content {
background-color: #fcc987;
/* background-image: url("https://villagersandheroes.gamepedia.com/media/c/c4/WindowBG.png"); */
background-image: url("https://villagersandheroes.gamepedia.com/media/2/25/Parchment_background.png");
background-repeat: repeat;
margin-right: 1em;
overflow: hidden;
border: none;
box-shadow: inset 0px 0px 5px #ffffff, 0px 0px 5px #000000;
border-radius: 5px;
border-image: url(https://villagersandheroes.gamepedia.com/media/4/4d/Parchment_border.png) 30 28 30 28 / 30px 28px / 9px 10px 10px 10px repeat round;
/* text-shadow: 0px 0px 3px rgba(255, 255, 255, 0.5); */
text-shadow: 1px 1px rgba(255, 255, 255, 0.4);
margin-top: 5px;
padding: 35px;
padding-top: 20px;
}
h1, h2, h3, h4, h5, h6, hr {
color: #000;
border-color: rgba(0, 0, 0, 0.2);
border: none;
}
.mw-body .firstHeading {
margin-top: 10px;
}
.mw-body h1, .mw-body h2, .mw-body h3 {
font-family: sans-serif;
font-family: "Inknut Antiqua";
}
.mw-body-content{
font-size:0.9em;
font-family: "Droid Serif";
line-height: 1.8;
text-align: justify;
}
.mw-body-content b, .mw-body-content dt, .infoboxlabel{
font-family: "Inknut Antiqua";
font-size: 90%;
}
.mw-body h1, .mw-body-content h1 {
font-size: 1.7em;
font-weight: 700;
}
.mw-body-content h2 {
font-size: 1.5em;
font-weight: 700;
margin-top: 40px;
border-bottom: 1px solid #0003;
padding-bottom: 5px;
}
.mw-body-content h3 {
font-size: 1em;
font-weight: 700;
}
div#toc,
div.toc,
div.mw-warning,
ul#filetoc,
#catlinks {
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;
padding-left: 10px;
margin-top: 15px;
}
div.mw-warning{
border: none;
border-radius: 5px;
padding: 15px;
background: linear-gradient(rgba(188, 0, 0, 0.3),rgba(153, 0, 0, 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);
}
/* Footer */
div#footer {
background-color: transparent;
margin-right: 1em;
margin-top: 1em;
text-shadow: -1px 0 0.1em black, 0 1px 0.1em black, 1px 0 0.1em black, 0 -1px 0.1em black;
}
div#footer ul li {
color: #fff;
}
div#footer a {
color: #3db3ff;
font-weight:bold;
}
/* Tables */
table.wikitable {
background: none;
color: #000;
border: none;
box-shadow: inset 0px 0px 2px rgba(255,255,255,0.5),0px 0px 3px rgba(0,0,0,0.3);
border-radius: 5px;
padding: 10px;
text-align: left;
width: 100%;
}
table.wikitable td:first-child{
width: 0;
}
table.wikitable tr{
/* border-bottom: none;
box-shadow: 0px 2px 3px #0000001a, inset 0px -1px 2px #fff3;
background: linear-gradient(to bottom,rgba(255,255,255,0.1),rgba(255,255,255,0.2)); */
}
table.wikitable thead{
background: linear-gradient(to bottom,rgba(255,255,255,0.4),rgba(255,255,255,0));
}
table.wikitable > tr > th,
table.wikitable > * > tr > th {
background-color: transparent;
color: #000000;
font-family: "Inknut Antiqua";
font-weight: 700;
border: none;
}
table.wikitable > tr > td,
table.wikitable > * > tr > td {
background: none;
border: none;
padding: 1em;
border-right: 1px dashed #0000004d;
}
table.wikitable > tr > td:last-child,
table.wikitable > * > tr > td:last-child {
border-right: none;
}
table.wikitable div.thumb{
margin: 0px;
}
table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {
padding: 1em;
}
table.wikitable > tr > th, table.wikitable > * > tr > th {
text-align: left;
}
/* Infoboxes */
.infobox {
float: right;
margin-bottom: 1em;
margin-left: 1em;
width: 300px;
clear: right;
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;
}
.infobox img{
width: auto;
height: auto;
}
.infobox table {
background-color: #f0f0f0;
width: 100%;
}
.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;
}
.infobox th.header, .infobox th.title {
background-color: #337ab7;
border: 1px solid #333;
color: #fff;
text-align: center;
}
.infobox th.title {
font-size: 120%;
padding: 0.5em;
}
.infobox td {
padding: 3px;
}
.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://villagersandheroes.gamepedia.com/media/1/10/Separator.png) 0 0 360 0 stretch;
margin-bottom: 15px;
font-family: "Inknut Antiqua";
}
.infoboxdescription{
font-size: 13px;
}
.infoboxlabel{
font-weight: bold;
}
.infobox.infobox-content-left > tr > td,
.infobox.infobox-content-left > * > tr > td {
text-align: left;
}
/* Interface */
fieldset {
border-color: #333;
}
div#mw-js-message {
background: #fcc987;
border: solid 1px #333;
}
.mw-search-profile-tabs {
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);
}
.mw-search-profile-tabs div.search-types ul li.current a {
color: #000;
}
fieldset#mw-searchoptions div.divider {
border-bottom: solid 1px #333;
}
fieldset#mw-searchoptions {
border-color: #333 !important;
background: #fcc987;
}
div.mw-warning-with-logexcerpt {
border: none;
border-radius: 5px;
padding: 15px;
background: linear-gradient(rgba(188, 0, 0, 0.3),rgba(153, 0, 0, 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);
}
table.mw_metadata {
background: none;
border: 1px solid #333;
}
table.mw_metadata th {
background: #337ab7;
border: 1px solid #333;
color: #fff;
}
table.mw_metadata td {
background: none;
border: 1px solid #333;
}
.mw-datatable {
background: none;
border: 1px solid #333;
}
.mw-datatable th {
background: #337ab7;
border: 1px solid #333;
color: #fff;
}
.mw-datatable td {
background: none;
border: 1px solid #333;
}
.mw-datatable tr:hover td {
background: rgba(51,122,183,.2);
}
.mw-collapsible-toggle.mw-collapsible-toggle-expanded a,
.mw-collapsible-toggle.mw-collapsible-toggle-collapsed a {
color: #fff;
}
.mw-collapsible-toggle {
color: #fff;
}
.mw-collapsible-toggle a {
color: #fff;
}
li.gallerybox {
border-color: transparent;
}
li.gallerybox div.thumb img {
border-radius: 3px;
border: none;
box-shadow: none;
}
ul.mw-gallery-nolines li.gallerybox div.thumb {
box-shadow: none;
}
.thumb,
div.thumbinner,
li.gallerybox div.thumb {
border: none;
box-shadow: none;
background: transparent;
border-radius: 3px;
padding: none;
}
/* Wiki editor */
div.wikiEditor-ui {
background: transparent;
border: none;
}
div.wikiEditor-ui-buttons {
background-color: transparent;
border: none;
}
div.wikiEditor-ui-controls {
background-color: transparent;
border-bottom: none;
margin-bottom: 5px;
margin-top: 10px;
}
div.wikiEditor-ui-tabs {
background: none;
border: none;
}
div.wikiEditor-ui-tabs div {
border: none;
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);
margin-right: 5px;
}
div.wikiEditor-ui-tabs div a {
color: #000;
background: none;
}
div.wikiEditor-ui-tabs div.current {
border-bottom: none;
background: linear-gradient(rgba(0, 0, 0, 0.21),rgba(0, 0, 0, 0.01));
box-shadow: inset 0px 0px 2px rgba(0,0,0,0.5),0px 0px 3px rgba(255,255,255,0.1),0px 1px 2px rgba(255,255,255,0.4);
}
div.wikiEditor-ui-tabs div.current a {
color: #000;
font-weight: bold;
}
div.wikiEditor-ui .wikiEditor-ui-top {
border-bottom: none;
}
div.wikiEditor-ui .wikiEditor-ui-view {
border: none;
}
div#wikiEditor-ui-toolbar {
background: linear-gradient( to bottom, rgba(51,122,183,0), rgba(51,122,183,.15) 26px);
}
div.wikiEditor-ui-toolbar .group {
border-right: 1px solid #333;
}
div.wikiEditor-ui-toolbar .group-search {
border-left: 1px solid #333;
border-right: none;
}
div.wikiEditor-ui-toolbar .group .label {
color: #000;
font-size: 13px;
}
.wikiEditor-ui .wikiEditor-ui-view {
border: none;
}
.tab {
border-color: transparent;
}
div.wikiEditor-ui-toolbar .tabs span.tab a,
div.wikiEditor-ui-toolbar .tabs span.tab a:visited {
color: #000;
font-size: 13px;
}
div.wikiEditor-ui-toolbar .tabs span.tab a.current,
div.wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
color: #000;
font-size: 13px;
}
div.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 */
}
div.wikiEditor-ui-toolbar .sections .section {
border-top: none;
box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
background: #00000020;
}
div.wikiEditor-ui-toolbar .booklet .index div {
color: #000;
}
div.wikiEditor-ui-toolbar .booklet .index .current {
background-color: rgba(51,122,183,.3);
color: #000;
font-weight: bold;
}
div.wikiEditor-ui-toolbar .booklet .pages {
background-color: transparent;
}
div.wikiEditor-ui-toolbar .page-characters div span {
border: 1px solid #333;
color: #000;
}
div.wikiEditor-ui-toolbar .page-characters div span:hover {
background-color: rgba(51,122,183,.15);
border-color: #333;
color: #000;
}
div.wikiEditor-ui-toolbar .page-table th {
color: #000;
}
div.wikiEditor-ui-toolbar .page-table td {
border-top: 1px solid #333;
color: #000;
}
div.wikiEditor-preview-loading {
background-color: transparent;
}
div.wikiEditor-preview-contents {
background-color: transparent;
border: none;
overflow-y: hidden;
}
div.editOptions, div#wikiEditor-ui-toolbar{
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);
}
.mw-editform-ooui .editOptions {
border-radius: 5px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
}
div#wikiEditor-ui-toolbar {
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
}
/* Page history */
table.diff,
td.diff-otitle,
td.diff-ntitle {
color: #000;
}
td.diff-context {
background: rgba(0,0,0,.1);
color: #000;
}
.diffchange {
color: #000;
}
/* Preferences */
.client-js #preftoc,
.client-js #preftoc li,
.client-js #preferences,
.client-js #preftoc li a {
background-color: rgba(0,0,0,0);
background-image: none;
color: #000;
}
.client-js #preftoc li:first-child,
.client-js #preftoc li:first-child {
margin-bottom: 4px;
margin-left: 5px;
}
.client-js #preftoc li.selected a,
.client-js #preftoc li.selected a {
background: #337ab7;
border-color: #333 #333 #333;
border-style: solid;
border-width: 1px;
color: #fff;
font-weight: bold;
}
.client-js #preferences {
background-color: #fff;
border: 1px solid #000;
}
.client-js #preferences fieldset {
border-color: #000;
}
.client-js #preferences legend {
color: #000;
}
/* 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 {
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;
}
.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: 48px;
padding: 5px;
}
.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-none {
border-left: none;
}
.ambox-yellow {
border-left: 10px solid #f4c430;
}
.ambox-purple {
border-left: 10px solid #9932cc;
}
.ambox-gray {
border-left: none;
}
.ambox-green {
border-left: 10px solid #228b22;
}
/* Ambox small text */
.amsmalltext {
font-size: smaller;
margin-left:0.8em;
margin-top:0.5em;
}
/* INFOBOXES: game or book depended color style */
.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: 100%;
font-weight: bold;
padding: 0.5em;
font-family: "Inknut Antiqua";
}
.infoboxdetails {
padding: 0em;
}
table.infobox > tr > th, table.infobox > * > tr > th {
text-align: center;
}
/* 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.1);
color: #333;
}
/* Even row striping */
.navbox-even {
background: rgba(0, 0, 0, 0.1);
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 */
/* 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{
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://villagersandheroes.gamepedia.com/media/3/3b/Thickframe.png) 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{
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://villagersandheroes.gamepedia.com/media/1/10/Separator.png) 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://villagersandheroes.gamepedia.com/media/1/10/Separator.png") 0 0 360 0 stretch;
margin-bottom: 15px;
}
.columns-auto{
column-count: 3;
}
.columns-auto p:first-child{
margin-top: 0;
}
@media only screen and (max-width: 1200px) {
.columns-auto{
column-count: 2;
}
}
@media only screen and (max-width: 700px) {
.columns-auto{
column-count: 1;
}
}
.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;
padding-top: 0px;
}
.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;
}
.icon-link{
margin-bottom: 3px;
font-size: 0.875em;
}
.icon-link img{
margin-top: -1px;
}
.icon-link-large{
font-size: 0.9em;
}
.image-fluid img{
width: 100%;
height: auto;
}
#msupload-div {
background: #00000080;
border: none;
padding: 1px;
box-shadow: inset 0px 0px 3px #000;
}
#msupload-dropzone {
border: 1px dashed #fff6;
color: #ffffffb3;
text-shadow: none;
}
.ve-init-mw-desktopArticleTarget #bodyContent {
border: none;
border-radius: 5px;
box-shadow: inset 0px 0px 3px rgb(0, 0, 0),0px 0px 4px rgba(255, 255, 255, 0.81);
background: #ffe4b6;
padding: 5px;
}
.oo-ui-toolbar-position-top > .oo-ui-toolbar-bar {
border-radius: 5px;
box-shadow: 0px 0px 3px #0009;
text-shadow: none;
}
.oo-ui-toolbar-position-top > .oo-ui-toolbar-bar .oo-ui-toolbar-bar{
border-radius: 0px;
box-shadow: none;
text-shadow: none;
}
.oo-ui-toolbar-narrow .oo-ui-toolbar-bar::after {
border: none;
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-toolbar-actions > .oo-ui-buttonElement.oo-ui-labelElement > .oo-ui-buttonElement-button {
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border: none;
}
.oo-ui-toolbar-position-top > .oo-ui-toolbar-bar {
border: none;
border-bottom: none;
}
.oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button {
background: transparent;
color: #cccccc;
font-weight: 300;
}
#mw-content-text .mw-code{
box-shadow: 0px 0px 3px #0009;
border-radius: 5px;
border: none;
}
.ve-init-mw-desktopArticleTarget-toolbar-opened {
margin-bottom: 5px;
}
.mainpage-top{
}
.mainpage-left{
float:left; width: 60%;
}
.mainpage-right{
float:right; width: 40%;
}
@media only screen and (max-width: 850px) {
.mainpage-left{
float:none;
width: 100%;
}
.mainpage-right{
float:none;
width: 100%;
}
}
@media only screen and (max-width: 720px) {
div#content{
border-image: none;
margin-left: 0px;
margin-right: 0px;
box-shadow: none;
border-radius: 0px;
padding: 10px;
}
div#simpleSearch {
margin: 0 auto;
padding-right: 10px;
}
#p-search{
margin-right: -25px;
}
}
blockquote{
font-style: italic;
color: #404040;
border-left: 2px solid #b60000;
margin-left: 25px;
padding-left: 15px;
}
div.floatright, table.floatright {
margin-left: 3em;
}
div.floatleft, table.floatleft {
margin-right: 3em;
}
div.patrollink {
text-align: left;
}
ul.gallery {
text-align: left;
}
.gallery-simple{
text-align: left;
}
.gallery-simple img{
margin-bottom: 10px;
border-radius: 5px;
margin-right: 10px;
border: 2px solid #fff6;
box-shadow: 0px 0px 3px #000000;
}
.gallery-simple a{
}
.gallery-simple img:hover{
opacity: 0.8;
}
.embedvideowrap{
border: 2px solid #fff6;
box-shadow: 0px 0px 3px #000000;
border-radius: 5px;
height: 338px;
}
.embedvideowrap iframe{
border-radius: 5px;
}
html .thumbimage {
border: none;
border-radius: 3px;
}
table.wikitable .thumbimage{
height: 50px;
width: auto;
}
table.thumb-large .thumbimage{
height: 80px;
width: auto;
}
table.thumb-large div.thumb {
margin: -10px;
}
table.wikitable div.thumbinner{
width: auto !important;
}
table.wikitable .thumbcaption, table.wikitable .magnify {
display: none;
}
.mw-collapsible-toggle.mw-collapsible-toggle-expanded a, .mw-collapsible-toggle.mw-collapsible-toggle-collapsed a {
color: #36b;
}
.mw-collapsible-toggle {
color: #36b;
}
table.wikitable > tr > td, table.wikitable > * > tr > td {
border-bottom: none;
box-shadow: 0px 2px 3px #0000001a,inset 0px -1px 2px #fff3;
background: linear-gradient(to bottom,rgba(255,255,255,0.1),rgba(255,255,255,0.2));
}
table.wikitable tr:first-child{
border-bottom: none;
box-shadow: 0px 2px 3px #0000001a,inset 0px -1px 2px #fff3;
background: linear-gradient(to top,rgba(255,255,255,0.2),rgba(255,255,255,0.3));
}
.mw-collapsible-toggle a {
color: #36b;
}