[openstreetmap-website] retina compatible icons (#850)

Holger Jeromin notifications at github.com
Wed Dec 3 17:11:28 UTC 2014


The sprite thing could perhaps be solved with this additional code 

    @media
    -webkit-min-device-pixel-ratio: 2,
       min--moz-device-pixel-ratio: 2,
         -o-min-device-pixel-ratio: 2/1,
            min-device-pixel-ratio: 2,
                    min-resolution: 150dpi,
                    min-resolution: 2dppx{
      .icon {
        background:transparent image-url("sprite.svg") no-repeat 0 0;
      }
    }

And hope that the browsers announcing this properties are able to render svg background bugfree :-)

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/850#issuecomment-65448253
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20141203/f05dce3d/attachment-0001.html>


More information about the rails-dev mailing list