MediaWiki:Minerva.css
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.
/* All CSS here will be loaded for users of the MinervaNeue skin */
/* Mobile override for infobox */
.infobox-float {
float: none !important;
clear: both !important;
margin: 1em auto !important;
display: block !important;
width: auto !important;
max-width: 90% !important;
top: 0 !important;
position: relative;
}
/* Light mode (default) */
.infobox,
.infobox-table,
.infobox-header,
.infobox-image-container,
.infobox-image,
.infobox-caption,
.infobox-data-row {
background-color: #f8f9fa;
color: #000;
}
.infobox-caption {
color: #000;
}
/* Dark mode overrides */
@media (prefers-color-scheme: dark) {
.infobox,
.infobox-table,
.infobox-header,
.infobox-image-container,
.infobox-image,
.infobox-caption,
.infobox-data-row {
background-color: #1e1e1e !important;
color: #f8f9fa !important;
border-color: #555 !important;
}
.infobox-caption {
color: #ccc !important;
}
.infobox-data-row th,
.infobox-data-row td {
color: #f8f9fa !important;
}
}