(Styles for Template:Veiled modifier and Template:Glyph) |
(Styles for Template:Disambiguation) |
||
Line 107: | Line 107: | ||
padding: 6px 1em; |
padding: 6px 1em; |
||
background-color: #1a1b18; |
background-color: #1a1b18; |
||
+ | } |
||
+ | |||
+ | /* ===== Disambiguation (Template:Disambiguation) ===== */ |
||
+ | .dmbox { |
||
+ | display: flex; |
||
+ | align-items: center; |
||
+ | clear: both; |
||
+ | margin: 1em; |
||
+ | border-width: 1px 0; |
||
+ | border-style: solid; |
||
+ | border-color: #474233; |
||
+ | padding: 0.4em; |
||
+ | } |
||
+ | .dmbox-image { |
||
+ | margin-right: 0.4em; |
||
} |
} |
||
Revision as of 05:06, 24 January 2021
/*
* 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;
}
/* ===== Disambiguation (Template:Disambiguation) ===== */
.dmbox {
display: flex;
align-items: center;
clear: both;
margin: 1em;
border-width: 1px 0;
border-style: solid;
border-color: #474233;
padding: 0.4em;
}
.dmbox-image {
margin-right: 0.4em;
}
/* 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;
}
/* ===== Veiled modifiers (Template:Veiled modifier) ===== */
.veiled {
display: inline-block;
white-space: nowrap;
color: transparent;
background-repeat: no-repeat;
background-position: center;
}
.veiled.-prefix {
width: 158px;
}
.veiled.-prefix.-m01 {
background-image: url("/media/b/b3/Veiled_prefix_01.gif");
}
.veiled.-prefix.-m02 {
background-image: url("/media/2/29/Veiled_prefix_02.gif");
}
.veiled.-prefix.-m03 {
background-image: url("/media/5/58/Veiled_prefix_03.gif");
}
.veiled.-prefix.-m04 {
background-image: url("/media/d/dd/Veiled_prefix_04.gif");
}
.veiled.-prefix.-m05 {
background-image: url("/media/c/c7/Veiled_prefix_05.gif");
}
.veiled.-prefix.-m06 {
background-image: url("/media/8/8c/Veiled_prefix_06.gif");
}
.veiled.-suffix {
width: 85px;
}
.veiled.-suffix.-m01 {
background-image: url("/media/0/0a/Veiled_suffix_01.gif");
}
.veiled.-suffix.-m02 {
background-image: url("/media/4/44/Veiled_suffix_02.gif");
}
.veiled.-suffix.-m03 {
background-image: url("/media/3/31/Veiled_suffix_03.gif");
}
.veiled.-suffix.-m04 {
background-image: url("/media/7/7a/Veiled_suffix_04.gif");
}
.veiled.-suffix.-m05 {
background-image: url("/media/9/95/Veiled_suffix_05.gif");
}
.veiled.-suffix.-m06 {
background-image: url("/media/0/0e/Veiled_suffix_06.gif");
}
/* ===== Harbinger glyphs (Template:Glyph) ===== */
.glyph {
display: inline-block;
width: 2em;
height: 1.5577em;
vertical-align: middle;
background: url("/media/4/41/Harbinger-glyphs.png");
background-repeat: no-repeat;
background-size: 12em auto;
background-position: 2em;
}
.glyph.HBGAa {
background-position: calc(-2em * 0) calc(-1.5577em * 0);
}
.glyph.HBGAb {
background-position: calc(-2em * 1) calc(-1.5577em * 0);
}
.glyph.HBGAc {
background-position: calc(-2em * 2) calc(-1.5577em * 0);
}
.glyph.HBGAd {
background-position: calc(-2em * 3) calc(-1.5577em * 0);
}
.glyph.HBGAe {
background-position: calc(-2em * 4) calc(-1.5577em * 0);
}
.glyph.HBGAf {
background-position: calc(-2em * 5) calc(-1.5577em * 0);
}
.glyph.HBGAg {
background-position: calc(-2em * 0) calc(-1.5577em * 1);
}
.glyph.HBGAh {
background-position: calc(-2em * 1) calc(-1.5577em * 1);
}
.glyph.HBGAi {
background-position: calc(-2em * 2) calc(-1.5577em * 1);
}
.glyph.HBGAj {
background-position: calc(-2em * 3) calc(-1.5577em * 1);
}
.glyph.HBGAk {
background-position: calc(-2em * 4) calc(-1.5577em * 1);
}
.glyph.HBGAl {
background-position: calc(-2em * 5) calc(-1.5577em * 1);
}
.glyph.HBGAm {
background-position: calc(-2em * 0) calc(-1.5577em * 2);
}
.glyph.HBGAn {
background-position: calc(-2em * 1) calc(-1.5577em * 2);
}
.glyph.HBGAo {
background-position: calc(-2em * 2) calc(-1.5577em * 2);
}
.glyph.HBGAp {
background-position: calc(-2em * 3) calc(-1.5577em * 2);
}
.glyph.HBGAq {
background-position: calc(-2em * 4) calc(-1.5577em * 2);
}
.glyph.HBGAr {
background-position: calc(-2em * 5) calc(-1.5577em * 2);
}
.glyph.HBGAs {
background-position: calc(-2em * 0) calc(-1.5577em * 3);
}
.glyph.HBGAt {
background-position: calc(-2em * 1) calc(-1.5577em * 3);
}
.glyph.HBGAu {
background-position: calc(-2em * 2) calc(-1.5577em * 3);
}
.glyph.HBGAv {
background-position: calc(-2em * 3) calc(-1.5577em * 3);
}
.glyph.HBGAw {
background-position: calc(-2em * 4) calc(-1.5577em * 3);
}
.glyph.HBGAx {
background-position: calc(-2em * 5) calc(-1.5577em * 3);
}
.glyph.HBGAy {
background-position: calc(-2em * 0) calc(-1.5577em * 4);
}
.glyph.HBGAz {
background-position: calc(-2em * 1) calc(-1.5577em * 4);
}
.glyph.HBGBa {
background-position: calc(-2em * 2) calc(-1.5577em * 4);
}
.glyph.HBGBb {
background-position: calc(-2em * 3) calc(-1.5577em * 4);
}
.glyph.HBGBc {
background-position: calc(-2em * 4) calc(-1.5577em * 4);
}
.glyph.HBGBd {
background-position: calc(-2em * 5) calc(-1.5577em * 4);
}
.glyph.HBGBe {
background-position: calc(-2em * 0) calc(-1.5577em * 5);
}
.glyph.HBG00 {
width: 0.7692em;
background-position: -2em calc(-1.5577em * 5);
}
.glyph.HBG01 {
width: 0.8077em;
background-position: -2.7692em calc(-1.5577em * 5);
}
.glyph.HBG02 {
width: 0.9808em;
background-position: -3.5769em calc(-1.5577em * 5);
}
.glyph.HBG03 {
width: 0.8654em;
background-position: -4.5577em calc(-1.5577em * 5);
}
.glyph.HBG04 {
width: 1.0769em;
background-position: -5.4231em calc(-1.5577em * 5);
}
.glyph.hbgi00 {
width: 0.8462em;
background-position: -6.5em calc(-1.5577em * 5);
}
.glyph.hbgi04 {
background-position: calc(-2em * 4) calc(-1.5577em * 5);
}
.glyph.HBGC00 {
background-position: calc(-2em * 0) calc(-1.5577em * 6);
}
.glyph.HBGC01 {
background-position: calc(-2em * 1) calc(-1.5577em * 6);
}
.glyph.HBGC02 {
background-position: calc(-2em * 2) calc(-1.5577em * 6);
}
.glyph.HBGC03 {
background-position: calc(-2em * 3) calc(-1.5577em * 6);
}
.glyph.HBGC04 {
background-position: calc(-2em * 4) calc(-1.5577em * 6);
}
.glyph.HBGC05 {
background-position: calc(-2em * 5) calc(-1.5577em * 6);
}
.glyph.HBGC06 {
background-position: calc(-2em * 0) calc(-1.5577em * 7);
}
.glyph.HBGC07 {
background-position: calc(-2em * 1) calc(-1.5577em * 7);
}
.glyph.HBGC08 {
background-position: calc(-2em * 2) calc(-1.5577em * 7);
}
.glyph.HBGC09 {
background-position: calc(-2em * 3) calc(-1.5577em * 7);
}
.glyph.HBGC010 {
background-position: calc(-2em * 4) calc(-1.5577em * 7);
}
.glyph.HBGC011 {
background-position: calc(-2em * 5) calc(-1.5577em * 7);
}
/* 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;
}