MediaWiki:Common.css

Revision as of 23:05, 5 December 2024 by Frankly (talk | contribs)

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

/* Invert colors for a specific image in dark mode */
@media (prefers-color-scheme: dark) {
    img[src*="File:1111111111111111111.png"] {
        filter: invert(1);
        background-color: #000; /* Optional: prevent light background halo */
    }
}