MediaWiki:Common.css
Appearance
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.
/* Main page: no "Main Page" heading */
.page-Main_Page .mw-first-heading { display: none; }
/* Infoboxes ({{Infobox item}}, {{Infobox creature}}) */
.infobox {
float: right; clear: right; width: 260px; margin: 0 0 1em 1.5em;
border: 1px solid var(--border-color-subtle, #c8ccd1);
background: var(--background-color-neutral-subtle, #f8f9fa);
font-size: 0.9em;
}
.infobox-title { padding: .5em .75em; font-weight: 700; font-size: 1.1em; border-bottom: 3px solid #e8571c; }
.infobox-image { text-align: center; padding: .5em; }
.infobox-row { display: grid; grid-template-columns: 90px 1fr; gap: .5em; padding: .35em .75em; border-top: 1px solid var(--border-color-subtle, #eaecf0); }
.infobox-row > span:first-child { font-weight: 600; }
@media (max-width: 720px) { .infobox { float: none; width: auto; margin: 0 0 1em; } }
/* {{Rarity}} */
.rarity { font-weight: 600; }
.rarity-common { color: #72777d; }
.rarity-uncommon { color: #2a8a3a; }
.rarity-rare { color: #2a6fdb; }
.rarity-heroic { color: #b8860b; }
.rarity-epic { color: #8e44c9; }
.rarity-legendary { color: #e8571c; }