Template:Item infobox/styles.css: Difference between revisions
Appearance
Synchronize public game reference data |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
.bc | .bc-infobox { | ||
float: right; | float: right; | ||
clear: right; | clear: right; | ||
| Line 7: | Line 7: | ||
font-size: 90%; | font-size: 90%; | ||
} | } | ||
.bc | .bc-infobox th { | ||
text-align: left; | text-align: left; | ||
} | } | ||
.bc | .bc-infobox td { | ||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
} | } | ||
.bc | .bc-infobox caption { | ||
font-size: 130%; | font-size: 130%; | ||
font-weight: bold; | font-weight: bold; | ||
padding: 0. | 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 { | .bc-item-picture { | ||
text-align: center; | text-align: center; | ||
padding-block: 16px; | |||
} | } | ||
.bc | .bc-infobox .bc-item-flavor { | ||
margin: 1em 0 0; | |||
padding: 0; | |||
border: 0; | |||
background: transparent; | |||
color: var(--bc-muted, #54595d); | color: var(--bc-muted, #54595d); | ||
font-style: italic; | |||
font-size: inherit; | |||
} | } | ||
.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) { | ||
| Line 38: | Line 62: | ||
} | } | ||
@media (max-width: 640px) { | @media (max-width: 640px) { | ||
.bc | .bc-infobox { | ||
float: none; | float: none; | ||
width: 100%; | width: 100%; | ||
Latest revision as of 23:28, 5 November 2026
.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;
}
}