MediaWiki:Common.css
MediaWiki interface page
More actions
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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
.weapon-infobox {
float: right;
clear: right;
width: 320px;
max-width: 42%;
margin: 0 0 1.5rem 1.75rem;
overflow: hidden;
color: var(--color-base, #202122);
background: var(--color-surface-1, #fff);
border: 1px solid var(--border-color-base, #a2a9b1);
border-radius: 12px;
box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}
.weapon-infobox-title {
padding: 0.9rem 1rem;
font-size: 1.25rem;
font-weight: 700;
text-align: center;
background: var(--color-surface-2, #eaecf0);
}
.weapon-infobox-image {
min-height: 120px;
padding: 1rem;
text-align: center;
background: rgba(127, 127, 127, 0.06);
}
.weapon-infobox-image img {
width: auto;
max-width: 100%;
height: auto;
max-height: 260px;
object-fit: contain;
}
.weapon-infobox-heading {
padding: 0.45rem 0.75rem;
font-size: 0.8rem;
font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
background: var(--color-surface-2, #eaecf0);
border-top: 1px solid var(--border-color-base, #a2a9b1);
border-bottom: 1px solid var(--border-color-base, #a2a9b1);
}
.weapon-infobox-row {
display: flex;
gap: 1rem;
justify-content: space-between;
padding: 0.55rem 0.75rem;
border-bottom: 1px solid rgba(127, 127, 127, 0.18);
}
.weapon-infobox-row:last-child {
border-bottom: 0;
}
.weapon-infobox-row span {
color: var(--color-subtle, #54595d);
}
.weapon-infobox-row strong {
text-align: right;
}
.weapon-page-clear {
clear: both;
}
@media screen and (max-width: 720px) {
.weapon-infobox {
float: none;
width: auto;
max-width: none;
margin: 0 0 1.5rem;
}
}