MediaWiki:Itembox.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* -----------Item Box Styling ---------------- */
.item-box {
height: fit-content;
max-width: 500px;
min-width: 325px;
padding: 5px 10px;
border-style: solid;
display: flex;
flex-direction: column;
text-align: center;
background-color: #090909;
flex-shrink: 0;
margin-bottom: 20px;
margin-left: 20px;
}
.tabber__panel>.item-box {
float:left;
clear: left;
}
.mw-parser-output>.item-box {
float: right;
clear: right;
}
a {
color:#000000;
}
.item-page-layout {
display: flex;
justify-content: space-between;
flex-wrap: nowrap;
}
.class-page-div {
display: flex;
flex-wrap: wrap;
max-width: 100%;
width: auto;
justify-content: flex-start;
column-gap: 10px;
}
.gamecontent-nav-div {
display: flex;
flex-wrap: wrap;
max-width: 100%;
width: auto;
justify-content: space-between;
border: 0px solid #000;
border-radius: 0px;
height: 100%;
}
.gamecontent-nav-div > * {
margin: 5px;
}
.itemcategories-nav-div {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
max-width: 100%;
width: auto;
border: 0px solid #000;
border-radius: 0px;
height: 100%;
}
.itemcategories-nav-div > * {
margin: 5px;
}
.class-item {
display: flex;
flex-direction: column;
text-align: center;
padding-bottom: 0px;
}
@media (max-width: 768px) {
.item-page-layout {
flex-wrap: wrap;
}
.nomobile {
display: none;
}
.class-page-div {
justify-content: space-between;
}
.gamecontent-nav-div {
justify-content: space-between;
}
}
.item-page {
width: 100%;
margin-right: 5px;
}
.item-box .item-header{
display: flex;
flex-direction: column;
text-align: center;
margin: 5px;
}
.item-box .item-header > p {
margin: 0;
}
.item-box .item-image {
margin: 5px;
}
.item-box .item-basestats {
display: flex;
flex-direction: column;
text-align: center;
margin: 5px;
}
.item-box .item-basestats > p {
margin: 0;
}
.item-list.item-stats {
margin: 5px;
}
.item-list.item-stats > p {
margin: 0;
}
.item-list .item-lore {
text-align: center;
color: #c7b377;
padding-top: 5px;
}
.item-box .item-stats {
display: flex;
flex-direction: column;
text-align: center;
margin: 5px;
text-wrap: nowrap;
}
.item-box .item-stats > p {
margin: 0;
}
.item-box .item-lore {
padding: 5px;
max-width: 350px;
width: auto;
margin: auto;
text-align: center;
color: #c7b377;
overflow-wrap: break-word;
}
.item-box .attributes {
display: flex;
flex-direction: row;
justify-content: space-between;
width: 100%;
margin: 0;
}
/* ---------- Relic ------------ */
.item-box.Relic .item-name {
color: #fe4800;
background: transparent;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 20px;
}
.item-box.Relic {
border-width: 2px;
border-color: #fe4800;
}
/* ---------- Common ------------ */
.item-box.Common .item-name {
color: #ffffff;
background: transparent;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 20px;
}
.item-box.Common {
border-width: 2px;
border-color: #676767;
}
.item-page-Common > a {
color: #ffffff !important;
}
.item-col.Common > a {
color: #ffffff !important;
}
/* ---------- Legendary ------------ */
.item-box.Legendary .item-name {
color: #dd761b;
background: transparent;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 20px;
}
.item-box.Legendary {
border-width: 2px;
border-color: #5a300b;
}
/* ---------- Satanic ------------ */
.item-box.Satanic .item-name {
color: #c81717;
background: transparent;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 20px;
}
.item-box.Satanic {
border-width: 2px;
border-color: #c81717;
}
.item-page-Satanic > a {
color: #c81717 !important;
}
.item-col.Satanic > a {
color: #c81717 !important;
}
/* ------Set Itembox------- */
.item-box.Satanic.Set .item-name {
color:#0bb01a;
background-color: transparent;
white-space: nowrap;
text-overflow: ellipsis;
}
.item-box.Satanic.Set {
border-width: 2px;
border-color: #0bb01a;
}
.item-page-Satanic.Set > a {
color: #0bb01a !important;
}
.item-col.Satanic.Set > a {
color: #0bb01a !important;
}
/* ---------- Heroic ------------ */
.item-box.Heroic .item-name {
color: #00e19a;
background: transparent;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 20px;
}
.item-box.Heroic {
border-width: 2px;
border-color: #016746;
}
.item-page-Heroic > a {
color: #00e19a !important;
}
.item-col.Heroic > a {
color: #00e19a !important;
}
/* ---------- Unholy ------------ */
.item-box.Unholy .item-name {
color: #c73664;
background: transparent;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 20px;
}
.item-box.Unholy {
border-width: 2px;
border-color: #56162d;
}
.item-page-Unholy > a {
color: #c73664 !important;
}
.item-col.Unholy > a {
color: #c73664 !important;
}
/* ---------- Angelic ------------ */
.item-box.Angelic .item-name {
color: #feff99;
background: transparent;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 20px;
}
.item-box.Angelic {
border-width: 2px;
border-color: #feff99;
}
.item-page-Angelic > a {
color: #feff99 !important;
}
.item-col.Angelic > a {
color: #feff99 !important;
}
/* ---------- Runeword ------------ */
.item-box.Runeword .item-name {
color: #c7b377;
background: transparent;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 20px;
}
.item-box.Runeword {
border-width: 2px;
border-color: #504830;
}
.item-page-Runeword > a {
color: #c7b377 !important;
}
.item-col.Runeword > a {
color: #c7b377 !important;
}
/* --------------------- Tier Colors ---------------------- */
.tier-D {
color: #5a1c14;
}
.tier-C {
color: #82251c;
}
.tier-B {
color: #bb6234;
}
.tier-A {
color: #e69650;
}
.tier-S {
color: #f3c632 ;
}
.tier-SS {
color: #fdfea5;
}
/* -------------------- Template Colors ------------------- */
.roll-range {
color: #01e200;
}
.stat-base {
color: white;
}
.stat-default {
color: #8383df;
}
.stat-default > a{
color: #8383df !important;
}
.stat-arcane {
color: #853bf9;
}
.stat-poison {
color: #44de00;
}
.stat-lightning {
color: #6eedb6;
}
.stat-fire {
color: #fc4a28;
}
.stat-cold {
color: #39ddfb;
}
.stat-physical {
color: #c68a59;
}
.stat-unbreakable {
color: #cd2494;
}
.stat-unbreakable > a{
color: #cd2494 !important;
}
.stat-spell {
color: #f34500;
}
.item-stat-spell-link > a {
color: #fc6e5f !important;
}
.stat-allskills {
color: #c7b377;
}
.stat-unholy {
color: #c73664;
}
.stat-unholy > a{
color: #c73664 !important;
}
.set-name{
color: #c7b377;
}
.set-item{
color: #626262;
}
/* --------------------------------------Styles for infoboxes ------------------------------------------*/
.portable-infobox.pi-theme-wikia .pi-data-label {
flex: 1 1 200px;
}
.portable-infobox.pi-theme-wikia .pi-data-value:not(:first-child) {
flex: 1 0 100px;
}
.portable-infobox .pi-item-spacing {
padding-bottom: 3px;
padding-top: 3px;
}
.portable-infobox {
clear:inherit;
flex: 1 1 200px;
background: #202020;
border: solid 1px #000;
border-radius: 3px;
text-align: center
}
.portable-infobox .pi-data-label {
flex: 1 1 200px;
}
.pi-smart-group .pi-smart-data-value, .pi-smart-group h3.pi-smart-data-label {
margin: 1px 0;
padding: 1px 1px;
}
/*Hide infobox borders*/
.pi-data {
border:hidden;
}
.pi-group {
border:hidden;
}
.portable-infobox.type-itembox .pi-smart-group .pi-smart-data-value:not(:first-child) .pi-smart-group h3.pi-smart-data-label:not(:first-child) {
border:hidden;
}
.pi-data-value {
hyphens: none;
}
/* --------------------------------Itembox -----------------------------------*/
.portable-infobox.pi-type-itembox {
float:right;
margin: 0 0 10px 10px;
max-width: 500px;
width: auto;
background-color: #090909;
color: white;
border-style: solid;
border-width: 3px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.portable-infobox .pi-data-label,
.portable-infobox .pi-data-value {
text-align: center;
flex: 1; /* Adjust flex properties as needed to fill space */
}
.portable-infobox.pi-type-itembox .pi-data-label{
font-size:14px;
}
.portable-infobox.pi-type-itembox .pi-data-value {
font-size:14px;
}
.portable-infobox.pi-type-itembox .pi-header {
font-size:16px;
}
.portable-infobox.pi-type-itembox .pi-title {
font-size:20px;
padding-bottom: 0;
}
.portable-infobox.pi-type-itembox .pi-header {
padding:3px;
}
.portable-infobox.pi-type-itembox .pi-smart-group-head+.pi-smart-group-body {
border: hidden;
}
.portable-infobox.pi-type-itembox .pi-smart-group {
border:hidden;
}
.pi-item[data-item-name=item-rarity-type] {
display: flex;
justify-content: center;
}
.pi-item[data-item-name=item-rarity-type] div:last-child{
margin-right: 0;
}
.pi-item[data-item-name=item-base-stats] {
padding: 5px;
}
.pi-item[data-item-name=item-weapon-base-stats] {
padding: 5px;
}
.pi-item[data-item-name=item-stats] {
padding: 5px;
}
.pi-item[data-item-name=item-set-bonus] {
padding-top:20px;
padding-bottom:20px;
color: #0bb01a;
}
.pi-item[data-item-name=item-description] {
padding: 5px;
max-width: 400px;
width: auto;
margin: auto;
text-align: center;
color: #c7b377;
overflow-wrap: break-word;
}
.pi-item[data-item-name=item-attributes] {
padding: 0px;
width: 100%;
}
.pi-item[data-item-name=item-attributes] .pi-item-spacing {
width: auto;
}
.pi-item[data-item-name=item-weapon-attributes] {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
padding: 0px;
}
.pi-item[data-item-name=item-base-attributes] {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
padding: 0px;
}
/* ------Stat Colors----------- */
.pi-item[data-item-name=item_spell_proc] {
color: #ff4800;
}
.pi-item[data-item-name=item_spell_proc] a{
color: #ff4800;
}
.pi-item[data-item-name=item_all_skills] {
color: #c7b377;
}
.pi-item[data-item-name=item_arcane_skills] {
color: #853bf9;
}
.pi-item[data-item-name=set_name]{
color: #c7b377;
}
.pi-item[data-item-name=set_item]{
color: #626262;
}
/* ------Satanic Itembox------- */
.portable-infobox.pi-theme-Satanic .pi-title {
color:#c81717;/*#ff00007a*/
background-color: transparent;
white-space: nowrap;
text-overflow: ellipsis;
}
.portable-infobox.pi-theme-Satanic {
border-width: 2px;
border-color: #c81717;
}
.portable-infobox.pi-theme-Satanic .wds-tabs__wrapper {
Background-color:inherit;
}
.portable-infobox.pi-theme-Satanic .wds-tabs :hover {
color:#d74b4b;
}
.portable-infobox.pi-theme-Satanic .wds-tabs__tab {
color:#c81717;
}
/* ------Set Itembox------- */
.portable-infobox.pi-theme-Satanic-Set .pi-title {
color:#0bb01a;
background-color: transparent;
white-space: nowrap;
text-overflow: ellipsis;
}
.portable-infobox.pi-theme-Satanic-Set {
border-width: 2px;
border-color: #0bb01a;
}
.portable-infobox.pi-theme-Satanic-Set .wds-tabs__wrapper {
Background-color:inherit;
}
.portable-infobox.pi-theme-Set .wds-tabs :hover {
color:#12c521;
}
.portable-infobox.pi-theme-Satanic-Set .wds-tabs__tab {
color:#0bb01a;
}
/* ------Heroic Itembox------- */
.portable-infobox.pi-theme-Heroic .pi-title {
color: #00e19a;
background: transparent;
white-space: nowrap;
text-overflow: ellipsis;
}
.portable-infobox.pi-theme-Heroic {
border-width: 2px;
border-color: #016746;
}
.portable-infobox.pi-theme-Heroic .wds-tabs__wrapper {
Background-color:inherit;
}
.portable-infobox.pi-theme-Heroic .wds-tabs :hover {
color:#3adba7;
}
.portable-infobox.pi-theme-Heroic .wds-tabs__tab {
color:#099f6f;
}
/* ------Unholy Itembox------- */
.portable-infobox.pi-theme-Unholy .pi-title {
color: #d5396c;
background: transparent;
white-space: nowrap;
text-overflow: ellipsis;
}
.portable-infobox.pi-theme-Unholy {
border-width: 2px;
border-color: #56172c;
}
.portable-infobox.pi-theme-Unholy .wds-tabs__wrapper {
Background-color:inherit;
}
.portable-infobox.pi-theme-Unholy .wds-tabs :hover {
color:#f1f360;
}
.portable-infobox.pi-theme-Unholy .wds-tabs__tab {
color:#cccd7c;
}
/* ------Angelic Itembox------- */
.portable-infobox.pi-theme-Angelic .pi-title {
color:#feff99c2;
background: transparent;
white-space: nowrap;
text-overflow: ellipsis;
}
.portable-infobox.pi-theme-Angelic {
border-width: 2px;
border-color: #feff99c2;
}
.portable-infobox.pi-theme-Angelic .wds-tabs__wrapper {
Background-color:inherit;
}
.portable-infobox.pi-theme-Angelic .wds-tabs :hover {
color:#f1f360;
}
.portable-infobox.pi-theme-Angelic .wds-tabs__tab {
color:#cccd7c;
}
/* Seb Changes End */