MediaWiki:Common.css: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
im>TheDJ
(Prepare the CSS for RTL support. Everything that concerns content should be noflip, Interface should not and will be flipped automatically)
 
 
(359 intermediate revisions by 15 users not shown)
Line 1: Line 1:
/* Main page fixes */
/*
#interwiki-completelist {
* This stylesheet is loaded on desktop only.
    font-weight: bold;
*  
}
* Desktop-only theme styles should go in [[MediaWiki:Vector.css]].
body.page-Main_Page #ca-delete {
* Mobile-only styles should go in [[MediaWiki:Mobile.css]].
    display: none !important;
* Sitewide styles should go in [[MediaWiki:Sitewide.css]].
}
*/
@import url("https://www.poewiki.net/wiki/MediaWiki:Sitewide.css?action=raw&ctype=text/css");


body.page-Main_Page #mp-topbanner {
/* ===== Table cell templates ===== */
  clear: both;
table.wikitable .table-yes,
table.wikitable .table-no,
table.wikitable .table-na {
    vertical-align: middle;
    text-align: center;
}
}
 
table.wikitable .table-yes {
/* Edit window toolbar */
    /*background-color: #1e261b !important;*/
#toolbar {
    height: 22px;
    margin-bottom: 6px;
}
}
 
table.wikitable .table-no {
/* Margins for <ol> and <ul> */
    /*background-color: #261b1b !important;*/
div#content ol, div#content ul,
div#mw_content ol, div#mw_content ul {
    margin-bottom: 0.5em;
}
}
 
table.wikitable .table-na {
/* Make the list of references smaller */
     /*background-color: #211f19 !important;*/
ol.references,
     color: #5e4f45;
div.reflist,
div.refbegin {
     font-size: 90%;            /* Default font-size */
}
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 */
/* ===== Category tree ===== */
ol.references li:target,
.CategoryTreeEmptyBullet {
sup.reference:target,
     color: #5e4f45;
span.citation:target {  
     background-color: #DEF;
}
}
 
.CategoryTreeToggle {
/* Ensure refs in table headers and the like aren't bold or italic */
     color: #16678a;
sup.reference {
     font-weight: normal;
    font-style: normal;
}
}


/* Allow hidden ref errors to be shown by user CSS */
/* Cargo extension */
span.brokenref {
#mw-content-text .cargoTable tr:nth-child(odd) {
     display: none;
     background: #26231b;
}
}
 
#mw-content-text .cargoTable tr:nth-child(even) {
/* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box */
     background: #211f18;
.citation {
     word-wrap: break-word;
}
}
 
#mw-content-text .cargoTable th {
/* Default styling for titles of works, styling for the title of an article
    padding: 5px;
  within a periodical, or a contribution within a compilation. */
    background-color: #332f24;
cite,
     border: 1px solid #1a1812;
.citation cite.article,
.citation cite.contribution {
     font-style: inherit;
}
}
 
#mw-content-text .cargoTable td {
/* Styling for the title of any work within a citation,
     padding: 5px;
  or specifically the title of a periodical. */
     border: 1px solid #1a1812;
.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;
    }
}
}


/* Default skin for navigation boxes */
/* Default style for navigation boxes */
table.navbox {           /* Navbox container style */
.navbox {                     /* Navbox container style */
     border: 1px solid #aaa;
    box-sizing: border-box;
     width: 100%;
     border: 1px solid #75511D;
    margin: auto;
     width: 100%;
     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 */
}
}
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
.navbox-inner,
     margin-top: -1px;         /* (doesn't work for IE6, but that's okay)      */
.navbox-subgroup {
     width: 100%;
}
}
.navbox-group,
.navbox-title,
.navbox-title,
.navbox-abovebelow,
.navbox-abovebelow {
table.navbox th {
     padding: 0.25em 1em;      /* Title, group and above/below styles */
     text-align: center;      /* Title and above/below styles */
     line-height: 1.5em;
     padding-left: 1em;
     text-align: center;
     padding-right: 1em;
}
}
.navbox-group {             /* Group style */
th.navbox-group {             /* Group style */
     white-space: nowrap;
     white-space: nowrap;
     /* @noflip */text-align: right;
     /* @noflip */
    font-weight: bold;
    text-align: right;
    padding-left: 1em;
    padding-right: 1em;
}
}
.navbox, .navbox-subgroup {
.navbox,
     background: #fdfdfd;     /* Background color */
.navbox-subgroup {
     background: #101010;     /* Background color */
}
}
.navbox-list {
.navbox-list {
     border-color: #fdfdfd;   /* Must match background color */
    line-height: 1.5em;
     border-color: #101010;   /* Must match background color */
}
}
.navbox-title,
.navbox th,
table.navbox th {
.navbox-title {
     background: #ccccff;     /* Level 1 color */
     background: #141414;     /* Level 1 color */
}
}
.navbox-abovebelow,
.navbox-abovebelow,
.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-abovebelow {
.navbox-subgroup .navbox-group,
     background: #e6e6ff;     /* Level 3 color */
.navbox-subgroup .navbox-abovebelow {
     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 */
}
}
 
.navbox .hlist td dl,
.collapseButton {          /* 'show'/'hide' buttons created dynamically */
.navbox .hlist td ol,
    /* @noflip */float: right;          /* by the CollapsibleTables javascript in    */
.navbox .hlist td ul,
    font-weight: normal;  /* [[MediaWiki:Common.js]] are styled here  */
.navbox td.hlist dl,
     /* @noflip */text-align: right;     /* so they can be customised.                */
.navbox td.hlist ol,
    width: auto;
.navbox td.hlist ul {
     padding: 0.125em 0;       /* Adjust hlist padding in navboxes */
}
}
.navbox .collapseButton {  /* In navboxes, the show/hide button balances */
    width: 6em;            /* the vde links from [[Template:Navbar]],    */
}                          /* so they need to be the same width.        */


.navbar {                  /* Navbox template links */
/* Default styling for Navbar template */
     font-size: 88%;       /* Default font-size */
.navbar {
    display: inline;
     font-size: 88%;
     font-weight: normal;
     font-weight: normal;
}
}
.navbox .navbar {
.navbar ul {
     font-size: 100%;       /* Font-size when nested within navbox */
     display: inline;
    white-space: nowrap;
}
}
 
.mw-body-content .navbar ul {
/* Infobox template style */
     line-height: inherit;
.infobox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: black;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    /* @noflip */float: right;
    /* @noflip */clear: right;
    text-align: left;
    font-size: 88%;
     line-height: 1.5em;
}
}
.infobox caption {
.navbar li {
     font-size: 125%;
     word-spacing: -0.125em;
    font-weight: bold;
}
}
.infobox td,
.navbar.mini li abbr[title] {
.infobox th {
  font-variant: small-caps;
    vertical-align: top;
  border-bottom: none;
  text-decoration: none;
  cursor: inherit;
}
}
.infobox.bordered {
/* Navbar styling when nested in infobox and navbox */
     border-collapse: collapse;
.infobox .navbar {
     font-size: 100%;
}
}
.infobox.bordered td,
.navbox .navbar {
.infobox.bordered th {
    display: block;
     border: 1px solid #aaa;
     font-size: 100%;
}
}
.infobox.bordered .borderless td,
.navbox-title .navbar {
.infobox.bordered .borderless th {
    /* @noflip */
     border: 0;
    float: left;
    /* @noflip */
    text-align: left;
    /* @noflip */
    margin-right: 0.5em;
     width: 6em;
}
}


.infobox.sisterproject {
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
     width: 20em;
  in [[MediaWiki:Common.js]] are styled here so they can be customised. */
     font-size: 90%;
.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;
}
}


.infobox.standard-talk {
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
     border: 1px solid #c0c090;
.mw-collapsible-toggle {
     background-color: #f8eaba;
     font-weight: normal;
     /* @noflip */
    text-align: right;
}
}
.infobox.standard-talk.bordered td,
.navbox .mw-collapsible-toggle {
.infobox.standard-talk.bordered th {
     width: 6em;
     border: 1px solid #c0c090;
}
}


/* styles for bordered infobox with merged rows */
/* Style for horizontal lists (separator following item).
.infobox.bordered .mergedtoprow td,
  Note: hlist formatting will break if the resulting HTML lacks a breakable character
.infobox.bordered .mergedtoprow th {
  between list items. This happens when the following conditions are true:
     border: 0;
  1) The list is made using wiki markup (where HTML is built by parser.php)
     border-top: 1px solid #aaa;
  2) HTMLTidy is disabled or unavailable (such as on Special: pages)
     border-right: 1px solid #aaa;
  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 */
.infobox.bordered .mergedrow td,
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.infobox.bordered .mergedrow th {
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
     border: 0;
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
     border-right: 1px solid #aaa;
     content: "(";
     font-weight: normal;
}
}
 
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
/* Styles for geography infoboxes, eg countries,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
  country subdivisions, cities, etc.           */
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
.infobox.geography {
     content: ")";
    /* @noflip */text-align: left;
     font-weight: normal;
    border-collapse: collapse;
     line-height: 1.2em;  
     font-size: 90%;
}
}
 
/* For IE8 */
.infobox.geography  td,
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
.infobox.geography  th {
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
     border-top: 1px solid #aaa;
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
     padding: 0.4em 0.6em 0.4em 0.6em;
     content: ")";
     font-weight: normal;
}
}
.infobox.geography .mergedtoprow td,
/* Put numbers in front of ordered list items */
.infobox.geography .mergedtoprow th {
.hlist.hnum ol {
     border-top: 1px solid #aaa;
     counter-reset: list-item;
    padding: 0.4em 0.6em 0.2em 0.6em;
}
}
 
.hlist.hnum ol > li {
.infobox.geography .mergedrow td,
     counter-increment: list-item;
.infobox.geography .mergedrow th {
     border: 0;
    padding: 0 0.6em 0.2em 0.6em;
}
}
 
.hlist.hnum ol > li:before {
.infobox.geography .mergedbottomrow td,
     content: counter(list-item) " ";
.infobox.geography .mergedbottomrow th {
     border-top: 0;
    border-bottom: 1px solid #aaa;
    padding: 0 0.6em 0.4em 0.6em;
}
}
 
.hlist.hnum dd ol > li:first-child:before,
.infobox.geography .maptable td,
.hlist.hnum dt ol > li:first-child:before,
.infobox.geography .maptable th {
.hlist.hnum li ol > li:first-child:before {
     border: 0;
     content: "(" counter(list-item) " ";
    padding: 0;
}
}


/* Normal font styling for table row headers with scope="row" tag */
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.wikitable.plainrowheaders th[scope=row] {
.mw-collapsible-toggle {
     font-weight: normal;
     font-weight: normal;
     /* @noflip */text-align: left;
     /* @noflip */
    text-align: right;
}
.navbox .mw-collapsible-toggle {
    width: 6em;
}
}
 
.navbox .selflink {
/* lists in data cells are always left-aligned */
     color:#00B6FF;
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
     /* @noflip */text-align: left;
}
}


/* Icons for medialist templates [[Template:Listen]],
/* ===== External link icon for PDF files ===== */
  [[Template:Multi-listen_start]], [[Template:Video]],
.mw-parser-output a[href$=".pdf"].external,
  [[Template:Multi-video_start]]
.mw-parser-output a[href*=".pdf?"].external,
*/
.mw-parser-output a[href*=".pdf#"].external,
div.listenlist {
.mw-parser-output a[href$=".PDF"].external,
     background: url("http://upload.wikimedia.org/wikipedia/commons/3/3f/Gnome_speakernotes_30px.png");
.mw-parser-output a[href*=".PDF?"].external,
    /* @noflip */padding-left: 40px;
.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;
}
}


/* Style rules for media list templates */
/* ===== Plainlist ===== */
div.medialist {
.plainlist ul {
     min-height: 50px;
     line-height: inherit;
    margin: 1em;
     list-style: none outside none;
    /* @noflip */background-position: top left;
    background-repeat: no-repeat;
}
div.medialist ul {
     list-style-type: none;
    list-style-image: none;
     margin: 0;
     margin: 0;
}
}
div.medialist ul li {
.plainlist ul li {
     padding-bottom: 0.5em;
     margin-bottom: 0;
}
}
div.medialist ul li li {
 
    font-size: 91%;
/* ===== Multiple column layout for lists ===== */
     padding-bottom: 0;
.multicol-15 ul,
.multicol-15 ol {
     column-width: 15em;
}
}


/* Change the external link icon to an Adobe icon for all PDF files
/* Module:Item acquisition | Template:Item acquisition */
  in browsers that support these CSS selectors, like Mozilla and Opera */
.upgraded-from-set:not(:first-child) td {
div#content a[href$=".pdf"].external,
  border-top-style: dashed !important;
div#content a[href*=".pdf?"].external,
  border-top-width: 3px !important;
div#content a[href*=".pdf#"].external,
  border-top-color: #111 !important;
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("http://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 (Module:Skill) ==== */
  is used (notably Template:PDFlink). This works in IE, unlike the above. */
 
div#content span.PDFlink a,
/* Template:Skill */
div#mw_content span.PDFlink a {
 
    background: url("http://upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
.skill-box-page-container {
    /* @noflip */padding-right: 18px;
  float: right;
}
}


/* Content in columns with CSS instead of tables [[Template:Columns]] */
/* resize skill screenshot accordingly */
div.columns-2 div.column {
.skill-box-page-container img {
    /* @noflip */float: left;
  max-width: 400px;
    width: 50%;
  height: auto;
    min-width: 300px;
}
}
div.columns-3 div.column {
 
    /* @noflip */float: left;
.skill-box-table {
    width: 33.3%;
  max-width: 400px;
    min-width: 200px;
}
}
div.columns-4 div.column {
 
    /* @noflip */float: left;
/* force the header section to be as small as possible */
    width: 25%;
.skill-box-table th {
    min-width: 150px;
  width: 1%;
}
}
div.columns-5 div.column {
 
    /* @noflip */float: left;
.skill-box-table th,.skill-box-table td{
    width: 20%;
  font-size: 12px;
    min-width: 120px;
}
}


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


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


/* Article message box styles */
.passive-icon-container {
table.ambox {
  position: relative;
    margin: 0px 10%;                 /* 10% = Will not overlap with other elements */
  margin: 0px auto;
    border: 1px solid #aaa;
    /* @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-frame {
  position: absolute;
  z-index: 10;
  pointer-events: none;
}
}
.ambox th.mbox-text,
 
.ambox td.mbox-text {           /* The message body cell(s) */
.passive-icon-container a {
    padding: 0.25em 0.5em;       /* 0.5em left/right */
  position: absolute;
  z-index: 0;
}
}
.ambox td.mbox-image {          /* The left image cell */
 
    /* @noflip */padding: 2px 0 2px 0.5em;   /* 0.5em left, 0px right */
/* sizes of icons have been adjusted to look similar to ingame placement */
.passive-icon-type__basic {
  width: 60px;
  height: 60px;
}
}
.ambox td.mbox-imageright {     /* The right image cell */
 
    /* @noflip */padding: 2px 0.5em 2px 0;   /* 0px left, 0.5em right */
.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;
}
}


table.ambox-notice {
.passive-icon-type__basic a, .passive-icon-type__basic img{
    /* @noflip */border-left: 10px solid #1e90ff;   /* Blue */
  left: 10px;
  top: 10px;
  width: 40px;
  height: 40px;
}
}
table.ambox-speedy {
 
    /* @noflip */border-left: 10px solid #b22222;   /* Red */
.passive-icon-type__notable {
    background: #fee;                   /* Pink */
  width: 100px;
  height: 100px;
}
}
table.ambox-delete {
 
    /* @noflip */border-left: 10px solid #b22222;   /* Red */
.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;
}
}
table.ambox-content {
 
    /* @noflip */border-left: 10px solid #f28500;   /* Orange */
.passive-icon-type__notable a, .passive-icon-type__notable img{
  left: 14px;
  top: 14px;
  width: 72px;
  height: 72px;
}
}
table.ambox-style {
 
    /* @noflip */border-left: 10px solid #f4c430;   /* Yellow */
.passive-icon-type__keystone {
  width: 175px;
  height: 175px;
}
}
table.ambox-move {
 
    /* @noflip */border-left: 10px solid #9932cc;   /* Purple */
.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;
}
}
table.ambox-protection {
 
    /* @noflip */border-left: 10px solid #bba;       /* Gray-gold */
.passive-icon-type__keystone a, .passive-icon-type__keystone img{
  left: 36px;
  top: 36px;
  height: 100px;
  width: 100px;
}
}


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


table.imbox-notice {
.passive-icon-type__ascendancy_notable {
    border: 3px solid #1e90ff;   /* Blue */
  width: 100px;
  height: 100px;
}
}
table.imbox-speedy {
 
    border: 3px solid #b22222;   /* Red */
.passive-icon-type__ascendancy_notable .passive-icon-frame {
    background: #fee;             /* Pink */
  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-delete {
 
    border: 3px solid #b22222;   /* Red */
.passive-icon-type__ascendancy_notable a, .passive-icon-type__ascendancy_notable img{
  left: 16px;
  top: 16px;
  width: 68px;
  height: 68px;
}
}
table.imbox-content {
 
    border: 3px solid #f28500;   /* Orange */
.passive-icon-type__mastery {
  width: 100px;
  height: 100px;
}
}
table.imbox-style {
 
    border: 3px solid #f4c430;   /* Yellow */
.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-move {
 
    border: 3px solid #9932cc;   /* Purple */
.passive-icon-type__mastery a, .passive-icon-type__mastery img{
  left: 0px;
  top: 0px;
  width: 100px;
  height: 100px;
  z-index: 11;
}
}
table.imbox-protection {
 
    border: 3px solid #bba;       /* Gray-gold */
.mastery_infocard{
  width: auto;
}
}
table.imbox-license {
 
    border: 3px solid #88a;      /* Dark gray */
.mastery_infocard table{
    background: #f7f8ff;          /* Light gray */
  text-align: left;
}
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 {
.mod-table-header .mw-collapsible-toggle {
    border: 1px solid #9932cc;    /* Purple */
 
}
}
table.ombox-protection {
.mod-table-header-container {
     border: 2px solid #bba;       /* Gray-gold */
     display: table;
}
}
.mod-table-header-stat {
/* Talk page message box styles */
     display: table-cell;
table.tmbox {
     vector-effect: middle;
     margin: 4px 10%;
     text-align: left;
     border-collapse: collapse;
     width: 100%;
     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-modgroup {
     margin: 2px 0;               /* this declaration overrides other styles (including mbox-small above)  */
     display: table-cell;
     width: 100%;                 /* For Safari and Opera */
    vector-effect: middle;
     text-align: right;
    padding-right: 1em;
}
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
.mod-table-cell-name {
     line-height: 1.5em;         /* also "nested", so reset styles that are  */ 
     width: 9em;
     font-size: 100%;             /* set in "mbox-small" above.                */
    min-width: 9em;
     max-width: 9em;
}
}
 
.mod-table-cell-level {
table.tmbox-speedy {
     width: 1.4em;
     border: 2px solid #b22222;   /* Red */
    min-width: 1.4em;
     background: #fee;             /* Pink */
     max-width: 1.4em;
}
}
table.tmbox-delete {
.mod-table-cell-stat {
     border: 2px solid #b22222;   /* Red */
     width: 32em;
    min-width: 32em;
    max-width: 32em;
}
}
table.tmbox-content {
.mod-table-cell-tags {
     border: 2px solid #f28500;   /* Orange */
     width: 100%;
}
}
table.tmbox-style {
 
    border: 2px solid #f4c430;   /* Yellow */
/* ===== Generic table formatting ===== */
.table-yes > span {
  color: #0f0;
}
}
table.tmbox-move {
 
    border: 2px solid #9932cc;    /* Purple */
.table-no > span {
}
  color: #f00;
table.tmbox-protection,
table.tmbox-notice {
    border: 1px solid #c0c090;   /* Gray-brown */
}
}


/* Disambig and set index box styles */
.table-cell-coloured {
table.dmbox {
     color: #000;
     clear: both;
     text-align: left;
    margin: 0.9em 1em;
    border-top: 1px solid #ccc;  
     border-bottom: 1px solid #ccc;
    background: transparent;
}
}
.table-cell-coloured a {
/* Footer and header message box styles */
     color: #666;
table.fmbox {
     clear: both;
    margin: 0.2em 0;
    width: 100%;
    border: 1px solid #aaa;
    background: #f9f9f9;    /* Default "system" gray */
}
}
table.fmbox-system {
.table-cell-coloured .reference a {
     background: #f9f9f9;
     margin-left: 2px;
}
}
table.fmbox-warning {
.table-cell-yes {
    border: 1px solid #bb7070;  /* Dark pink */
     background-color: #080 !important;
     background: #ffdbdb;       /* Pink */
}
}
table.fmbox-editnotice {
.table-cell-major {
     background: transparent;
     background-color: #8C0 !important;
}
}
/* Div based "warning" style fmbox messages. */
.table-cell-partial {
div.mw-warning-with-logexcerpt,
     background-color: #EE0 !important;
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.  
.table-cell-minor {
  Used in [[MediaWiki:Readonly lag]]. */
     background-color: #D80 !important;
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;
}
}
 
.table-cell-no {
/* These mbox-small classes must be placed after all other
     background-color: #E00 !important;
  ambox/tmbox/ombox etc classes. "body.mediawiki" is so
  they override "table.ambox + table.ambox" above. */
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-unknown {
     /* @noflip */margin: 4px 1em 4px 0;
     background-color: #888 !important;
    width: 238px;
    border-collapse: collapse;
    font-size: 88%;
    line-height: 1.25em;
}
}


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


#wpSave {
.table-cell-xmark {
    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);
  http://meta.wikimedia.org/wiki/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;
}
}
 
.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 */right: 3px;
    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;
     font-weight: normal;
     font-size: 90%;
     color: #7f7f7f;
    background-color: #000;
    transition: opacity 0.5s;
}
.tooltip-activator:hover > .tooltip-content {
    visibility: visible;
    opacity: 1;
}
}


/* Hatnotes and disambiguation notices */
/*  
.rellink,
Atlas of Worlds
.dablink {
Template:Atlas of Worlds
    font-style: italic;
Widget:Atlas of Worlds
    /* @noflip */padding-left: 2em;
*/
    margin-bottom: 0.5em;
 
.atlas_of_worlds {
  position: relative;
}
}
.rellink i,
 
.dablink i {
.atlas_of_worlds .atlas_table {
    font-style: normal;
  display: none;
}
}


/* Style for horizontal UL lists */
canvas#atlas_of_worlds {
.horizontal ul {
  background-image: url("https://www.poewiki.net/w/images/b/b8/Atlas_of_Worlds_background.jpg");
    padding: 0;
    margin: 0;
}
}
.horizontal li {  
 
    /* @noflip */padding: 0 0.6em 0 0.4em;
.atlas_of_worlds .region_button {
    display: inline;
  position: absolute;
    /* @noflip */border-right: 1px solid;
  width: max-content;
}
}
.horizontal li:last-child {
 
    /* @noflip */border-right: none;
.atlas_of_worlds .map_container {
    /* @noflip */padding-right: 0;
  position: absolute;
}
}


/* Allow transcluded pages to display in lists rather than a table.
.atlas_of_worlds .map_name, .atlas_of_worlds .map_tier, .atlas_of_worlds .map_drop {
  Compatible in Firefox; incompatible in IE6. */
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
.listify td    { display: list-item; }
  text-align: center;
.listify tr    { display: block; }
}
.listify table { display: block; }


/* Geographical coordinates defaults. See [[Template:Coord/link]]
.atlas_of_worlds .map_name, .atlas_of_worlds .map_tier {
  for how these are used. The classes "geo", "longitude", and
  font-weight: bold;
  "latitude" are used by the [[Geo microformat]].
  position: absolute;
*/
}
.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 .map_name {
  the ToC will display without numbers */
  top: -37px;
.nonumtoc .tocnumber { display: none; }
  width: 200px;
.nonumtoc #toc ul,
  left: -80px;
.nonumtoc .toc ul {
    line-height: 1.5em;
    list-style: none;
    margin: .3em 0 0;
    padding: 0;
}
}
.nonumtoc #toc ul ul,
 
.nonumtoc .toc ul ul {  
.atlas_of_worlds .map_tier {
    /* @noflip */margin: 0 0 0 2em;  
  top: 18px;
  /* horizontal align works better with 38px instead of 39 */
  width: 38px;
}
}


/* Allow limiting of which header levels are shown in a TOC;
.atlas_of_worlds .map_icon {
  <div class="toclimit-3">, for instance, will limit to
  background-image: url("https://www.poewiki.net/w/images/9/98/Map_base_icon.png");
  showing ==headings== and ===headings=== but no further
  background-size: cover;
  (as long as there are no =headings= on the page, which
  top: -18px;
  there shouldn't be according to the MoS).
  position:absolute;
*/
.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_icon, .atlas_of_worlds .map_icon img {
blockquote.templatequote {  
  width: 39px;
    margin-top: 0;  
  height: 39px;
}
}
blockquote.templatequote div.templatequotecite {  
 
    line-height: 1em;
.atlas_of_worlds .map_drop_container {
    /* @noflip */text-align: left;
  width: max-content;
    /* @noflip */padding-left: 2em;
  height: max-content;
    margin-top: 0;
}
}
blockquote.templatequote div.templatequotecite cite {
 
    font-size: 85%;
.atlas_of_worlds .map_drop img {
  display: block;
}
}


/* User block messages */
.atlas_of_worlds .map_drop {
div.user-block {
  display: none;
    padding: 5px;
  z-index: 2;
    margin-bottom: 0.5em;
    border: 1px solid #A9A9A9;
    background-color: #FFEFD5;
}
}


/* Prevent line breaks in silly places:  
.atlas_of_worlds .map_container:hover .map_drop {
  1) Links when we don't want them to
  display: block;
  2) Bold "links" to the page itself
  position: relative;
  2) HTML formulae
  float: right;
  3) Ref tags with group names <ref group="Note"> --> "[Note 1]"
  top: 38px;
*/
  left: -50%;
.nowraplinks a,
.nowraplinks .selflink,
span.texhtml,
sup.reference a {
    white-space: nowrap;
}
}


/* For template documentation */
.atlas_of_worlds .low_tier {
.template-documentation {
  color: rgb(255, 255, 255);
    clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #aaa;
    background-color: #ecfcf4;
    padding: 1em;
}
}


/* Inline divs in ImageMaps (code borrowed from de.wiki) */
.atlas_of_worlds .mid_tier {
.imagemap-inline div {
  color: rgb(255, 210, 100);
    display: inline;
}
}


/* Increase the height of the image upload box */
.atlas_of_worlds .high_tier {
#wpUploadDescription {
  color: rgb(240, 30, 10);
    height: 13em;
}
}


/* Reduce line-height for <sup> and <sub> */
.low_tier .map_icon img:not(.low_tier) {
sup, sub {
  display: none;
    line-height: 1em;
}
}


/* Minimum thumb width */
.mid_tier .map_icon img:not(.mid_tier) {
.thumbinner {
  display: none;
    min-width: 100px;
}
}


/* Makes the background of a framed image white instead of gray. */
.high_tier .map_icon img:not(.high_tier) {
/* Only visible with transparent images. */
  display: none;
div.thumb img.thumbimage {
    background-color: #fff;
}
}
 
/* The backgrounds for galleries. */
/*  
div#content .gallerybox div.thumb {
Monster Javascript infobox styles
    background-color: #F9F9F9/* Light gray padding */
 
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;
}
}
/* Put a chequered background behind images, only visible if they have transparency */
 
.gallerybox .thumb img,
tr.monster td {
.filehistory a img,
  width: 800px;
#file img {
    background: white url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
}
/* But not on articles, user pages, portals or with opt-out. */
.ns-0 .gallerybox .thumb img,
.ns-2 .gallerybox .thumb img,
.ns-100 .gallerybox .thumb img,
.nochecker .gallerybox .thumb img {
    background: white;
}
}


/* Prevent floating boxes from overlapping any category listings,
.monster_info_container {
  file histories, edit previews, and edit [Show changes] views */
  border-collapse: collapse;
#mw-subcategories, #mw-pages, #mw-category-media,
#filehistory, #wikiPreview, #wikiDiff {
    clear: both;
}
}


/* Selectively hide headers in WikiProject banners */
.monster_info_container > tbody > tr > td, .monster_info_container > tbody > tr > th {
.wpb .wpb-header            { display: none; }
  padding: 0px;
.wpbs-inner .wpb .wpb-header { display: block; }    /* for IE */
.wpbs-inner .wpb .wpb-header { display: table-row; } /* for real browsers */
.wpbs-inner .wpb-outside    { display: none; }      /* hide things that should only display outside shells */
 
/* Styling for Abuse Filter tags */
.mw-tag-markers {
    font-family:sans-serif;
    font-style:italic;
    font-size:90%;
}
}


/* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size.
tr.monster_name {
  [[Bugzilla:26204]] */
  border: solid white 1px;
div.mw-geshi div,
div.mw-geshi div pre,
span.mw-geshi,
pre.source-css,
pre.source-javascript {
    font-family: monospace, "Courier New" !important;
}
}


/* Remove bullets when there are multiple edit page warnings */
tr.monster_name th {
ul.permissions-errors > li {
    list-style: none;
}
ul.permissions-errors {
    margin: 0;
}
}


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


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


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


/* Style for horizontal lists (separator following item) */
.controls input:not([type="checkbox"]), select {
ol.hlist, ul.hlist,
  width: 100%;
.hlist ol, .hlist ul {
    margin: 0 !important;
}
}
.hlist li {
 
    /* @noflip */padding: 0em 0.6em 0em 0em;
/*  
    display: inline;
Module:Minimap
    background: url("http://upload.wikimedia.org/wikipedia/commons/d/da/Middot.png") no-repeat right;
*/
 
.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;
}
}
.hlist li:last-child {
 
    /* @noflip */padding-right: 0em;
.minimap_icon.minimap_grid {
    background: none;
  display: grid;
}
}


/* Css for enWiki based fundraising pages. Questions? Contact [[User:Jalexander]] */
/* Used by both inline boxes and grid cells in the overall display */
body.page-Wikipedia_2011Appeal1 #mw-panel div.portal,
.minimap_64 {
body.page-Wikipedia_2011Appeal1 #p-namespaces,
  width: 64px;
body.page-Wikipedia_2011Appeal1 #p-views,
  height: 64px;
body.page-Wikipedia_2011Appeal1 #p-cactions,
body.page-Wikipedia_2011Appeal1 #p-search,
body.page-Wikipedia_2011Appeal1 #p-personal,
body.page-Wikipedia_2011Appeal1 #catlinks,
body.page-Wikipedia_2011Appeal1 #siteNotice,
body.page-Wikipedia_2011Appeal1 #firstHeading {
    display: none !important;
}
}


body.page-Wikipedia_2011Appeal1 div#content,
.minimap_32 {
body.page-Wikipedia_2011Appeal1 div#mw-head-base,
  width: 32px;
body.page-Wikipedia_2011Appeal1 div#footer {
  height: 32px;
    background-color: transparent !important;
    background-image: none !important;
}
}


/* 2nd page */
.minimap_16 {
body.page-Wikipedia_2011Appeal2 #mw-panel div.portal,
  width: 16px;
body.page-Wikipedia_2011Appeal2 #p-namespaces,
  height: 16px;
body.page-Wikipedia_2011Appeal2 #p-views,
body.page-Wikipedia_2011Appeal2 #p-cactions,
body.page-Wikipedia_2011Appeal2 #p-search,
body.page-Wikipedia_2011Appeal2 #p-personal,
body.page-Wikipedia_2011Appeal2 #catlinks,
body.page-Wikipedia_2011Appeal2 #siteNotice,
body.page-Wikipedia_2011Appeal2 #firstHeading {
    display: none !important;
}
}


body.page-Wikipedia_2011Appeal2 div#content,
/* For the inline infoboxes */
body.page-Wikipedia_2011Appeal2 div#mw-head-base,
.minimap_icon.minimap_64 {
body.page-Wikipedia_2011Appeal2 div#footer {
  background-size: 896px auto;
    background-color: transparent !important;
    background-image: none !important;
}
}


/* BREADCRUMB CODE FOR THE ACCOUNT CREATION PROCESS */
.minimap_icon.minimap_32 {
  background-size: 448px auto;
.breadcrumb {
        list-style: none;
        overflow: hidden;
        font: 14px Helvetica, Arial, Sans-Serif;
}
}
.breadcrumb li {
 
        float: left;
.minimap_icon.minimap_16 {
        margin-bottom: 0;
  background-size: 224px auto;
}
}
.breadcrumb li a {
 
        color: white;
.minimap_icon.tooltip-activator,.minimap_icon .tooltip-activator {
        text-decoration: none;
  border: none;
        padding: 10px 0 10px 45px;
        position: relative;
        display: block;
        float: left;
}
}
 
.breadcrumb li a:after,
/* Clearfix */
.breadcrumb li a:before {
.clearfix::after {
        content: " ";
    content: "";
        display: block;
    display: table;
        width: 0;
    clear: both;
        height: 0;
        border-top: 50px solid transparent;          /* Go big on the size, and let overflow hide */
        border-bottom: 50px solid transparent;
        position: absolute;
        top: 50%;
        margin-top: -50px;
        left: 100%;
        z-index: 2;
}
.breadcrumb li a:before {
        border-left: 31px solid white;
        margin-left: 1px;
        z-index: 1;
}
.breadcrumb li:first-child a {
        padding-left: 20px;
}
.currentcrumb a {
        background: #069;
}
}
.currentcrumb a:after {
        border-left: 30px solid #069;
}
.currentcrumb a:hover, .prevcrumb a:hover, .nextcrumb a:hover {
        background: #002d44;
}
.currentcrumb a:hover:after, .prevcrumb a:hover:after, .nextcrumb a:hover:after { border-left-color: #002d44 !important; }
.prevcrumb a {
        background: #396;
}
.prevcrumb a:after {
        border-left: 30px solid #396;
}
.nextcrumb a {
        background: #999;
}
.nextcrumb a:after {
        border-left: 30px solid #999;
}
/* Makes it possible for the boxes in the Account Creation Process to overlap */
#userlogin {
margin:0;
width:90% !important;
max-width:100% !important;
padding:1.5em;
padding-top:0.75em !important;
border:0;
-moz-box-shadow: inset 0 0px 10px rgba(0, 0, 0, 0.35);
-webkit-box-shadow:  inset 0 0px 10px rgba(0, 0, 0, 0.35);
box-shadow: inset 0 0px 10px rgba(0, 0, 0, 0.35);
-moz-border-radius: 7px;
-webkit-border-radius: 7px;
border-radius: 7px;
background:white;
background: #fff;
background: -moz-linear-gradient(bottom, #fff 90%, #F5F5F5 100%);
background: -webkit-gradient(linear, left bottom, left top, color-stop(90%,#fff), color-stop(100%,#F5F5F5));
background: -webkit-linear-gradient(bottom, #fff 90%,#F5F5F5 100%);
background: -o-linear-gradient(bottom, #fff 90%,#F5F5F5 100%);
background: -ms-linear-gradient(bottom, #fff 90%,#F5F5F5 100%);
background: linear-gradient(bottom, #fff 90%,#fff 100%);
}
/* Hides the longer title for the listed pages */


body.page-MediaWiki:Customusertemplate-ACP1-Fancycaptcha-createaccount #firstHeading,
/* Helpers */
body.page-MediaWiki:Customusertemplate-ACP1-Welcomecreation #firstHeading,
.u-truncate-line {
body.page-MediaWiki_Customusertemplate-ACP2-Welcomecreation #firstHeading,
    display: block !important;
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_History_Copyediting #firstHeading,
    overflow: hidden !important;
body.page-MediaWiki_Customusertemplate-ACP2-Which_skills_do_you_have_to_offer #firstHeading,
    text-overflow: ellipsis !important;
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_Geography_Copyediting #firstHeading,
    white-space: nowrap !important;
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_Technology_Organizing #firstHeading,
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_Technology_Searching_the_web #firstHeading,
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_Technology_Research_Writing #firstHeading,
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_Technology_Copyediting #firstHeading,
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_Biology_Organizing #firstHeading,
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_Biology_Searching_the_web #firstHeading,
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_Biology_Research_Writing #firstHeading,
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_Biology_Copyediting #firstHeading,
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_History_Organizing #firstHeading,
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_History_Searching_the_web #firstHeading,
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_History_Research_Writing #firstHeading,
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_Arts_Organizing #firstHeading,
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_Arts_Searching_the_web #firstHeading,
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_Arts_Research_Writing #firstHeading,
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_Arts_Copyediting #firstHeading,
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_Mathematics_Organizing #firstHeading,
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_Mathematics_Searching_the_web #firstHeading,
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_Mathematics_Research_Writing #firstHeading,
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_Mathematics_Copyediting #firstHeading,
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_Geography_Organizing #firstHeading,
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_Geography_Searching_the_web #firstHeading,
body.page-MediaWiki_Customusertemplate-ACP2-Be_a_part_of_Wikipedia_Geography_Research_Writing #firstHeading {
display: none !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;
}