MediaWiki talk:Hydradark.css

From Enter the Gungeon Wiki
Jump to navigation Jump to search

Image Scaling

This should be added so we can scale up pixel art without it turning blurry.

img { 
  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         */
}

--Exschwasion (talk) 00:33, 5 March 2016 (UTC)

TOC Limiting

/* Limiting table of contents levels */
.toclimit-1 .toclevel-1,
.toclimit-2 .toclevel-2,
.toclimit-3 .toclevel-3,
.toclimit-4 .toclevel-4,
.toclimit-5 .toclevel-5,
.toclimit-6 .toclevel-6,
.toclimit-7 .toclevel-7 { display: none; }

--Exschwasion (talk) 22:18, 6 March 2016 (UTC)

Replace 2MB(!) PNG with optmizied jpg

Hey all, long time lurker of the wiki. I noticed that the background png File:BG.png is two megs in size. That's a large file and makes loading the page difficult for many people, especially those with slower internet connections. After some optimizations I can bring the image down to about 500k. File:BG.jpg I can't edit the CSS directly so I recommend someone with interest and rights to switch the body background rule to use this new image. The same should be done for MediaWiki:Mobile.css as well. Ckoerner (talk) 17:11, 12 July 2018 (UTC)

Done, thanks! --Exschwasion (talk) 19:26, 12 July 2018 (UTC)