MediaWiki:Sitewide.css
Note: After saving, you have to bypass your browser's cache to see the changes. The simplest method that will work for most users is to hold down the ⇧ Shift key and click the Reload toolbar button. For details and other methods, see Help:Clear your browser cache.
/*
* This stylesheet is loaded on both desktop and mobile views.
*
* Desktop-only styles should go in MediaWiki:Common.css or MediaWiki:Hydra-dark.css if theme related.
* Mobile-only styles should go in MediaWiki:Mobile.css or MediaWiki:Gadget-darkmobile.css if theme related.
*/
/* ===== Succession Box (used by Template:Version) ===== */
table.successionbox {
margin-left: auto;
margin-right: auto;
text-align: center;
}
/* ===== Hatnote (Template:Hatnote) ===== */
.hatnote {
display: flex;
margin-bottom: 0.4em;
}
.hatnote__icon {
padding-right: 0.4em;
width: 1.6em;
}
.hatnote__icon img {
width: 100%;
height: auto;
}
.hatnote__text {
font-style: italic;
}
.hatnote__text i {
font-style: normal;
}
/* ===== Message Box (Template:Mbox) ===== */
.mbox {
display: table;
background-color: #332f24;
border-color: #474233 #403b2e #26231b;
border-radius: 6px;
border-style: solid;
border-width: 2px 1px;
margin: 6px 10%;
padding: 2px;
}
.mbox-small {
clear: right;
float: right;
font-size: 88%;
line-height: 1.2;
margin: 6px 0 6px 12px;
width: 230px;
}
.mbox-small-left {
clear: left;
float: left;
font-size: 88%;
line-height: 1.2;
margin: 6px 12px 6px 0;
width: 230px;
}
.mbox-inner {
display: table-row;
}
.mbox-image,
.mbox-text {
display: table-cell;
border-color: #1a1712;
border-style: solid;
border-width: 1px;
border-radius: 6px;
padding: 4px 1em;
vertical-align: middle;
}
.mbox-image {
border-right-width: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.mbox-text {
width: 100%;
}
.mbox-image + .mbox-text {
border-left-width: 0;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
padding-left: 0;
}
.mbox-style .mbox-image,
.mbox-style .mbox-text {
border-color: #a98a35;
}
.mbox-content .mbox-image,
.mbox-content .mbox-text {
border-color: #a96427;
}
.mbox-delete .mbox-image,
.mbox-delete .mbox-text {
border-color: #c62525;
}
/* ===== Fmbox (Template:Fmbox) ===== */
.fmbox {
clear: both;
margin: 6px 0;
border: 1px solid #383636;
padding: 6px 1em;
background-color: #1a1b18;
}
/* Pull quotes (Template:Pullquote) */
.pull-quote {
display: table;
margin: 1em auto;
min-width: 25%;
}
.pull-quote > .quotation {
margin: 0 auto;
font-size: 1.15em;
font-style: italic;
color: #736551;
}
.pull-quote > .citation {
margin: 0 auto;
text-align: right;
font-size: 0.85em;
font-style: normal;
}
.pull-quote.-aligncenter > .quotation,
.pull-quote.-aligncenter > .citation {
text-align: center;
}
.pull-quote > .citation > cite {
font-style: inherit;
}
.pull-quote > .citation::before {
content: "— ";
}
@media all and (min-width: 50em) {
.pull-quote.-aligncenter > .quotation,
.pull-quote.-aligncenter > .citation {
width: 75%;
}
.pull-quote.-alignleft {
float: left;
margin: 0 1.75em 1em 0;
border-right: 3px solid #51453d;
padding-right: .75em;
}
.pull-quote.-alignright {
float: right;
margin: 0 0 1em 1.75em;
border-left: 3px solid #51453d;
padding-left: .75em;
}
.pull-quote.-alignleft,
.pull-quote.-alignright {
width: 33.3%;
}
}
@media all and (min-width: 73em) {
.pull-quote.-alignnone > .quotation,
.pull-quote.-alignnone > .citation {
width: 80%;
}
.pull-quote.-aligncenter > .quotation,
.pull-quote.-aligncenter > .citation {
width: 50%;
}
.pull-quote.-alignleft,
.pull-quote.-alignright {
width: 25%;
}
}
/* ===== Documentation (Template:Documentation) ===== */
.template-documentation {
clear: both;
margin: 14px 0 0;
border: 1px solid #383636;
padding: 1em;
background-color: #1a1b18;
}
.template-documentation__start {
margin-bottom: 0.9em;
border-bottom: 1px solid #383636;
padding-bottom: 3px;
}
.template-documentation__heading {
font-size: 1.5em;
font-weight: bold;
}
.template-documentation__end {
margin: 7px 0;
border: 1px solid #383636;
padding: 1em;
font-style: italic;
background-color: #1a1b18;
}
.template-documentation__toolbar {
font-size: 0.8em;
font-style: normal;
}
/* Main page */
.page-Path_of_Exile_Wiki .firstHeading {
display: none !important;
}
.mainpage-header {
margin-bottom: 32px;
text-align: center;
}
.mainpage-header h1 {
margin-bottom: 20px;
border: none;
line-height: 1.1 !important;
color: #ffaf46 !important;
text-shadow: 0px 0px 10px rgba(209, 28, 0, 1);
}
.mainpage-header .h1-1,
.mainpage-header .h1-2 {
background: radial-gradient(ellipse at center, rgba(154,2,0,0.9) 0%,rgba(154,2,0,0) 65%,rgba(154,2,0,0) 100%);
}
.mainpage-header .h1-1 {
font-size: 26px;
letter-spacing: 0.07em;
}
.mainpage-header .h1-2 {
padding: 0 0.2em;
font-size: 38px;
font-weight: bold;
letter-spacing: 0.01em;
}
.mainpage-version {
display: table;
border-collapse: collapse;
width: 100%;
}
.mainpage-version > div {
display: table-cell;
vertical-align: middle;
}
.mainpage-version > div:first-child {
width: 100%;
}
.mainpage-version > div:last-child {
text-align: center;
}
.mainpage-news {
margin: -12px -0.7em;
}
.mainpage-news > div {
display: table;
border-collapse: separate;
border-spacing: 12px 0.7em;
}
.mainpage-news > div > div {
display: table-row;
}
.mainpage-news .date,
.mainpage-news .title {
display: table-cell;
vertical-align: middle;
}
.mainpage-news .date > div {
border-radius: 6px;
width: 40px;
height: 40px;
text-align: center;
font-size: 122%;
line-height: 1.1;
background-color: #332f24;
}
.mainpage-skills {
width: 100%;
text-align: center;
}
.mainpage-skills tr + tr td {
padding-top: 12px;
}
.mainpage-equipment {
width: 100%;
text-align: center;
}
.mainpage-equipment tr + tr td {
padding-top: 12px;
}
.mainpage-acts {
width: 100%;
}
.mainpage-acts td {
vertical-align: top;
}
.mainpage-mechanics {
width: 100%;
}
.mainpage-mechanics td {
vertical-align: top;
}