MediaWiki:Mobile.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.
/* Keep transparent Wolfire artwork readable in mobile dark mode.
* Mirrors MediaWiki:Common.css for Minerva/MobileFrontend pages.
*/
html.skin-theme-clientpref-night .mw-parser-output img.mw-file-element {
background-color: #fff !important;
}
@media screen and ( prefers-color-scheme: dark ) {
html.skin-theme-clientpref-os .mw-parser-output img.mw-file-element {
background-color: #fff !important;
}
}
html.skin-theme-clientpref-night .mw-parser-output .wolfire-no-dark-backplate img.mw-file-element {
background-color: transparent !important;
}
@media screen and ( prefers-color-scheme: dark ) {
html.skin-theme-clientpref-os .mw-parser-output .wolfire-no-dark-backplate img.mw-file-element {
background-color: transparent !important;
}
}