mNo edit summary |
mNo edit summary |
||
Line 817: | Line 817: | ||
#mw-panel h3:hover { |
#mw-panel h3:hover { |
||
− | text- |
+ | text-shadow: none !important; |
} |
} |
||
Revision as of 20:48, 11 July 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-Wynncraft_Wiki h1.firstHeading {
display:none;
}
/* 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: 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: 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 */
/* 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: rgba(0, 0, 0, 0.05);
border-radius: 5px;
border: 2px solid #5f6559;
box-shadow: 0 0 0 2px #dadada inset;
margin: 5px 5px 5px 5px;
padding: 5px 5px 5px 5px;
}
.fpplainbox {
padding: 5px 8px 10px 8px;
margin: 0 5px 10px 5px;
vertical-align: top;
}
.fpbox .welcome {
border-bottom: 1px solid #505050;
font-size: 150%;
margin: 0 0 10px 0;
padding: 0 0 5px 0;
text-transform: uppercase;
text-align: center;
}
.fpbox .heading {
border-bottom: 1px solid #505050;
font-size: 132%;
font-variant: small-caps;
margin: 0 0 10px 0;
padding: 0 0 5px 0;
}
.fpbox .heading .smalllink {
font-size: 75%;
font-weight: bold;
}
.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: #efefef;
background-image: -moz-linear-gradient(center top, #efefef 0%, #c0c0c0 100%);
background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#efefef), color-stop(100%,#c0c0c0));
background-image: -webkit-linear-gradient(top, #efefef 0%, #c0c0c0 100%);
background-image: -o-linear-gradient(top, #efefef 0%, #c0c0c0 100%);
background-image: -ms-linear-gradient(top, #efefef 0%, #c0c0c0 100%);
background-image: linear-gradient(to bottom, #efefef 0%, #c0c0c0 100%);
border: 1px solid #c0c0c0;
border-radius: 4px;
color: #000000;
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;
}
.fplink.image .image a {
padding: 0;
}
.fplink.image .link a {
background: rgba(0, 0, 0, 0.05);
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;
}
/* Set page background colour to match main content background colour to reduce visibility of checkerboarding */
html {
background-color: #E6EFF4;
}
/* Give the background the stone texture: [[File:Background.png]] */
html body {
height: auto !important;
min-height: 100%;
background-color: #202020;
background-image: url(https://wynncraft.gamepedia.com/media/wynncraft.gamepedia.com/2/26/Background.png);
}
/* Add the wood planks background: [[File:Header-background.png]] */
#mw-page-base {
background-color: #8DBDE9;
background-image: url(https://wynncraft.gamepedia.com/media/wynncraft.gamepedia.com/d/dd/Header-background.png);
height: 80px;
margin-bottom: -74px;
margin-left: 175px;
}
/* Set the outer content link colours to light gray and white */
#mw-panel *:not(h3) > a:not(:hover):not(:focus),
#footer a:not(:hover):not(:focus),
.mw-notification a:not(:hover):not(:focus) {
color: #FFF !important;
}
#mw-panel a,
#footer li,
#footer a,
.mw-notification a {
color: #BFBFBF !important;
}
#mw-panel h3 {
color: #FFF !important;
/*text-decoration: none !important;*/
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
#mw-panel h3:hover {
text-shadow: none !important;
}
/* Set the tab link colours to black and bold */
#p-namespaces a,
#p-views a,
div#mw-head div.vectorMenu h4,
div#p-variants.vectorMenu #mw-vector-current-variant {
font-weight: bold;
text-decoration: none;
}
/* Use black links */
#p-namespaces a,
#p-views a,
div#mw-head div.vectorMenu h4 {
color: #000;
}
#p-namespaces .new a,
#p-views .new a {
color: #BA0000;
}
/* Add some margin to help with the 3D effect */
#pageWrapper,
#right-navigation {
margin-right: 10px;
}
/* Position the tabs */
#left-navigation,
#right-navigation {
margin-top: 43px;
}
#mw-head-base {
height: 80px;
}
/* Give the tabs the sign styling: [[File:Tabs-left.png]], [[File:Tabs-middle.png]], [[File:Tabs-right.png]] */
div.vectorTabs,
div.vectorMenu {
background: none;
padding: 0;
height: 36px;
}
div.vectorTabs ul,
div.vectorTabs ul li,
div.vectorTabs ul li.selected {
background: none;
}
div.vectorTabs span {
position: relative;
background-attachment: scroll;
background-clip: border-box, border-box, content-box;
background-color: rgba(0, 0, 0, 0);
background-image: url("https://wynncraft.gamepedia.com/media/wynncraft.gamepedia.com/b/b0/Tabs-left.png"), url("https://wynncraft.gamepedia.com/media/wynncraft.gamepedia.com/0/06/Tabs-right.png"), url('https://wynncraft.gamepedia.com/media/wynncraft.gamepedia.com/6/69/Tabs-middle.png');
background-position: left top, right top, center top;
background-repeat: no-repeat, no-repeat, repeat-x;
margin-right: 8px;
}
div.vectorTabs li.selected span,
div.vectorTabs li span:hover,
div.vectorTabs li span:focus {
background-position: left bottom, right bottom, center bottom;
}
div.vectorTabs li a {
padding: 15px 14px 0 20px;
height: 21px;
}
#ca-watch.icon a,
#ca-unwatch.icon a {
padding-top: 36px;
width: 45px;
background-position: 17px 15px !important;
transform-origin: 25px 23.5px !important;
}
div.vectorMenu {
margin: 0 8px 0 6px;
}
div#mw-head div.vectorMenu h3 {
position: relative;
background-attachment: scroll;
background-clip: border-box, border-box, content-box;
background-color: rgba(0, 0, 0, 0);
background-image: url("https://wynncraft.gamepedia.com/media/wynncraft.gamepedia.com/b/b0/Tabs-left.png"), url("https://wynncraft.gamepedia.com/media/wynncraft.gamepedia.com/0/06/Tabs-right.png"), url('https://wynncraft.gamepedia.com/media/wynncraft.gamepedia.com/6/69/Tabs-middle.png');
background-position: left top, right top, center top;
background-repeat: no-repeat, no-repeat, repeat-x;
padding: 0;
margin: 0;
height: 36px;
overflow: visible;
}
div#mw-head div.vectorMenu h3:hover,
div#mw-head div.vectorMenu.menuForceShow h3 {
background-position: left bottom, right bottom, center bottom;
}
div.vectorMenu h3 span {
padding: 16px 0 0 14px;
margin-right: 28px;
font-weight: bold;
}
div.vectorMenu h3 a {
height: 36px;
margin-right: 8px;
}
div.vectorMenu div.menu {
top: 36px;
}
/* Fix placeholder text being too light in chrome */
::-webkit-input-placeholder {
color: inherit;
opacity: 0.54;
}
/* The suggestions shown under the search bar */
.suggestions.searchbar {
margin-top: -29px;
margin-right: -1px;
}
.suggestions.searchbar > .suggestions-results,
.suggestions.searchbar > .mw-searchSuggest-link {
display: block;
margin-left: 1px;
}
.suggestions.searchbar .suggestions-results,
.suggestions.searchbar .suggestions-special {
background-color: #DBDADA;
border-color: #3C3B3B;
}
.suggestions.searchbar .suggestions-result-current {
background-color: highlight;
}
/* Replace divider with a similar image that has proper transparency: [[File:Panel-divider.png]] */
div#mw-panel div.portal {
background-image: url(https://wynncraft.gamepedia.com/media/wynncraft.gamepedia.com/b/bf/Panel-divider.png);
}
/* Give the main content area its healthy blue glow and add a border */
div#content {
position: relative;
background-color: #E6EFF4;
}
/* Use black bullet points, instead of blue circles: [[File:List bullet.svg]] */
ul {
list-style-image: url(https://wynncraft.gamepedia.com/media/wynncraft.gamepedia.com/3/39/List_bullet.svg);
}
/* Various styling for message boxes, based on colours/styling from [[Template:Msgbox]] */
div.mw-warning-with-logexcerpt,
.errorbox {
background-color: #FCC;
border: 2px solid #FAA;
}
.warningbox {
background-color: #FFC;
border: 2px solid #FFA;
}
.successbox {
background-color: #CFC;
border: 2px solid #AFA;
}
.successbox strong p {
margin: 0;
}
div.mw-warning-with-logexcerpt,
.errorbox,
.warningbox,
.successbox {
padding: 3px 12px;
}
/* Add white background to some areas */
#asirra_ChallengeTableDiv {
background-color: #FFF;
}
/* Fix diff area styling */
table.diff {
background-color: transparent;
}
td.diff-addedline,
td.diff-deletedline {
background-color: #F9F9F9;
}
td.diff-context {
background-color: #F3F3F3;
}
td.diff-addedline,
td.diff-deletedline,
td.diff-context,
td.diff-addedline .diffchange,
td.diff-deletedline .diffchange {
border-radius: 0;
}
/* Get rid of stupid white borders on page history */
#pagehistory li {
border-color: transparent;
}
/* Same as the default preference tab images, but with the blue background colour instead of white
[[File:Pref-tab-border.png]] [[File:Pref-tab-bg.png]] */
.client-js #preftoc,
.client-js #preftoc li {
background-image: url(https://wynncraft.gamepedia.com/media/wynncraft.gamepedia.com/f/f9/Pref-tab-border.png);
}
.client-js #preftoc li.selected a {
background-image: url(https://wynncraft.gamepedia.com/media/wynncraft.gamepedia.com/5/57/Pref-tab-bg.png);
}
/* Fix side-by-side editor background colour */
.wikiEditor-ui-controls {
background-color: #E6EFF4;
border-right: 1px solid #E6EFF4;
}