MediaWiki:Gadget-scrollUpButton.css

From Dead Cells Wiki
Jump to navigation Jump to search

In other languages: Español • Polski • Русский • Українська


CSS and Javascript changes must comply with the wiki design rules.


Note: After saving, 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)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* Force image to look crispy*/
#scrollUpButton,
#scrollDownButton {
    image-rendering       : optimizeSpeed;             /* Legal fallback */
    image-rendering       : -moz-crisp-edges;          /* Firefox        */
    image-rendering       : -o-crisp-edges;            /* Opera          */
    image-rendering       : -webkit-optimize-contrast; /* Safari         */
    image-rendering       : optimize-contrast;         /* CSS3 Proposed  */
    -ms-interpolation-mode: nearest-neighbor;          /* IE8+           */
    image-rendering       : pixelated;                 /* Chrome         */
}

#scrollUpButton,
#scrollDownButton {
    content: url(/images/f/fa/Golden-arrow.png);
    height: 40px;
    transform: rotate(-90deg);
    right: 2em !important;
}

#scrollDownButton {
    transform: rotate(90deg) !important;
}