Template:Item infobox/styles.css: Difference between revisions
Appearance
Synchronize public game reference data |
Synchronize public game reference data |
||
| Line 32: | Line 32: | ||
.bc-item-details { | .bc-item-details { | ||
clear: both; | clear: both; | ||
} | |||
.bc-item-inline-icon { | |||
display: inline-block; | |||
width: 20px; | |||
height: 20px; | |||
margin-inline-end: 0.35em; | |||
line-height: 1; | |||
vertical-align: middle; | |||
} | |||
.bc-item-inline-icon img { | |||
max-width: 20px; | |||
max-height: 20px; | |||
object-fit: contain; | |||
vertical-align: top; | |||
} | |||
.bc-item-link-tier { | |||
font-size: 85%; | |||
white-space: nowrap; | |||
} | } | ||
.bc-item-loot td:nth-child(n + 2) { | .bc-item-loot td:nth-child(n + 2) { | ||
Revision as of 13:51, 4 November 2026
.bc-item-infobox {
float: right;
clear: right;
width: 23em;
max-width: 100%;
margin: 0 0 1em 1em;
font-size: 90%;
}
.bc-item-infobox th {
text-align: left;
}
.bc-item-infobox td {
overflow-wrap: anywhere;
}
.bc-item-infobox caption {
font-size: 130%;
font-weight: bold;
padding: 0.5em;
}
.bc-item-picture {
text-align: center;
}
.bc-item-infobox .bc-item-tier {
display: block;
font-size: 80%;
font-weight: normal;
}
.bc-item-infobox .bc-item-technical {
font-size: 85%;
color: var(--bc-muted, #54595d);
}
.bc-item-details {
clear: both;
}
.bc-item-inline-icon {
display: inline-block;
width: 20px;
height: 20px;
margin-inline-end: 0.35em;
line-height: 1;
vertical-align: middle;
}
.bc-item-inline-icon img {
max-width: 20px;
max-height: 20px;
object-fit: contain;
vertical-align: top;
}
.bc-item-link-tier {
font-size: 85%;
white-space: nowrap;
}
.bc-item-loot td:nth-child(n + 2) {
text-align: right;
white-space: nowrap;
}
@media (max-width: 640px) {
.bc-item-infobox {
float: none;
width: 100%;
margin: 0 0 1em;
}
}