MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
MarkusRost (talk | contribs) mNo edit summary |
||
Line 58: | Line 58: | ||
transform: rotate(-90deg); |
transform: rotate(-90deg); |
||
} |
|||
/* Mark internal links as plain */ |
|||
#content a.external[href^="https://wynncraft.gamepedia.com"], |
|||
#content a.external[href^="//wynncraft.gamepedia.com"] { |
|||
background: none; |
|||
padding-right: 0; |
|||
} |
} |
Revision as of 10:34, 23 January 2018
/* CSS placed here will be applied to all skins */
.banner {
background: url('skins/common/images/banner.png') repeat-x; /* this file doesn't exist, neither here nor on the original site */
text-align: center;
color: #000;
}
/* Infobox template style */
.infobox {
border: 1px solid #aaa;
background-color: #f9f9f9;
color: black;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
/* @noflip */
text-align: left;
font-size: 88%;
line-height: 1.5em;
}
.infobox caption {
font-size: 125%;
font-weight: bold;
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
.infobox img {
margin: auto !important;
}
/* Fix Fancybox */
.fancybox-title a,
.fancybox-title a:hover {
color: #fff !important;
}
/* Mobile Optimization */
.rotate90 {
-moz-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
-o-transform: rotate(-90deg);
-webkit-transform: rotate(-90deg);
transform: rotate(-90deg);
}
/* Mark internal links as plain */
#content a.external[href^="https://wynncraft.gamepedia.com"],
#content a.external[href^="//wynncraft.gamepedia.com"] {
background: none;
padding-right: 0;
}