MediaWiki:Common.css

Revision as of 23:07, 5 December 2024 by Frankly (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 */

/* Target the specific image on its file page in dark mode */
@media (prefers-color-scheme: dark) {
    body.page-File_1111111111111111111_png img {
        filter: invert(1);
        background-color: #000;
    }
}