MediaWiki:FandomMobile.css

From Path of Exile Wiki
Jump to navigation Jump to search

Note: After saving, you have to bypass your browser's cache to see the changes. The simplest method that will work for most users is to hold down the ⇧ Shift key and click the Reload toolbar button. For details and other methods, see Help:Clear your browser cache.

@import url("https://pathofexile.fandom.com/wiki/MediaWiki:Sitewide.css?action=raw&ctype=text/css");

/* ===== Item Box ===== */
.item-stats > .group.-textwrap {
  width: 300px;
  white-space: normal;
}

/* ===== Passive Infocard (Template:Passive/passivebox) ===== */
.infocard[class*="passive-"] .block:nth-child(1) {
  height: 86px;
}
.infocard.passive-notable .block:nth-child(1) {
  height: 131px;
}
.infocard.passive-keystone .block:nth-child(1) {
  height: 184px;
}
.infocard[class*="passive-"] .block:nth-child(1) .image,
.infocard[class*="passive-"] .block:nth-child(1) .frame {
  height: 100%;
}
.infocard[class*="passive-"] .block:nth-child(1) .image img {
  margin-top: 14px;
  width: 58px;
  height: 58px;
}
.infocard.passive-notable .block:nth-child(1) .image img {
  margin-top: 20px;
  width: 90px;
  height: 90px;
}
.infocard.passive-keystone .block:nth-child(1) .image img {
  margin-top: 28px;
  width: 128px;
  height: 128px;
}
.infocard[class*="passive-"] .block:nth-child(1) .frame {
  margin-top: -86px;
}
.infocard.passive-notable .block:nth-child(1) .frame {
  margin-top: -131px;
}
.infocard.passive-keystone .block:nth-child(1) .frame {
  margin-top: -184px;
}
.infocard[class*="passive-"] .block:nth-child(1) .frame img {
  width: 86px;
  height: 86px;
}
.infocard.passive-notable .block:nth-child(1) .frame img {
  width: 131px;
  height: 131px;
}
.infocard.passive-keystone .block:nth-child(1) .frame img {
  width: 184px;
  height: 184px;
}
.infocard[class*="passive-"] .block:nth-child(2) {
  padding: 0;
}
.infocard[class*="passive-"] .block:nth-child(2) ul {
  margin: 0;
}
.infocard[class*="passive-"] .block:nth-child(2) ul li {
  margin: 0;
  list-style: none;
}
.infocard[class*="passive-"] .block:nth-child(2) > ul > li {
  padding: 0.2em 1.0em;
}
.infocard[class*="passive-"] .block:nth-child(2) > ul > li:first-child {
  padding-top: 0.5em;
}
.infocard[class*="passive-"] .block:nth-child(2) > ul > li:last-child {
  padding-bottom: 1.0em;
}
.infocard[class*="passive-"] .block:nth-child(2) > ul > li > ul {
  margin: -0.2em -1.0em;
  border-top: 1px solid #3a3529;
  border-bottom: 1px solid #100f0b;
  padding: 0.4em 0;
}
.infocard[class*="passive-"] .block:nth-child(2) > ul > li:first-child > ul {
  border-top: none;
  padding-top: 0;
}
.infocard[class*="passive-"] .block:nth-child(2) > ul > li:last-child > ul {
  border-bottom: none;
  padding-bottom: 0;
}
.infocard[class*="passive-"] .block:nth-child(2) > ul > li > ul > li {
  padding: 0.2em 1.0em;
}
.infocard[class*="passive-"] .block:nth-child(3) {
  margin-top: -0.5em;
}

/* ===== 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;
}

/* ===== Sidebar ===== */
.sidebar {
  float: right;
  margin-left: 14px;
  margin-bottom: 14px;
  border-style: solid;
  border-width: 2px 1px;
  border-color: #474233 #403b2e #1a1812;
  border-radius: 6px;
  padding: 2px 3px;
  background-color: #332F24;
  width: 292px;
}
.sidebar-inner {
  border-style: solid;
  border-width: 2px 1px;
  border-color: #1a1812 #1f1c15 #474233;
  border-radius: 6px;
  padding: 8px 1em;
  background-color: #26231b;
}
.sidebar-header {
  margin-bottom: 2px;
  text-align: center;
  font-size: 20px;
  line-height: 1.5em;
  color: #dfcf99;
}

/* ===== Passive Skill Display ===== */
.passiveicon {
  height: 86px;
}
.passivebox .passiveicon.passiveicon-notable {
  height: 131px;
}
.passivebox .passiveicon.passiveicon-keystone {
  height: 184px;
}
.passiveicon-image,
.passiveicon-frame {
  height: 100%;
}
.passiveicon .passiveicon-image img {
  margin-top: 14px;
  width: 58px;
  height: 58px;
}
.passivebox .passiveicon.passiveicon-notable .passiveicon-image img {
  margin-top: 20px;
  width: 90px;
  height: 90px;
}
.passivebox .passiveicon.passiveicon-keystone .passiveicon-image img {
  margin-top: 28px;
  width: 128px;
  height: 128px;
}
.passiveicon .passiveicon-frame {
  margin-top: -86px;
}
.passivebox .passiveicon.passiveicon-notable .passiveicon-frame {
  margin-top: -131px;
}
.passivebox .passiveicon.passiveicon-keystone .passiveicon-frame {
  margin-top: -184px;
}
.passiveicon .passiveicon-frame img {
  width: 86px;
  height: 86px;
}
.passivebox .passiveicon.passiveicon-notable .passiveicon-frame img {
  width: 131px;
  height: 131px;
}
.passivebox .passiveicon.passiveicon-keystone .passiveicon-frame img {
  width: 184px;
  height: 184px;
}
.passivebox {
  text-align: center;
}
.passivebox .passiveicon {
  margin: 0.5em 0 1em;
}
.passivebonuses ul {
  margin: 0;
  list-style: none;
}
.passivebonuses li {
  margin: 0.5em 0;
}
.passivebonuses > ul > li + li > ul {
  border-top: 1px dotted #5E4F45;
}
.passiveflavour {
  margin: 1em 0 0.5em;
}

/* ===== Icons for Skill Links ===== */
.gem-link a {
  padding: 2px 0 2px 12px;
  background: left center no-repeat;
}
.gem-link.gen-skill a { background-image: url("/media/b/b7/Inline_Generic_gem.png"); }
.gem-link.str-skill a { background-image: url("/media/b/b5/Inline_Str_gem.png"); }
.gem-link.dex-skill a { background-image: url("/media/3/34/Inline_Dex_gem.png"); }
.gem-link.int-skill a { background-image: url("/media/8/86/Inline_Int_gem.png"); }
.gem-link.str-suppt a { background-image: url("/media/5/5e/Inline_Str_support_gem.png"); }
.gem-link.dex-suppt a { background-image: url("/media/f/f9/Inline_Dex_support_gem.png"); }
.gem-link.int-suppt a { background-image: url("/media/a/ad/Inline_Int_support_gem.png"); }

/* ===== 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 {
  color: red;
  font-weight: bold;
  border: 1px solid red;
  padding: 2px 3px 2px 2px;
}

/* ===== 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;
}

/* ===== Legacy Variant Tables (Template:Legacy variant table row) ===== */
.legacy-stats {
  font-size: 0.857em;
  color: #55548c;
}
.legacy-stats .text-color.-mod {
  font-size: 1.167em;
  color: #8888ff;
}
.legacy-stats .text-color.-not {
  font-size: 1.167em;
  text-decoration: line-through;
  color: #7f7f7f;
}

/* ===== 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-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;
}

/* 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 (Template:Tooltip) */
.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;
}

.c-item-hoverbox__display {
    display: none;
}