MediaWiki:Common.css: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
No edit summary
 
(355 intermediate revisions by 15 users not shown)
Line 1: Line 1:
/* Default styling for HTML elements */
/*
dfn {
* This stylesheet is loaded on desktop only.
    font-style: inherit; /* Reset default styling for <dfn> */
*
}
* Desktop-only theme styles should go in [[MediaWiki:Vector.css]].
sup, sub {
  * Mobile-only styles should go in [[MediaWiki:Mobile.css]].
    line-height: 1em;    /* Reduce line-height for <sup> and <sub> */
* Sitewide styles should go in [[MediaWiki:Sitewide.css]].
}
*/
@import url("https://www.poewiki.net/wiki/MediaWiki:Sitewide.css?action=raw&ctype=text/css");


/* Main page fixes */
/* ===== Table cell templates ===== */
#interwiki-completelist {
table.wikitable .table-yes,
     font-weight: bold;
table.wikitable .table-no,
table.wikitable .table-na {
     vertical-align: middle;
    text-align: center;
}
}
body.page-Main_Page #ca-delete {
table.wikitable .table-yes {
     display: none !important;
     /*background-color: #1e261b !important;*/
}
}
body.page-Main_Page #mp-topbanner {
table.wikitable .table-no {
     clear: both;
     /*background-color: #261b1b !important;*/
}
}
 
table.wikitable .table-na {
/* Edit window toolbar */
    /*background-color: #211f19 !important;*/
#toolbar {
     color: #5e4f45;
     height: 22px;
    margin-bottom: 6px;
}
}


/* Make the list of references smaller */
/* ===== Category tree ===== */
ol.references,
.CategoryTreeEmptyBullet {
div.reflist,
     color: #5e4f45;
div.refbegin {
     font-size: 90%;            /* Default font-size */
    margin-bottom: 0.5em;
}
}
div.refbegin-100 {
.CategoryTreeToggle {
     font-size: 100%;           /* Option for normal fontsize in {{refbegin}} */
     color: #16678a;
}
div.reflist ol.references {
    font-size: 100%;          /* Reset font-size when nested in div.reflist */
    list-style-type: inherit;  /* Enable custom list style types */
}
}


/* Highlight clicked reference in blue to help navigation */
/* Cargo extension */
ol.references li:target,
#mw-content-text .cargoTable tr:nth-child(odd) {
sup.reference:target,
     background: #26231b;
span.citation:target {
     background-color: #DEF;
}
}
 
#mw-content-text .cargoTable tr:nth-child(even) {
/* Ensure refs in table headers and the like aren't bold or italic */
     background: #211f18;
sup.reference {
     font-weight: normal;
    font-style: normal;
}
}
 
#mw-content-text .cargoTable th {
/* Allow hidden ref errors to be shown by user CSS */
    padding: 5px;
span.brokenref {
    background-color: #332f24;
     display: none;
     border: 1px solid #1a1812;
}
}
 
#mw-content-text .cargoTable td {
/* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box */
     padding: 5px;
.citation {
     border: 1px solid #1a1812;
    word-wrap: break-word;
}
 
/* Default styling for titles of works, styling for the title of an article
  within a periodical, or a contribution within a compilation. */
cite,
.citation cite.article,
.citation cite.contribution {
    font-style: inherit;
}
 
/* Styling for the title of any work within a citation,
  or specifically the title of a periodical. */
.citation cite,
.citation cite.periodical {
    font-style: italic;
}
 
/* For linked citation numbers and document IDs, where
  the number need not be shown on a screen or a handheld,
  but should be included in the printed version */
@media screen, handheld {
    .citation *.printonly {
        display: none;
    }
}
 
/* Style for [[Template:Flowlist]] that Lets lists flow around floating objecs */
.flowlist ul {
    overflow-x: hidden;
    margin-left: 0em;
     padding-left: 1.6em;
}
.flowlist ol {
    overflow-x: hidden;
     margin-left: 0em;
    padding-left: 3.2em;
}
.flowlist dl {
    overflow-x: hidden;
}
 
/* Style for horizontal lists (separator following item).
  Note: hlist formatting will break if the resulting HTML lacks a breakable character
  between list items. This happens when the following conditions are true:
  1) The list is made using wiki markup (where HTML is built by parser.php)
  2) HTMLTidy is disabled or unavailable (such as on Special: pages)
  In such cases, building lists with .hlist using HTML instead of wiki markup
  will work around this problem. See also [[Bugzilla:39617]].
  IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
  Last updated: September 23, 2012
  @maintainer: [[User:Edokter]]
  @revision: 2.0
*/
.skin-monobook .hlist dl,
.skin-modern .hlist dl,
.skin-vector .hlist dl {
    line-height: 1.5em;
}
.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
    padding: 0;
}
/* Display list items inline and make them nowrap */
.hlist dd,
.hlist dt,
.hlist li {
    margin: 0;
    display: inline;
    white-space: nowrap;
}
/* Display nested lists inline and allow them to wrap */
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
    display: inline;
    white-space: normal;
}
/* Generate interpuncts */
.hlist dt:after {
    content: ":";
}
.hlist dd:after,
.hlist li:after {
    content: " ·";
    font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
    content: none;
}
/* For IE8 */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
    content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
    content: "(";
    font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
    content: ")";
    font-weight: normal;
}
/* For IE8 */
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
    content: ")";
    font-weight: normal;
}
/* Put numbers in front of ordered list items */
.hlist.hnum ol {
    counter-reset: list-item;
}
.hlist.hnum ol > li {
    counter-increment: list-item;
}
.hlist.hnum ol > li:before {
    content: counter(list-item) " ";
}
.hlist.hnum dd ol > li:first-child:before,
.hlist.hnum dt ol > li:first-child:before,
.hlist.hnum li ol > li:first-child:before {
    content: "(" counter(list-item) " ";
}
 
/* Unbulleted lists */
.plainlist ul {
    line-height: inherit;
    list-style: none none;
    margin: 0;
}
.plainlist ul li {
    margin-bottom: 0;
}
}


/* Default style for navigation boxes */
/* Default style for navigation boxes */
.navbox {                    /* Navbox container style */
.navbox {                    /* Navbox container style */
     border: 1px solid #aaa;
    box-sizing: border-box;
     border: 1px solid #75511D;
     width: 100%;
     width: 100%;
    margin: auto;
     clear: both;
     clear: both;
     font-size: 88%;
     font-size: 88%;
     text-align: center;
     text-align: center;
     padding: 1px;
     padding: 1px;
    margin: 1em auto 0;      /* Prevent preceding content from clinging to navboxes */
}
.navbox .navbox {
    margin-top: 0;            /* No top margin for nested navboxes */
}
.navbox + .navbox {
    margin-top: -1px;        /* Single pixel border between adjacent navboxes */
}
}
.navbox-inner,
.navbox-inner,
Line 233: Line 86:
.navbox,
.navbox,
.navbox-subgroup {
.navbox-subgroup {
     background: #fdfdfd;      /* Background color */
     background: #101010;      /* Background color */
}
}
.navbox-list {
.navbox-list {
     line-height: 1.8em;
     line-height: 1.5em;
     border-color: #fdfdfd;    /* Must match background color */
     border-color: #101010;    /* Must match background color */
}
}
.navbox th,
.navbox th,
.navbox-title {
.navbox-title {
     background: #ccccff;      /* Level 1 color */
     background: #141414;      /* Level 1 color */
}
}
.navbox-abovebelow,
.navbox-abovebelow,
th.navbox-group,
th.navbox-group,
.navbox-subgroup .navbox-title {
.navbox-subgroup .navbox-title {
     background: #ddddff;      /* Level 2 color */
     background: #101010;      /* Level 2 color */
}
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
.navbox-subgroup .navbox-abovebelow {
     background: #e6e6ff;      /* Level 3 color */
     background: #141414;      /* Level 3 color */
}
}
.navbox-even {
.navbox-even {
     background: #f7f7f7;      /* Even row striping */
     background: #101010;      /* Even row striping */
}
}
.navbox-odd {
.navbox-odd {
     background: transparent;  /* Odd row striping */
     background: transparent;  /* Odd row striping */
}
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
    margin-top: -1px;          /* (doesn't work for IE6, but that's okay)      */
}
}
.navbox .hlist td dl,
.navbox .hlist td dl,
Line 268: Line 118:
.navbox td.hlist ul {
.navbox td.hlist ul {
     padding: 0.125em 0;      /* Adjust hlist padding in navboxes */
     padding: 0.125em 0;      /* Adjust hlist padding in navboxes */
}
ol + table.navbox,
ul + table.navbox {
    margin-top: 0.5em;        /* Prevent lists from clinging to navboxes */
}
}


Line 283: Line 129:
     display: inline;
     display: inline;
     white-space: nowrap;
     white-space: nowrap;
}
.mw-body-content .navbar ul {
    line-height: inherit;
}
}
.navbar li {
.navbar li {
     word-spacing: -0.125em;
     word-spacing: -0.125em;
}
}
.navbar.mini li span {
.navbar.mini li abbr[title] {
   font-variant: small-caps;
   font-variant: small-caps;
  border-bottom: none;
  text-decoration: none;
  cursor: inherit;
}
}
/* Navbar styling when nested in infobox and navbox */
/* Navbar styling when nested in infobox and navbox */
Line 336: Line 188:
}
}


/* Infobox template style */
/* Style for horizontal lists (separator following item).
.infobox {
  Note: hlist formatting will break if the resulting HTML lacks a breakable character
    border: 1px solid #aaa;
  between list items. This happens when the following conditions are true:
    background-color: #f9f9f9;
  1) The list is made using wiki markup (where HTML is built by parser.php)
    color: black;
  2) HTMLTidy is disabled or unavailable (such as on Special: pages)
    /* @noflip */
  In such cases, building lists with .hlist using HTML instead of wiki markup
    margin: 0.5em 0 0.5em 1em;
  will work around this problem. See also [[Bugzilla:39617]].
    padding: 0.2em;
  IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
    /* @noflip */
  Last updated: September 23, 2012
    float: right;
  @maintainer: [[User:Edokter]]
    /* @noflip */
  @revision: 2.0
    clear: right;
*/
    /* @noflip */
.skin-vector .hlist dl {
    text-align: left;
    font-size: 88%;
     line-height: 1.5em;
     line-height: 1.5em;
}
}
.infobox caption {
.hlist dl,
     font-size: 125%;
.hlist ol,
.hlist ul {
    margin: 0;
    padding: 0;
}
/* Display list items inline and make them nowrap */
.hlist dd,
.hlist dt,
.hlist li {
     margin: 0;
    display: inline;
}
/* Display nested lists inline and allow them to wrap */
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
    display: inline;
    white-space: normal;
}
/* Generate interpuncts */
.hlist dt:after {
    content: ":";
}
.hlist dd:after,
.hlist li:after {
    content: " ·";
     font-weight: bold;
     font-weight: bold;
}
}
.infobox td,
.hlist dd:last-child:after,
.infobox th {
.hlist dt:last-child:after,
     vertical-align: top;
.hlist li:last-child:after {
     content: none;
}
}
.infobox.bordered {
/* For IE8 */
     border-collapse: collapse;
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
     content: none;
}
}
.infobox.bordered td,
/* Add parentheses around nested lists */
.infobox.bordered th {
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
     border: 1px solid #aaa;
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
     content: "(";
    font-weight: normal;
}
}
.infobox.bordered .borderless td,
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.infobox.bordered .borderless th {
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
     border: 0;
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
     content: ")";
    font-weight: normal;
}
}
 
/* For IE8 */
.infobox.sisterproject {
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
     width: 20em;
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
     font-size: 90%;
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
     content: ")";
     font-weight: normal;
}
}
 
/* Put numbers in front of ordered list items */
.infobox.standard-talk {
.hlist.hnum ol {
     border: 1px solid #c0c090;
     counter-reset: list-item;
    background-color: #f8eaba;
}
}
.infobox.standard-talk.bordered td,
.hlist.hnum ol > li {
.infobox.standard-talk.bordered th {
     counter-increment: list-item;
     border: 1px solid #c0c090;
}
}
 
.hlist.hnum ol > li:before {
/* styles for bordered infobox with merged rows */
     content: counter(list-item) " ";
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
     border: 0;
    border-top: 1px solid #aaa;
    /* @noflip */
    border-right: 1px solid #aaa;
}
}
 
.hlist.hnum dd ol > li:first-child:before,
.infobox.bordered .mergedrow td,
.hlist.hnum dt ol > li:first-child:before,
.infobox.bordered .mergedrow th {
.hlist.hnum li ol > li:first-child:before {
     border: 0;
     content: "(" counter(list-item) " ";
    /* @noflip */
    border-right: 1px solid #aaa;
}
}


/* Styles for geography infoboxes, eg countries,
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
  country subdivisions, cities, etc.            */
.mw-collapsible-toggle {
.infobox.geography {
    font-weight: normal;
     /* @noflip */
     /* @noflip */
     text-align: left;
     text-align: right;
    border-collapse: collapse;
    line-height: 1.2em;
    font-size: 90%;
}
}
 
.navbox .mw-collapsible-toggle {
.infobox.geography  td,
     width: 6em;
.infobox.geography  th {
     border-top: 1px solid #aaa;
    padding: 0.4em 0.6em 0.4em 0.6em;
}
}
.infobox.geography .mergedtoprow td,
.navbox .selflink {
.infobox.geography .mergedtoprow th {
     color:#00B6FF;
     border-top: 1px solid #aaa;
    padding: 0.4em 0.6em 0.2em 0.6em;
}
}


.infobox.geography .mergedrow td,
/* ===== External link icon for PDF files ===== */
.infobox.geography .mergedrow th {
.mw-parser-output a[href$=".pdf"].external,
     border: 0;
.mw-parser-output a[href*=".pdf?"].external,
     padding: 0 0.6em 0.2em 0.6em;
.mw-parser-output a[href*=".pdf#"].external,
.mw-parser-output a[href$=".PDF"].external,
.mw-parser-output a[href*=".PDF?"].external,
.mw-parser-output a[href*=".PDF#"].external {
     padding-right: 18px;
     background:url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
}
}


.infobox.geography .mergedbottomrow td,
/* ===== Plainlist ===== */
.infobox.geography .mergedbottomrow th {
.plainlist ul {
     border-top: 0;
     line-height: inherit;
     border-bottom: 1px solid #aaa;
     list-style: none outside none;
     padding: 0 0.6em 0.4em 0.6em;
     margin: 0;
}
.plainlist ul li {
    margin-bottom: 0;
}
}


.infobox.geography .maptable td,
/* ===== Multiple column layout for lists ===== */
.infobox.geography .maptable th {
.multicol-15 ul,
     border: 0;
.multicol-15 ol {
    padding: 0;
     column-width: 15em;
}
}


/* Normal font styling for table row headers with scope="row" tag */
/* Module:Item acquisition | Template:Item acquisition */
.wikitable.plainrowheaders th[scope=row] {
.upgraded-from-set:not(:first-child) td {
    font-weight: normal;
  border-top-style: dashed !important;
    /* @noflip */
  border-top-width: 3px !important;
    text-align: left;
  border-top-color: #111 !important;
}
}


/* Lists in data cells are always left-aligned */
/* ===== Skill (Module:Skill) ==== */
.wikitable td ul,
 
.wikitable td ol,
/* Template:Skill */
.wikitable td dl {
    /* @noflip */
    text-align: left;
}
/* ...unless they also use the hlist class */
.wikitable.hlist td ul,
.wikitable.hlist td ol,
.wikitable.hlist td dl {
    text-align: inherit;
}


/* Icons for medialist templates [[Template:Listen]],
.skill-box-page-container {
  [[Template:Multi-listen_start]], [[Template:Video]],
  float: right;
  [[Template:Multi-video_start]] */
div.listenlist {
    background: url("//upload.wikimedia.org/wikipedia/commons/3/3f/Gnome_speakernotes_30px.png");
    /* @noflip */
    padding-left: 40px;
}
}


/* Fix for hieroglyphs specificality issue in infoboxes ([[Bugzilla:41869]]) */
/* resize skill screenshot accordingly */
table.mw-hiero-table td {
.skill-box-page-container img {
    vertical-align: middle;
  max-width: 400px;
  height: auto;
}
}


/* Style rules for media list templates */
.skill-box-table {
div.medialist {
  max-width: 400px;
    min-height: 50px;
    margin: 1em;
    /* @noflip */
    background-position: top left;
    background-repeat: no-repeat;
}
div.medialist ul {
    list-style-type: none;
    list-style-image: none;
    margin: 0;
}
div.medialist ul li {
    padding-bottom: 0.5em;
}
div.medialist ul li li {
    font-size: 91%;
    padding-bottom: 0;
}
}


/* Change the external link icon to an Adobe icon for all PDF files
/* force the header section to be as small as possible */
  in browsers that support these CSS selectors, like Mozilla and Opera */
.skill-box-table th {
div#content a[href$=".pdf"].external,
  width: 1%;
div#content a[href*=".pdf?"].external,
div#content a[href*=".pdf#"].external,
div#content a[href$=".PDF"].external,
div#content a[href*=".PDF?"].external,
div#content a[href*=".PDF#"].external,
div#mw_content a[href$=".pdf"].external,
div#mw_content a[href*=".pdf?"].external,
div#mw_content a[href*=".pdf#"].external,
div#mw_content a[href$=".PDF"].external,
div#mw_content a[href*=".PDF?"].external,
div#mw_content a[href*=".PDF#"].external {
    background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
    /* @noflip */
    padding-right: 18px;
}
}


/* Change the external link icon to an Adobe icon anywhere the PDFlink class
.skill-box-table th,.skill-box-table td{
  is used (notably Template:PDFlink). This works in IE, unlike the above. */
  font-size: 12px;
div#content span.PDFlink a,
div#mw_content span.PDFlink a {
    background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
    /* @noflip */
    padding-right: 18px;
}
}


/* Content in columns with CSS instead of tables [[Template:Columns]] */
.skill-box-table td[colspan="2"]{
div.columns-2 div.column {
  font-size: inherit;
    /* @noflip */
    float: left;
    width: 50%;
    min-width: 300px;
}
div.columns-3 div.column {
    /* @noflip */
    float: left;
    width: 33.3%;
    min-width: 200px;
}
div.columns-4 div.column {
    /* @noflip */
    float: left;
    width: 25%;
    min-width: 150px;
}
div.columns-5 div.column {
    /* @noflip */
    float: left;
    width: 20%;
    min-width: 120px;
}
}


/* Messagebox templates */
/* ===== Status Infocard (Template:Status) ===== */
.messagebox {
.status-icon {
     border: 1px solid #aaa;
     height: 96px;
    background-color: #f9f9f9;
    width: 80%;
    margin: 0 auto 1em auto;
    padding: .2em;
}
}
.messagebox.merge {
.status-icon .image,
    border: 1px solid #c0b8cc;
.status-icon .frame {
    background-color: #f0e5ff;
     height: 100%;
     text-align: center;
}
}
.messagebox.cleanup {
.status-icon .image img {
     border: 1px solid #9f9fff;
     margin-top: 16px;
     background-color: #efefff;
     width: 64px;
     text-align: center;
     height: 64px;
}
}
.messagebox.standard-talk {
.status-icon .frame {
     border: 1px solid #c0c090;
     margin-top: -96px;
    background-color: #f8eaba;
    margin: 4px auto;
}
}
/* For old WikiProject banners inside banner shells. */
.status-icon .frame img {
.mbox-inside .standard-talk,
     width: 98px;
.messagebox.nested-talk {
     height: 96px;
    border: 1px solid #c0c090;
    background-color: #f8eaba;
     width: 100%;
    margin: 2px 0;
     padding: 2px;
}
}
.messagebox.small {
 
    width: 238px;
/* ===== Area Infocard (Template:Area) ==== */
    font-size: 85%;
.infocard.area > .topbar > .left,
    /* @noflip */
.infocard.area > .topbar > .right {
    float: right;
     width: 27px;
     clear: both;
    /* @noflip */
    margin: 0 0 1em 1em;
    line-height: 1.25em;
}
}
.messagebox.small-talk {
 
    width: 238px;
/* ===== Module:Passive skill ===== */
    font-size: 85%;
 
    /* @noflip */
.passive-line {
    float: right;
  display: block;
    clear: both;
    /* @noflip */
    margin: 0 0 1em 1em;
    line-height: 1.25em;
    background: #F8EABA;
}
}


/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
.passive-hover {
th.mbox-text, td.mbox-text /* The message body cell(s) */
   display: none;
    border: none;
  position: relative;
    /* @noflip */
    padding: 0.25em 0.9em;    /* 0.9em left/right */
    width: 100%;               /* Make all mboxes the same width regardless of text length */
}
}
td.mbox-image {               /* The left image cell */
 
    border: none;
.passive-hover:hover {
    /* @noflip */
  display: inline;
    padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
    text-align: center;
}
}
td.mbox-imageright {          /* The right image cell */
 
    border: none;
.passive-line:hover .passive-hover {
    /* @noflip */
  display: inline;
    padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
    text-align: center;
}
}
td.mbox-empty-cell {           /* An empty narrow cell */
 
    border: none;
.passive-icon-container {
    padding: 0px;
  position: relative;
    width: 1px;
  margin: 0px auto;
}
}


/* Article message box styles */
.passive-icon-frame {
table.ambox {
  position: absolute;
    margin: 0px 10%;                 /* 10% = Will not overlap with other elements */
  z-index: 10;
    border: 1px solid #aaa;
  pointer-events: none;
    /* @noflip */
    border-left: 10px solid #1e90ff;  /* Default "notice" blue */
    background: #fbfbfb;
}
}
table.ambox + table.ambox {     /* Single border between stacked boxes. */
 
    margin-top: -1px;
.passive-icon-container a {
  position: absolute;
  z-index: 0;
}
}
.ambox th.mbox-text,
 
.ambox td.mbox-text {            /* The message body cell(s) */
/* sizes of icons have been adjusted to look similar to ingame placement */
    padding: 0.25em 0.5em;       /* 0.5em left/right */
.passive-icon-type__basic {
  width: 60px;
  height: 60px;
}
}
.ambox td.mbox-image {          /* The left image cell */
 
    /* @noflip */
.passive-icon-type__basic .passive-icon-frame {
    padding: 2px 0 2px 0.5em;   /* 0.5em left, 0px right */
  width: 60px;
  height: 60px;
  background-image: url("https://www.poewiki.net/w/images/a/a1/Basic_passive_frame.png");
  background-repeat: round;
}
}
.ambox td.mbox-imageright {     /* The right image cell */
 
    /* @noflip */
.passive-icon-type__basic a, .passive-icon-type__basic img{
    padding: 2px 0.5em 2px 0;   /* 0px left, 0.5em right */
  left: 10px;
  top: 10px;
  width: 40px;
  height: 40px;
}
}


table.ambox-notice {
.passive-icon-type__notable {
    /* @noflip */
  width: 100px;
    border-left: 10px solid #1e90ff;   /* Blue */
  height: 100px;
}
}
table.ambox-speedy {
 
    /* @noflip */
.passive-icon-type__notable .passive-icon-frame {
    border-left: 10px solid #b22222;    /* Red */
  width: 100px;
    background: #fee;                   /* Pink */
  height: 100px;
  background-image: url("https://www.poewiki.net/w/images/5/50/Notable_passive_frame.png");
  background-repeat: round;
}
}
table.ambox-delete {
 
    /* @noflip */
.passive-icon-type__notable a, .passive-icon-type__notable img{
    border-left: 10px solid #b22222;   /* Red */
  left: 14px;
  top: 14px;
  width: 72px;
  height: 72px;
}
}
table.ambox-content {
 
    /* @noflip */
.passive-icon-type__keystone {
    border-left: 10px solid #f28500;   /* Orange */
  width: 175px;
  height: 175px;
}
}
table.ambox-style {
 
    /* @noflip */
.passive-icon-type__keystone .passive-icon-frame {
    border-left: 10px solid #f4c430;   /* Yellow */
  width: 175px;
  height: 175px;
  background-image: url("https://www.poewiki.net/w/images/5/5a/Keystone_passive_frame.png");
  background-repeat: round;
}
}
table.ambox-move {
 
    /* @noflip */
.passive-icon-type__keystone a, .passive-icon-type__keystone img{
    border-left: 10px solid #9932cc;   /* Purple */
  left: 36px;
  top: 36px;
  height: 100px;
  width: 100px;
}
}
table.ambox-protection {
 
    /* @noflip */
.passive-icon-type__ascendancy_basic {
    border-left: 10px solid #bba;       /* Gray-gold */
  width: 60px;
  height: 60px;
}
}


/* Image message box styles */
.passive-icon-type__ascendancy_basic .passive-icon-frame {
table.imbox {
  width: 60px;
    margin: 4px 10%;
  height: 60px;
    border-collapse: collapse;
  background-image: url("https://www.poewiki.net/w/images/f/fa/Ascendancy_basic_passive_frame.png");
    border: 3px solid #1e90ff;    /* Default "notice" blue */
  background-repeat: round;
    background: #fbfbfb;
}
}
.imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */
 
    margin: 0 -0.5em;       /* 0.9 - 0.5 = 0.4em left/right.        */
.passive-icon-type__ascendancy_basic a, .passive-icon-type__ascendancy_basic img{
    display: block;         /* Fix for webkit to force 100% width.  */
  left: 10px;
  top: 10px;
  width: 39px;
  height: 40px;
}
}
.mbox-inside .imbox {       /* For imboxes inside other templates.  */
 
    margin: 4px;
.passive-icon-type__ascendancy_notable {
  width: 100px;
  height: 100px;
}
}


table.imbox-notice {
.passive-icon-type__ascendancy_notable .passive-icon-frame {
    border: 3px solid #1e90ff;   /* Blue */
  width: 100px;
  height: 100px;
  background-image: url("https://www.poewiki.net/w/images/2/26/Ascendancy_notable_passive_frame.png");
  background-repeat: round;
}
}
table.imbox-speedy {
 
    border: 3px solid #b22222;   /* Red */
.passive-icon-type__ascendancy_notable a, .passive-icon-type__ascendancy_notable img{
    background: #fee;             /* Pink */
  left: 16px;
  top: 16px;
  width: 68px;
  height: 68px;
}
}
table.imbox-delete {
 
    border: 3px solid #b22222;   /* Red */
.passive-icon-type__mastery {
  width: 100px;
  height: 100px;
}
}
table.imbox-content {
 
    border: 3px solid #f28500;   /* Orange */
.passive-icon-type__mastery .passive-icon-frame {
  width: 100px;
  height: 100px;
  background-image: url("https://www.poewiki.net/w/images/1/16/PassiveMasteryConnectedButton.png");
  background-repeat: round;
}
}
table.imbox-style {
 
    border: 3px solid #f4c430;   /* Yellow */
.passive-icon-type__mastery a, .passive-icon-type__mastery img{
  left: 0px;
  top: 0px;
  width: 100px;
  height: 100px;
  z-index: 11;
}
}
table.imbox-move {
 
    border: 3px solid #9932cc;   /* Purple */
.mastery_infocard{
  width: auto;
}
}
table.imbox-protection {
 
    border: 3px solid #bba;      /* Gray-gold */
.mastery_infocard table{
}
  text-align: left;
table.imbox-license {
    border: 3px solid #88a;      /* Dark gray */
    background: #f7f8ff;          /* Light gray */
}
table.imbox-featured {
    border: 3px solid #cba135;   /* Brown-gold */
}
}


/* Category message box styles */
/* ===== Gem Infobox ===== */
table.cmbox {
.GemInfoboxContainer {
     margin: 3px 10%;
    width: 300px;
    float: right;
    padding: 0px;
     margin: 0px 0px 5px 5px;
     border-collapse: collapse;
     border-collapse: collapse;
     border: 1px solid #aaa;
     background-color: #1a1812;
     background: #DFE8FF;   /* Default "notice" blue */
    font-size:12px;
     line-height:16px;
    color: #bfbfbf;
}
}
 
.GemInfoboxInfo        { width: 100%; border-collapse:separate; border-spacing:2px; }
table.cmbox-notice {
.GemInfoboxInfo td      { background-color: #26231b; color: #ffffff; padding:5px; }
     background: #D8E8FF;   /* Blue */
.GemInfoboxInfo td:first-child  { background-color: #332f24; color: #bfbfbf; }
.GemInfoboxHeader      { padding: 2px 2px 0px 2px; }
.GemInfoboxHeader>table     { border-collapse:collapse; }
.GemInfoboxHeader td:first-child {
     width: 100%;
    padding: 5px 5px 5px 5px;
    text-align: left;
    font-size: 11px;
}
}
table.cmbox-speedy {
.GemInfoboxHeaderName {
     margin-top: 4px;
     font-size: 16px;
     margin-bottom: 4px;
     line-height: 20px;
     border: 4px solid #b22222;   /* Red */
     font-weight: bold;
     background: #FFDBDB;         /* Pink */
     color: #1ba29b;
}
}
table.cmbox-delete {
.GemInfoboxFooter  { text-align: center; margin: 0px 2px 2px 2px; }
     background: #FFDBDB;   /* Red */
.GemInfoboxFooter img  { width: 100%; height: auto; }
.GemInfoboxDescription  { color: #1ba29b; }
.GemInfoboxModifier { color: #8888ff; }
.GemInfoboxDescription, .GemInfoboxModifier {
    padding: 5px;
    margin: 0px 2px 2px 2px;
     background-color: #26231b;
    text-align: center;
}
}
table.cmbox-content {
 
     background: #FFE7CE;   /* Orange */
/* ===== Support Gem ID template (Template:Id) ===== */
.support-gem-id-red, .support-gem-id-green, .support-gem-id-blue {
    width: 1em;
    color: white !important;
     background-color:#c51e1e;
    display: inline-block;
    text-align: center;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}
}
table.cmbox-style {
.support-gem-id-red { background-color:#c51e1e; }
    background: #FFF9DB;    /* Yellow */
.support-gem-id-green  { background-color:#08a842; }
.support-gem-id-blue   { background-color:#4163c9; }
 
/* ===== Module:Util ===== */
 
.module-error {
    border-width: 1px;
    border-style: solid;
    border-color: #7d1e1e;
    padding: 0.1em 0.25em;
}
}
table.cmbox-move {
 
     background: #E4D8FF;   /* Purple */
/* ===== Module:Quest & Template:Quest ===== */
 
.quest-table {
    width:300px;
    color: #bfbfbf;
    float:right;
    padding:0.1em;
     background-color:#1a1812;
    margin: 0px 0px 5px 5px;
}
}
table.cmbox-protection {
 
     background: #EFEFE1;   /* Gray-gold */
.quest-table td.quest-table-iconbox {
     text-align:center;
    font-size:20px;
    font-weight:bold;
}
}


/* Other pages message box styles */
.quest-table td.quest-table-iconbox img {
table.ombox {
     width: 100px;
     margin: 4px 10%;
     height: 100px;
    border-collapse: collapse;
    border: 1px solid #aaa;       /* Default "notice" gray */
     background: #f9f9f9;
}
}


table.ombox-notice {
.quest-table th {
     border: 1px solid #aaa;       /* Gray */
     text-align: right;
    font-weight: bold;
    background-color: #332f24;
}
}
table.ombox-speedy {
 
     border: 2px solid #b22222;   /* Red */
.quest-table td {
     background: #fee;             /* Pink */
     text-align: center;  
     background-color: #26231b;
}
}
table.ombox-delete {
 
     border: 2px solid #b22222;   /* Red */
.quest-table td img {
     max-width: 200px;
    height: auto;
}
}
table.ombox-content {
 
     border: 1px solid #f28500;   /* Orange */
/* ===== Template:SMQ query mods (from Module:SMW query) ===== */
 
.mod-table {
     width: 100%;
    margin: 0px !important;
}
}
table.ombox-style {
.mod-table-header {
    border: 1px solid #f4c430;    /* Yellow */
     width: 100%;
}
table.ombox-move {
    border: 1px solid #9932cc;    /* Purple */
}
table.ombox-protection {
     border: 2px solid #bba;       /* Gray-gold */
}
}
.mod-table-header .mw-collapsible-toggle {


/* Talk page message box styles */
table.tmbox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #c0c090;    /* Default "notice" gray-brown */
    background: #f8eaba;
}
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
.mod-table-header-container {
    margin: 2px 0;              /* this declaration overrides other styles (including mbox-small above)  */
     display: table;
     width: 100%;                 /* For Safari and Opera */
}
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
.mod-table-header-stat {
     line-height: 1.5em;         /* also "nested", so reset styles that are  */
     display: table-cell;
     font-size: 100%;             /* set in "mbox-small" above.                */
    vector-effect: middle;
     text-align: left;
    width: 100%;
}
}
 
.mod-table-header-modgroup {
table.tmbox-speedy {
    display: table-cell;
     border: 2px solid #b22222;   /* Red */
    vector-effect: middle;
     background: #fee;             /* Pink */
     text-align: right;
     padding-right: 1em;
}
}
table.tmbox-delete {
.mod-table-cell-name {
     border: 2px solid #b22222;   /* Red */
     width: 9em;
    min-width: 9em;
    max-width: 9em;
}
}
table.tmbox-content {
.mod-table-cell-level {
     border: 2px solid #f28500;   /* Orange */
    width: 1.4em;
    min-width: 1.4em;
     max-width: 1.4em;
}
}
table.tmbox-style {
.mod-table-cell-stat {
     border: 2px solid #f4c430;   /* Yellow */
     width: 32em;
    min-width: 32em;
    max-width: 32em;
}
}
table.tmbox-move {
.mod-table-cell-tags {
    border: 2px solid #9932cc;    /* Purple */
     width: 100%;
}
table.tmbox-protection,
table.tmbox-notice {
     border: 1px solid #c0c090;   /* Gray-brown */
}
}


/* Disambig and set index box styles */
/* ===== Generic table formatting ===== */
table.dmbox {
.table-yes > span {
    clear: both;
  color: #0f0;
    margin: 0.9em 1em;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background: transparent;
}
}


/* Footer and header message box styles */
.table-no > span {
table.fmbox {
  color: #f00;
    clear: both;
    margin: 0.2em 0;
    width: 100%;
    border: 1px solid #aaa;
    background: #f9f9f9;    /* Default "system" gray */
}
table.fmbox-system {
    background: #f9f9f9;
}
table.fmbox-warning {
    border: 1px solid #bb7070;  /* Dark pink */
    background: #ffdbdb;        /* Pink */
}
table.fmbox-editnotice {
    background: transparent;
}
/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
    clear: both;
    margin: 0.2em 0;
    border: 1px solid #bb7070;
    background: #ffdbdb;
    padding: 0.25em 0.9em;
}
/* Div based "system" style fmbox messages.
  Used in [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal,
div.fmbox-system {
    clear: both;
    margin: 0.2em 0;
    border: 1px solid #aaa;
    background: #f9f9f9;
    padding: 0.25em 0.9em;
}
}


/* These mbox-small classes must be placed after all other
.table-cell-coloured {
  ambox/tmbox/ombox etc classes. "body.mediawiki" is so
     color: #000;
  they override "table.ambox + table.ambox" above. */
     text-align: left;
body.mediawiki table.mbox-small {   /* For the "small=yes" option. */
    /* @noflip */
    clear: right;
    /* @noflip */
    float: right;
     /* @noflip */
    margin: 4px 0 4px 1em;
     width: 238px;
    font-size: 88%;
    line-height: 1.25em;
}
}
body.mediawiki table.mbox-small-left {   /* For the "small=left" option. */
.table-cell-coloured a {
    /* @noflip */
     color: #666;
    margin: 4px 1em 4px 0;
    width: 238px;
    border-collapse: collapse;
    font-size: 88%;
     line-height: 1.25em;
}
}
 
.table-cell-coloured .reference a {
/* Style for compact ambox */
     margin-left: 2px;
/* Hide the images */
.compact-ambox table .mbox-image,
.compact-ambox table .mbox-imageright,
.compact-ambox table .mbox-empty-cell {
     display: none;
}
}
/* Remove borders, backgrounds, padding, etc. */
.table-cell-yes {
.compact-ambox table.ambox {
     background-color: #080 !important;
     border: none;
    border-collapse: collapse;
    background: transparent;
    margin: 0 0 0 1.6em !important;
    padding: 0 !important;
    width: auto;
    display: block;
}
}
body.mediawiki .compact-ambox table.mbox-small-left {
.table-cell-major {
     font-size: 100%;
     background-color: #8C0 !important;
    width: auto;
    margin: 0;
}
}
/* Style the text cell as a list item and remove its padding */
.table-cell-partial {
.compact-ambox table .mbox-text {
     background-color: #EE0 !important;
     padding: 0 !important;
    margin: 0 !important;
}
}
.compact-ambox table .mbox-text-span {
.table-cell-minor {
     display: list-item;
     background-color: #D80 !important;
    line-height: 1.5em;
    list-style-type: square;
    list-style-image: url(//bits.wikimedia.org/skins/common/images/bullet.gif);
}
}
.skin-vector .compact-ambox table .mbox-text-span {
.table-cell-no {
     list-style-type: circle;
     background-color: #E00 !important;
    list-style-image: url(//bits.wikimedia.org/skins/vector/images/bullet-icon.png)
}
}
/* Allow for hiding text in compact form */
.table-cell-unknown {
.compact-ambox .hide-when-compact {
     background-color: #888 !important;
     display: none;
}
}


/* Remove default styles for [[MediaWiki:Noarticletext]]. */
.table-cell-checkmark {
div.noarticletext {
     color:lime;  
     border: none;
     text-align: center;  
     background: transparent;
     font-weight: bold;
     padding: 0;
}
}


/* Bold save button */
.table-cell-xmark {
#wpSave {
    color:red;
    text-align: center;
     font-weight: bold;
     font-weight: bold;
}
}


/* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
/* for table cells representing items*/
.hiddenStructure {
    display: inline !important;
    color: #f00;
    background-color: #0f0;
}


/* suppress missing interwiki image links where #ifexist cannot
.table-cell-dex {
  be used due to high number of requests see .hidden-redlink on
     color: rgb(0, 255, 0);
  [[m:MediaWiki:Common.css]] */
.check-icon a.new {
     display: none;
    speak: none;
}
}
 
.table-cell-int {
/* Removes underlines from certain links */
     color: rgb(90, 90, 255);
.nounderlines a,
.IPA a:link, .IPA a:visited {
     text-decoration: none !important;
}
}
 
.table-cell-str {
/* Standard Navigationsleisten, aka box hiding thingy
     color: rgb(255, 0, 0);
  from .de.  Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
     margin: 0;
    padding: 4px;
    border: 1px solid #aaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
}
div.NavFrame + div.NavFrame {
.table-cell-str {
    border-top-style: none;
     color: rgb(255, 0, 0);
     border-top-style: hidden;
}
}
div.NavPic {
.table-cell-prismatic {
     background-color: #fff;
     color: rgb(255, 255, 255);
    margin: 0;
    padding: 2px;
    /* @noflip */
    float: left;
}
}
div.NavFrame div.NavHead {
 
    height: 1.6em;
/* Tooltip OLD */
    font-weight: bold;
.tooltip-activator {
    background-color: #ccf;
     position: relative;
     position: relative;
    border-bottom-width: 1px;
    border-bottom-style: dotted;
    border-bottom-color: initial;
    cursor: help;
}
}
div.NavFrame p,
.tooltip-activator > .tooltip-content {
div.NavFrame div.NavContent,
     box-sizing: border-box;
div.NavFrame div.NavContent p {
     font-size: 100%;
}
div.NavEnd {
    margin: 0;
    padding: 0;
    line-height: 1px;
    clear: both;
}
a.NavToggle {
     position: absolute;
     position: absolute;
     top: 0;
     display: block;
     /* @noflip */
    visibility: hidden;
     right: 3px;
    opacity: 0;
     bottom: 100%;
    left: 50%;
    z-index: 1;
    margin-left: -150px;
    border: 1px solid #7f7f7f;
    padding: 8px 12px;
    width: 300px;
    text-align: center;
    font-size: 12px;
     line-height: 1.5;
     font-weight: normal;
     font-weight: normal;
     font-size: 90%;
     color: #7f7f7f;
}
     background-color: #000;
 
     transition: opacity 0.5s;
/* Hatnotes and disambiguation notices */
.rellink,
.dablink {
     font-style: italic;
     /* @noflip */
    padding-left: 1.6em;
    margin-bottom: 0.5em;
}
}
.rellink i,
.tooltip-activator:hover > .tooltip-content {
.dablink i {
     visibility: visible;
     font-style: normal;
    opacity: 1;
}
}


/* Allow transcluded pages to display in lists rather than a table.
/*  
  Compatible in Firefox; incompatible in IE6. */
Atlas of Worlds
.listify td    { display: list-item; }
Template:Atlas of Worlds
.listify tr    { display: block; }
Widget:Atlas of Worlds
.listify table { display: block; }
*/


/* Geographical coordinates defaults. See [[Template:Coord/link]]
.atlas_of_worlds {
  for how these are used. The classes "geo", "longitude", and
  position: relative;
  "latitude" are used by the [[Geo microformat]]. */
}
.geo-default, .geo-dms, .geo-dec  { display: inline; }
.geo-nondefault, .geo-multi-punct { display: none; }
.longitude, .latitude            { white-space: nowrap; }


/* When <div class="nonumtoc"> is used on the table of contents,
.atlas_of_worlds .atlas_table {
  the ToC will display without numbers */
  display: none;
.nonumtoc .tocnumber { display: none; }
.nonumtoc #toc ul,
.nonumtoc .toc ul {
    line-height: 1.5em;
    list-style: none none;
    margin: .3em 0 0;
    padding: 0;
}
}
.nonumtoc #toc ul ul,
 
.nonumtoc .toc ul ul {
canvas#atlas_of_worlds {
    /* @noflip */
  background-image: url("https://www.poewiki.net/w/images/b/b8/Atlas_of_Worlds_background.jpg");
    margin: 0 0 0 2em;
}
}


/* Allow limiting of which header levels are shown in a TOC;
.atlas_of_worlds .region_button {
  <div class="toclimit-3">, for instance, will limit to
  position: absolute;
  showing ==headings== and ===headings=== but no further
  width: max-content;
  (as long as there are no =headings= on the page, which
  there shouldn't be according to the MoS). */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
    display: none;
}
}


/* Styling for Template:Quote */
.atlas_of_worlds .map_container {
blockquote.templatequote {
  position: absolute;
    margin-top: 0;
}
}
blockquote.templatequote div.templatequotecite {
 
    line-height: 1em;
.atlas_of_worlds .map_name, .atlas_of_worlds .map_tier, .atlas_of_worlds .map_drop {
    /* @noflip */
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    text-align: left;
  text-align: center;
    /* @noflip */
    padding-left: 2em;
    margin-top: 0;
}
}
blockquote.templatequote div.templatequotecite cite {
 
    font-size: 85%;
.atlas_of_worlds .map_name, .atlas_of_worlds .map_tier {
  font-weight: bold;
  position: absolute;
}
}


/* User block messages */
.atlas_of_worlds .map_name {
div.user-block {
  top: -37px;
    padding: 5px;
  width: 200px;
    margin-bottom: 0.5em;
  left: -80px;
    border: 1px solid #A9A9A9;
    background-color: #FFEFD5;
}
}


/* Prevent line breaks in silly places:
.atlas_of_worlds .map_tier {
  1) Where desired
  top: 18px;
  2) Links when we don't want them to
  /* horizontal align works better with 38px instead of 39 */
  3) Bold "links" to the page itself
  width: 38px;
  4) Ref tags with group names <ref group="Note"> --> "[Note 1]" */
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
sup.reference a {
    white-space: nowrap;
}
}


/* For template documentation */
.atlas_of_worlds .map_icon {
.template-documentation {
  background-image: url("https://www.poewiki.net/w/images/9/98/Map_base_icon.png");
    clear: both;
  background-size: cover;
    margin: 1em 0 0 0;
  top: -18px;
    border: 1px solid #aaa;
  position:absolute;
    background-color: #ecfcf4;
    padding: 1em;
}
}


/* Inline divs in ImageMaps (code borrowed from de.wiki) */
.atlas_of_worlds .map_icon, .atlas_of_worlds .map_icon img {
.imagemap-inline div {
  width: 39px;
    display: inline;
  height: 39px;
}
}


/* Increase the height of the image upload box */
.atlas_of_worlds .map_drop_container {
#wpUploadDescription {
  width: max-content;
    height: 13em;
  height: max-content;
}
}


/* Minimum thumb width */
.atlas_of_worlds .map_drop img {
.thumbinner {
  display: block;
    min-width: 100px;
}
}


/* Makes the background of a framed image white instead of gray.
.atlas_of_worlds .map_drop {
  Only visible with transparent images. */
  display: none;
div.thumb img.thumbimage {
  z-index: 2;
    background-color: #fff;
}
}


/* The backgrounds for galleries. */
.atlas_of_worlds .map_container:hover .map_drop {
div#content .gallerybox div.thumb {
  display: block;
    /* Light gray padding */
  position: relative;
    background-color: #F9F9F9;
  float: right;
  top: 38px;
  left: -50%;
}
}
/* Put a chequered background behind images, only visible if they have transparency.
 
  '.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */
.atlas_of_worlds .low_tier {
.gallerybox .thumb img {
  color: rgb(255, 255, 255);
    background: #fff url(//bits.wikimedia.org/skins/common/images/Checker-16x16.png) repeat;
}
}
/* But not on articles, user pages, portals or with opt-out. */
 
.ns-0 .gallerybox .thumb img,
.atlas_of_worlds .mid_tier {
.ns-2 .gallerybox .thumb img,
  color: rgb(255, 210, 100);
.ns-100 .gallerybox .thumb img,
.nochecker .gallerybox .thumb img {
    background: #fff;
}
}


/* Category tree styling. Works in conjuction with [[MediaWiki:Categorytree-expand-bullet]],
.atlas_of_worlds .high_tier {
  [[MediaWiki:Categorytree-collapse-bullet]] and [[MediaWiki:Categorytree-empty-bullet]]. */
  color: rgb(240, 30, 10);
#mw-subcategories ul {
    list-style: none none;
    margin-left: 0.25em;
}
}
.CategoryTreeChildren {
 
    margin-left: 1.25em;
.low_tier .map_icon img:not(.low_tier) {
  display: none;
}
}


/* Prevent floating boxes from overlapping any category listings,
.mid_tier .map_icon img:not(.mid_tier) {
  file histories, edit previews, and edit [Show changes] views. */
  display: none;
#mw-subcategories, #mw-pages, #mw-category-media,
#filehistory, #wikiPreview, #wikiDiff {
    clear: both;
}
}


body.rtl #mw-articlefeedbackv5, body.rtl #mw-articlefeedback {
.high_tier .map_icon img:not(.high_tier) {
    display: block;  /* Override inline block mode */
  display: none;
    margin-bottom: 1em;
    /* @noflip */
    clear: right;    /* Clear any info boxes that stick out */
    /* @noflip */
    float: right;     /* Prevents margin collapsing */
}
}


/* Toned down styling for update markers on watchlist and history pages. */
/*  
span.updatedmarker {
Monster Javascript infobox styles
    background-color: transparent;
 
    color: #006400;
Template:Monster
}
Widget:Monster
.mw-special-Watchlist .mw-changeslist-line-watched .mw-title {
*/
    font-weight:normal;
 
}
/*
.mw-special-Watchlist #mw-watchlist-resetbutton {
Layout is nested in multiple tables
    display:none;
}


/* Selectively hide headers in WikiProject banners */
table.monster_container
.wpb .wpb-header            { display: none; }
- tr.monster (one each per monster)
.wpbs-inner .wpb .wpb-header { display: block; }    /* for IE */
-- table.monster_info_container
.wpbs-inner .wpb .wpb-header { display: table-row; } /* for real browsers */
--- tr.monster_name
.wpbs-inner .wpb-outside    { display: none; }      /* hide things that should only display outside shells */
--- tr.controls
---- table.controls
--- tr.monster_table
---- table.monster_table
--- tr.monster_stats
---- table.monster_stts
*/


/* Styling for Abuse Filter tags */
table.monster_container {
.mw-tag-markers {
  width: 800px !important;
    font-family:sans-serif;
  float: right;
    font-style:italic;
    font-size:90%;
}
}


/* Hide stuff meant for accounts with special permissions. Made visible again in
tr.monster td {
  [[MediaWiki:Group-sysop.css]] and [[MediaWiki:Group-accountcreator.css]]. */
  width: 800px;
.sysop-show, .accountcreator-show {
    display: none;
}
}


/* Remove bullets when there are multiple edit page warnings */
.monster_info_container {
ul.permissions-errors > li {
  border-collapse: collapse;
    list-style: none none;
}
}
ul.permissions-errors {
 
    margin: 0;
.monster_info_container > tbody > tr > td, .monster_info_container > tbody > tr > th {
  padding: 0px;
}
}


/* No linewrap on the labels of the login/signup page */
tr.monster_name {
body.page-Special_UserLogin .mw-label label,
  border: solid white 1px;
body.page-Special_UserLogin_signup .mw-label label {
    white-space: nowrap;
}
}


/* Disable the automatic text-size adjust of WebKit on iPhones etc.
tr.monster_name th {
  It scales some text, and not the other. Use none, or fixed percentage instead.
  Use media selector, because defining a value, overwrites platform defaults. */
@media only screen and (max-device-width: 480px) {
    body {
        -webkit-text-size-adjust: none;
    }
}
}


/* Pie chart test: Transparent borders */
 
.transborder {
.monster_info_container table {
    border: solid transparent;
  padding: 0px;
  margin: 0px;
  width: 100%;
}
}
* html .transborder { /* IE6 */
 
    border: solid #000001;
.controls th {
    filter: chroma(color=#000001);
  min-width: max-content;  
}
}


/* Adjust font for inline HTML generated formulae */
.controls td {
span.texhtml {
  width: 100%;
    font-family: "Times New Roman", "Nimbus Roman No9 L", Times, serif;
    font-size: 118%;
    white-space: nowrap;
}
}
body.skin-standard span.texhtml,
 
body.skin-nostalgia span.texhtml,
.controls input:not([type="checkbox"]), select {
body.skin-simple span.texhtml {
  width: 100%;
    font-size: 100%;
}
}


/* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size.
/*  
  [[Bugzilla:26204]]. See also [[Wikipedia:Typography#The monospace 'bug']] */
Module:Minimap
div.mw-geshi div,
*/
div.mw-geshi div pre,
 
span.mw-geshi,
.minimap_icon {
pre.source-css,
  background-image: url("https://www.poewiki.net/w/images/1/18/Minimap_icons.png");
pre.source-javascript {
  background-repeat: no-repeat;
    font-family: monospace, Courier !important;
  background-position: top left;
  display: inline-block;
}
}


/* Fix styling of transcluded prefindex tables */
.minimap_icon.minimap_grid {
table#mw-prefixindex-list-table,
  display: grid;
table#mw-prefixindex-nav-table {
    width: 98%;
}
}


/* For portals, added 2011-12-07 -bv
/* Used by both inline boxes and grid cells in the overall display */
  On wide screens, show these as two columns
.minimap_64 {
  On narrow and mobile screens, let them collapse into a single column */
  width: 64px;
.portal-column-left {
  height: 64px;
    float: left;
    width: 50%;
}
}
.portal-column-right {
 
    float: right;
.minimap_32 {
    width: 49%;
  width: 32px;
  height: 32px;
}
}
.portal-column-left-wide {
 
    float: left;
.minimap_16 {
    width: 60%;
  width: 16px;
  height: 16px;
}
}
.portal-column-right-narrow {
 
    float: right;
/* For the inline infoboxes */
    width: 39%;
.minimap_icon.minimap_64 {
  background-size: 896px auto;
}
}
.portal-column-left-extra-wide {
 
    float: left;
.minimap_icon.minimap_32 {
    width: 70%;
  background-size: 448px auto;
}
.portal-column-right-extra-narrow {
    float: right;
    width: 29%;
}
@media only screen and (max-width: 800px) {
    /* Decouple the columns on narrow screens */
    .portal-column-left,
    .portal-column-right,
    .portal-column-left-wide,
    .portal-column-right-narrow,
    .portal-column-left-extra-wide,
    .portal-column-right-extra-narrow {
        float: inherit;
        width: inherit;
    }
}
}


/* For announcements */
.minimap_icon.minimap_16 {
#bodyContent .letterhead {
  background-size: 224px auto;
    background-image:url('//upload.wikimedia.org/wikipedia/commons/e/e0/Tan-page-corner.png');
    background-repeat:no-repeat;
    padding: 2em;
    background-color: #faf9f2;
}
}


/* Tree style lists */
.minimap_icon.tooltip-activator,.minimap_icon .tooltip-activator {
.treeview ul {
  border: none;
    padding: 0;
    margin: 0;
}
.treeview li {
    padding: 0;
    margin: 0;
    list-style-type: none;
    list-style-image: none;
    zoom: 1; /* BE KIND TO IE6 */;
}
.treeview li li {
    background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
    /* @noflip */
    padding-left: 20px;
    text-indent: 0.3em;
}
.treeview li li.lastline {
    background-position: 0 -5971px
}
.treeview li.emptyline > ul {
    /* @noflip */
    margin-left: -1px;
}
.treeview li.emptyline > ul > li:first-child {
    background-position: 0 9px
}
}


/* Make it possible to hide checkboxes in <inputbox> */
/* Clearfix */
.inputbox-hidecheckboxes form .inputbox-element {
.clearfix::after {
     display: none !important;
    content: "";
     display: table;
    clear: both;
}
}


/* Hide charinsert base for those not using the gadget */
/* Helpers */
#editpage-specialchars {
.u-truncate-line {
     display: none;
     display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
}

Latest revision as of 16:01, 2 October 2023

/*
 * This stylesheet is loaded on desktop only.
 * 
 * Desktop-only theme styles should go in [[MediaWiki:Vector.css]].
 * Mobile-only styles should go in [[MediaWiki:Mobile.css]].
 * Sitewide styles should go in [[MediaWiki:Sitewide.css]].
 */
@import url("https://www.poewiki.net/wiki/MediaWiki:Sitewide.css?action=raw&ctype=text/css");

/* ===== Table cell templates ===== */
table.wikitable .table-yes,
table.wikitable .table-no,
table.wikitable .table-na {
    vertical-align: middle;
    text-align: center;
}
table.wikitable .table-yes {
    /*background-color: #1e261b !important;*/
}
table.wikitable .table-no {
    /*background-color: #261b1b !important;*/
}
table.wikitable .table-na {
    /*background-color: #211f19 !important;*/
    color: #5e4f45;
}

/* ===== Category tree ===== */
.CategoryTreeEmptyBullet {
    color: #5e4f45;
}
.CategoryTreeToggle {
    color: #16678a;
}

/* Cargo extension */
#mw-content-text .cargoTable tr:nth-child(odd) {
    background: #26231b;
}
#mw-content-text .cargoTable tr:nth-child(even) {
    background: #211f18;
}
#mw-content-text .cargoTable th {
    padding: 5px;
    background-color: #332f24;
    border: 1px solid #1a1812;
}
#mw-content-text .cargoTable td {
    padding: 5px;
    border: 1px solid #1a1812;
}

/* Default style for navigation boxes */
.navbox {                     /* Navbox container style */
    box-sizing: border-box;
    border: 1px solid #75511D;
    width: 100%;
    clear: both;
    font-size: 88%;
    text-align: center;
    padding: 1px;
    margin: 1em auto 0;       /* Prevent preceding content from clinging to navboxes */
}
.navbox .navbox {
    margin-top: 0;            /* No top margin for nested navboxes */
}
.navbox + .navbox {
    margin-top: -1px;         /* Single pixel border between adjacent navboxes */
}
.navbox-inner,
.navbox-subgroup {
    width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
    padding: 0.25em 1em;      /* Title, group and above/below styles */
    line-height: 1.5em;
    text-align: center;
}
th.navbox-group {             /* Group style */
    white-space: nowrap;
    /* @noflip */
    text-align: right;
}
.navbox,
.navbox-subgroup {
    background: #101010;      /* Background color */
}
.navbox-list {
    line-height: 1.5em;
    border-color: #101010;    /* Must match background color */
}
.navbox th,
.navbox-title {
    background: #141414;      /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
    background: #101010;      /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: #141414;      /* Level 3 color */
}
.navbox-even {
    background: #101010;      /* Even row striping */
}
.navbox-odd {
    background: transparent;  /* Odd row striping */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
    padding: 0.125em 0;       /* Adjust hlist padding in navboxes */
}

/* Default styling for Navbar template */
.navbar {
    display: inline;
    font-size: 88%;
    font-weight: normal;
}
.navbar ul {
    display: inline;
    white-space: nowrap;
}
.mw-body-content .navbar ul {
    line-height: inherit;
}
.navbar li {
    word-spacing: -0.125em;
}
.navbar.mini li abbr[title] {
  font-variant: small-caps;
  border-bottom: none;
  text-decoration: none;
  cursor: inherit;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
    font-size: 100%;
}
.navbox .navbar {
    display: block;
    font-size: 100%;
}
.navbox-title .navbar {
    /* @noflip */
    float: left;
    /* @noflip */
    text-align: left;
    /* @noflip */
    margin-right: 0.5em;
    width: 6em;
}

/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
   in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {
    /* @noflip */
    float: right;
    font-weight: normal;
    /* @noflip */
    margin-left: 0.5em;
    /* @noflip */
    text-align: right;
    width: auto;
}
/* In navboxes, the show/hide button balances the v·d·e links
   from [[Template:Navbar]], so they need to be the same width. */
.navbox .collapseButton {
    width: 6em;
}

/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-collapsible-toggle {
    font-weight: normal;
    /* @noflip */
    text-align: right;
}
.navbox .mw-collapsible-toggle {
    width: 6em;
}

/* Style for horizontal lists (separator following item).
   Note: hlist formatting will break if the resulting HTML lacks a breakable character
   between list items. This happens when the following conditions are true:
   1) The list is made using wiki markup (where HTML is built by parser.php)
   2) HTMLTidy is disabled or unavailable (such as on Special: pages)
   In such cases, building lists with .hlist using HTML instead of wiki markup
   will work around this problem. See also [[Bugzilla:39617]].
   IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
   Last updated: September 23, 2012
   @maintainer: [[User:Edokter]]
   @revision: 2.0
*/
.skin-vector .hlist dl {
    line-height: 1.5em;
}
.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
    padding: 0;
}
/* Display list items inline and make them nowrap */
.hlist dd,
.hlist dt,
.hlist li {
    margin: 0;
    display: inline;
}
/* Display nested lists inline and allow them to wrap */
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
    display: inline;
    white-space: normal;
}
/* Generate interpuncts */
.hlist dt:after {
    content: ":";
}
.hlist dd:after,
.hlist li:after {
    content: " ·";
    font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
    content: none;
}
/* For IE8 */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
    content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
    content: "(";
    font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
    content: ")";
    font-weight: normal;
}
/* For IE8 */
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
    content: ")";
    font-weight: normal;
}
/* Put numbers in front of ordered list items */
.hlist.hnum ol {
    counter-reset: list-item;
}
.hlist.hnum ol > li {
    counter-increment: list-item;
}
.hlist.hnum ol > li:before {
    content: counter(list-item) " ";
}
.hlist.hnum dd ol > li:first-child:before,
.hlist.hnum dt ol > li:first-child:before,
.hlist.hnum li ol > li:first-child:before {
    content: "(" counter(list-item) " ";
}

/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-collapsible-toggle {
    font-weight: normal;
    /* @noflip */
    text-align: right;
}
.navbox .mw-collapsible-toggle {
    width: 6em;
}
.navbox .selflink {
    color:#00B6FF;
}

/* ===== External link icon for PDF files ===== */
.mw-parser-output a[href$=".pdf"].external,
.mw-parser-output a[href*=".pdf?"].external,
.mw-parser-output a[href*=".pdf#"].external,
.mw-parser-output a[href$=".PDF"].external,
.mw-parser-output a[href*=".PDF?"].external,
.mw-parser-output a[href*=".PDF#"].external {
    padding-right: 18px;
    background:url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
}

/* ===== Plainlist ===== */
.plainlist ul {
    line-height: inherit;
    list-style: none outside none;
    margin: 0;
}
.plainlist ul li {
    margin-bottom: 0;
}

/* ===== Multiple column layout for lists ===== */
.multicol-15 ul,
.multicol-15 ol {
    column-width: 15em;
}

/* Module:Item acquisition | Template:Item acquisition */
.upgraded-from-set:not(:first-child) td {
  border-top-style: dashed !important;
  border-top-width: 3px !important;
  border-top-color: #111 !important;
}

/* ===== Skill (Module:Skill) ==== */

/* Template:Skill */

.skill-box-page-container {
  float: right;
}

/* resize skill screenshot accordingly */
.skill-box-page-container img {
  max-width: 400px;
  height: auto;
}

.skill-box-table {
  max-width: 400px;
}

/* force the header section to be as small as possible */
.skill-box-table th {
  width: 1%;
}

.skill-box-table th,.skill-box-table td{
  font-size: 12px;
}

.skill-box-table td[colspan="2"]{
  font-size: inherit;
}

/* ===== Status Infocard (Template:Status) ===== */
.status-icon {
    height: 96px;
}
.status-icon .image,
.status-icon .frame {
    height: 100%;
}
.status-icon .image img {
    margin-top: 16px;
    width: 64px;
    height: 64px;
}
.status-icon .frame {
    margin-top: -96px;
}
.status-icon .frame img {
    width: 98px;
    height: 96px;
}

/* ===== Area Infocard (Template:Area) ==== */
.infocard.area > .topbar > .left,
.infocard.area > .topbar > .right {
    width: 27px;
}

/* ===== Module:Passive skill ===== */

.passive-line {
  display: block;
}

.passive-hover {
  display: none;
  position: relative;
}

.passive-hover:hover {
  display: inline;
}

.passive-line:hover .passive-hover {
  display: inline;
}

.passive-icon-container {
  position: relative;
  margin: 0px auto;
}

.passive-icon-frame {
  position: absolute;
  z-index: 10;
  pointer-events: none;
}

.passive-icon-container a {
  position: absolute;
  z-index: 0;
}

/* sizes of icons have been adjusted to look similar to ingame placement */
.passive-icon-type__basic {
  width: 60px;
  height: 60px;
}

.passive-icon-type__basic .passive-icon-frame {
  width: 60px;
  height: 60px;
  background-image: url("https://www.poewiki.net/w/images/a/a1/Basic_passive_frame.png");
  background-repeat: round;
}

.passive-icon-type__basic a, .passive-icon-type__basic img{
  left: 10px;
  top: 10px;
  width: 40px;
  height: 40px;
}

.passive-icon-type__notable {
  width: 100px;
  height: 100px;
}

.passive-icon-type__notable .passive-icon-frame {
  width: 100px;
  height: 100px;
  background-image: url("https://www.poewiki.net/w/images/5/50/Notable_passive_frame.png");
  background-repeat: round;
}

.passive-icon-type__notable a, .passive-icon-type__notable img{
  left: 14px;
  top: 14px;
  width: 72px;
  height: 72px;
}

.passive-icon-type__keystone {
  width: 175px;
  height: 175px;
}

.passive-icon-type__keystone .passive-icon-frame {
  width: 175px;
  height: 175px;
  background-image: url("https://www.poewiki.net/w/images/5/5a/Keystone_passive_frame.png");
  background-repeat: round;
}

.passive-icon-type__keystone a, .passive-icon-type__keystone img{
  left: 36px;
  top: 36px;
  height: 100px;
  width: 100px;
}

.passive-icon-type__ascendancy_basic {
  width: 60px;
  height: 60px;
}

.passive-icon-type__ascendancy_basic .passive-icon-frame {
  width: 60px;
  height: 60px;
  background-image: url("https://www.poewiki.net/w/images/f/fa/Ascendancy_basic_passive_frame.png");
  background-repeat: round;
}

.passive-icon-type__ascendancy_basic a, .passive-icon-type__ascendancy_basic img{
  left: 10px;
  top: 10px;
  width: 39px;
  height: 40px;
}

.passive-icon-type__ascendancy_notable {
  width: 100px;
  height: 100px;
}

.passive-icon-type__ascendancy_notable .passive-icon-frame {
  width: 100px;
  height: 100px;
  background-image: url("https://www.poewiki.net/w/images/2/26/Ascendancy_notable_passive_frame.png");
  background-repeat: round;
}

.passive-icon-type__ascendancy_notable a, .passive-icon-type__ascendancy_notable img{
  left: 16px;
  top: 16px;
  width: 68px;
  height: 68px;
}

.passive-icon-type__mastery {
  width: 100px;
  height: 100px;
}

.passive-icon-type__mastery .passive-icon-frame {
  width: 100px;
  height: 100px;
  background-image: url("https://www.poewiki.net/w/images/1/16/PassiveMasteryConnectedButton.png");
  background-repeat: round;
}

.passive-icon-type__mastery a, .passive-icon-type__mastery img{
  left: 0px;
  top: 0px;
  width: 100px;
  height: 100px;
  z-index: 11;
}

.mastery_infocard{
  width: auto;
}

.mastery_infocard table{
  text-align: left;
}

/* ===== Gem Infobox ===== */
.GemInfoboxContainer {
    width: 300px;
    float: right;
    padding: 0px;
    margin: 0px 0px 5px 5px;
    border-collapse: collapse;
    background-color: #1a1812;
    font-size:12px;
    line-height:16px;
    color: #bfbfbf;
}
.GemInfoboxInfo         { width: 100%; border-collapse:separate; border-spacing:2px; }
.GemInfoboxInfo td      { background-color: #26231b; color: #ffffff; padding:5px; }
.GemInfoboxInfo td:first-child  { background-color: #332f24; color: #bfbfbf; }
.GemInfoboxHeader       { padding: 2px 2px 0px 2px; }
.GemInfoboxHeader>table     { border-collapse:collapse; }
.GemInfoboxHeader td:first-child {
    width: 100%;
    padding: 5px 5px 5px 5px;
    text-align: left;
    font-size: 11px;
}
.GemInfoboxHeaderName {
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
    color: #1ba29b;
}
.GemInfoboxFooter   { text-align: center; margin: 0px 2px 2px 2px; }
.GemInfoboxFooter img   { width: 100%; height: auto; }
.GemInfoboxDescription  { color: #1ba29b; }
.GemInfoboxModifier { color: #8888ff; }
.GemInfoboxDescription, .GemInfoboxModifier {
    padding: 5px;
    margin: 0px 2px 2px 2px;
    background-color: #26231b;
    text-align: center;
}

/* ===== Support Gem ID template (Template:Id) ===== */
.support-gem-id-red, .support-gem-id-green, .support-gem-id-blue {
    width: 1em;
    color: white !important;
    background-color:#c51e1e;
    display: inline-block;
    text-align: center;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}
.support-gem-id-red { background-color:#c51e1e; }
.support-gem-id-green   { background-color:#08a842; }
.support-gem-id-blue    { background-color:#4163c9; }

/* ===== Module:Util ===== */

.module-error {
    border-width: 1px;
    border-style: solid;
    border-color: #7d1e1e;
    padding: 0.1em 0.25em;
}

/* ===== Module:Quest & Template:Quest ===== */

.quest-table {
    width:300px; 
    color: #bfbfbf; 
    float:right; 
    padding:0.1em; 
    background-color:#1a1812; 
    margin: 0px 0px 5px 5px;
}

.quest-table td.quest-table-iconbox {
    text-align:center;
    font-size:20px;
    font-weight:bold;
}

.quest-table td.quest-table-iconbox img {
    width: 100px;
    height: 100px;
}

.quest-table th {
    text-align: right; 
    font-weight: bold; 
    background-color: #332f24;
}

.quest-table td {
    text-align: center; 
    background-color: #26231b;
}

.quest-table td img {
    max-width: 200px;
    height: auto;
}

/* ===== Template:SMQ query mods (from Module:SMW query) ===== */

.mod-table {
    width: 100%;
    margin: 0px !important;
}
.mod-table-header {
    width: 100%;
}
.mod-table-header .mw-collapsible-toggle {

}
.mod-table-header-container {
    display: table;
}
.mod-table-header-stat {
    display: table-cell;
    vector-effect: middle;
    text-align: left;
    width: 100%;
}
.mod-table-header-modgroup {
    display: table-cell;
    vector-effect: middle;
    text-align: right;
    padding-right: 1em;
}
.mod-table-cell-name {
    width: 9em;
    min-width: 9em;
    max-width: 9em;
}
.mod-table-cell-level {
    width: 1.4em;
    min-width: 1.4em;
    max-width: 1.4em;
}
.mod-table-cell-stat {
    width: 32em;
    min-width: 32em;
    max-width: 32em;
}
.mod-table-cell-tags {
    width: 100%;
}

/* ===== Generic table formatting ===== */
.table-yes > span {
  color: #0f0;
}

.table-no > span {
  color: #f00;
}

.table-cell-coloured {
    color: #000;
    text-align: left;
}
.table-cell-coloured a {
    color: #666;
}
.table-cell-coloured .reference a {
    margin-left: 2px;
}
.table-cell-yes {
    background-color: #080 !important;
}
.table-cell-major {
    background-color: #8C0 !important;
}
.table-cell-partial {
    background-color: #EE0 !important;
}
.table-cell-minor {
    background-color: #D80 !important;
}
.table-cell-no {
    background-color: #E00 !important;
}
.table-cell-unknown {
    background-color: #888 !important;
}

.table-cell-checkmark {
    color:lime; 
    text-align: center; 
    font-weight: bold;
}

.table-cell-xmark {
    color:red; 
    text-align: center; 
    font-weight: bold;
}

/* for table cells representing items*/

.table-cell-dex {
    color: rgb(0, 255, 0);
}
.table-cell-int {
    color: rgb(90, 90, 255);
}
.table-cell-str {
    color: rgb(255, 0, 0);
}
.table-cell-str {
    color: rgb(255, 0, 0);
}
.table-cell-prismatic {
    color: rgb(255, 255, 255);
}

/* Tooltip OLD */
.tooltip-activator {
    position: relative;
    border-bottom-width: 1px;
    border-bottom-style: dotted;
    border-bottom-color: initial;
    cursor: help;
}
.tooltip-activator > .tooltip-content {
    box-sizing: border-box;
    position: absolute;
    display: block;
    visibility: hidden;
    opacity: 0;
    bottom: 100%;
    left: 50%;
    z-index: 1;
    margin-left: -150px;
    border: 1px solid #7f7f7f;
    padding: 8px 12px;
    width: 300px;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    font-weight: normal;
    color: #7f7f7f;
    background-color: #000;
    transition: opacity 0.5s;
}
.tooltip-activator:hover > .tooltip-content {
    visibility: visible;
    opacity: 1;
}

/* 
Atlas of Worlds 
Template:Atlas of Worlds
Widget:Atlas of Worlds
*/

.atlas_of_worlds {
  position: relative;
}

.atlas_of_worlds .atlas_table {
  display: none;
}

canvas#atlas_of_worlds {
  background-image: url("https://www.poewiki.net/w/images/b/b8/Atlas_of_Worlds_background.jpg");
}

.atlas_of_worlds .region_button {
  position: absolute;
  width: max-content;
}

.atlas_of_worlds .map_container {
  position: absolute;
}

.atlas_of_worlds .map_name, .atlas_of_worlds .map_tier, .atlas_of_worlds .map_drop {
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
  text-align: center;
}

.atlas_of_worlds .map_name, .atlas_of_worlds .map_tier {
  font-weight: bold;
  position: absolute;
}

.atlas_of_worlds .map_name {
  top: -37px;
  width: 200px;
  left: -80px;
}

.atlas_of_worlds .map_tier {
  top: 18px;
  /* horizontal align works better with 38px instead of 39 */
  width: 38px;
}

.atlas_of_worlds .map_icon {
  background-image: url("https://www.poewiki.net/w/images/9/98/Map_base_icon.png");
  background-size: cover;
  top: -18px;
  position:absolute;
}

.atlas_of_worlds .map_icon, .atlas_of_worlds .map_icon img {
  width: 39px;
  height: 39px;
}

.atlas_of_worlds .map_drop_container {
  width: max-content;
  height: max-content;
}

.atlas_of_worlds .map_drop img {
  display: block;
}

.atlas_of_worlds .map_drop {
  display: none;
  z-index: 2;
}

.atlas_of_worlds .map_container:hover .map_drop {
  display: block;
  position: relative;
  float: right;
  top: 38px;
  left: -50%;
}

.atlas_of_worlds .low_tier {
  color: rgb(255, 255, 255);
}

.atlas_of_worlds .mid_tier {
  color: rgb(255, 210, 100);
}

.atlas_of_worlds .high_tier {
  color: rgb(240, 30, 10);
}

.low_tier .map_icon img:not(.low_tier) {
  display: none;
}

.mid_tier .map_icon img:not(.mid_tier) {
  display: none;
}

.high_tier .map_icon img:not(.high_tier) {
  display: none;
}

/* 
Monster Javascript infobox styles

Template:Monster
Widget:Monster
*/

/*
Layout is nested in multiple tables

table.monster_container
- tr.monster (one each per monster)
-- table.monster_info_container
--- tr.monster_name 
--- tr.controls
---- table.controls
--- tr.monster_table
---- table.monster_table
--- tr.monster_stats
---- table.monster_stts
*/

table.monster_container {
  width: 800px !important;
  float: right;
}

tr.monster td {
  width: 800px;
}

.monster_info_container {
  border-collapse: collapse;
}

.monster_info_container > tbody > tr > td, .monster_info_container > tbody > tr > th {
  padding: 0px;
}

tr.monster_name {
  border: solid white 1px;
}

tr.monster_name th {
}


.monster_info_container table {
  padding: 0px;
  margin: 0px;
  width: 100%;
}

.controls th {
  min-width: max-content; 
}

.controls td {
  width: 100%;
}

.controls input:not([type="checkbox"]), select {
  width: 100%;
}

/* 
Module:Minimap
*/

.minimap_icon {
  background-image: url("https://www.poewiki.net/w/images/1/18/Minimap_icons.png");
  background-repeat: no-repeat;
  background-position: top left;
  display: inline-block;
}

.minimap_icon.minimap_grid {
  display: grid;
}

/* Used by both inline boxes and grid cells in the overall display */
.minimap_64 {
  width: 64px;
  height: 64px;
}

.minimap_32 {
  width: 32px;
  height: 32px;
}

.minimap_16 {
  width: 16px;
  height: 16px;
}

/* For the inline infoboxes */
.minimap_icon.minimap_64 {
  background-size: 896px auto;
}

.minimap_icon.minimap_32 {
  background-size: 448px auto;
}

.minimap_icon.minimap_16 {
  background-size: 224px auto;
}

.minimap_icon.tooltip-activator,.minimap_icon .tooltip-activator {
  border: none;
}

/* Clearfix */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Helpers */
.u-truncate-line {
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}