Jump to content

MediaWiki:Common.css

From Flerf Wiki
Revision as of 13:13, 4 May 2026 by ICSpin (talk | contribs) (Switch from CSS blur to true pixelation via downscale + pixelated image-rendering)

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.
.spoiler-img {
    display: table;
    overflow: hidden;
}
.spoiler-img img {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    transform: scale(0.05);
    transform-origin: top left;
    width: 2000% !important;
    height: 2000% !important;
    transition: transform 0.3s, width 0.3s, height 0.3s;
    cursor: pointer;
}
.spoiler-img.revealed img {
    transform: scale(1);
    width: auto !important;
    height: auto !important;
}