Template:Item infobox/styles.css
Appearance
.bc-infobox {
float: right;
clear: right;
width: 23em;
max-width: 100%;
margin: 0 0 1em 1em;
font-size: 90%;
}
.bc-infobox th {
text-align: left;
}
.bc-infobox td {
overflow-wrap: anywhere;
}
.bc-infobox caption {
font-size: 130%;
font-weight: bold;
box-sizing: border-box;
padding: 0.65em 0.75em;
border: 1px solid var(--bc-border, #a2a9b1);
border-bottom: 0;
background-color: var(--bc-raised, #eaecf0);
color: var(--bc-text, #202122);
}
.bc-item-picture {
text-align: center;
padding-block: 16px;
}
.bc-infobox .bc-item-flavor {
margin: 1em 0 0;
padding: 0;
border: 0;
background: transparent;
color: var(--bc-muted, #54595d);
font-style: italic;
font-size: inherit;
}
.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-infobox {
float: none;
width: 100%;
margin: 0 0 1em;
}
}