MediaWiki:Common.css

From 3DO World
Revision as of 11:57, 29 January 2026 by Elliogle (talk | contribs)
Jump to navigation Jump to search

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.
.mw-parser-output .coverThumb {
    display: inline-block;
    position: relative;
}

.mw-parser-output .coverThumb img.mw-file-element {
    transition: transform 0.15s ease;
    transform-origin: top left;   /* or center center if you prefer centered growth */
    will-change: transform;
    backface-visibility: hidden;
    /* Optional base sharpness */
    image-rendering: crisp-edges;
}

.mw-parser-output .coverThumb:hover img.mw-file-element {
    transform: scale(3.5);
    z-index: 9999;
    background: #fff;
    border: 1px solid #aaa;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    pointer-events: none;

    /* Anti-blur magic */
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}