Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tlrobinson
on April 12, 2012
|
parent
|
context
|
favorite
| on:
Try right clicking GitHub's logo
Can't this be handled with multiple stylesheets?
bkbleikamp
on April 12, 2012
|
next
[–]
We do it so that when people zoom in on the site (using `⌘ + +` on a Mac) the image doesn't become pixelated and ugly.
We do it with most other images, too.
Genmutant
on April 12, 2012
|
parent
|
next
[–]
Well this way it's pixelated and ugly by default. I don't think that's better.
bkbleikamp
on April 12, 2012
|
root
|
parent
|
next
[–]
What browser/OS are you in? It looks pretty reasonable in Chrome on OSX; we spent a decent amount of time trying to get it as close as we could. Some browsers do weird math on resizing.
Genmutant
on April 12, 2012
|
root
|
parent
|
next
[–]
Win7, FF11 (current). You're right, it looks better in Chrome.
sirn
on April 12, 2012
|
prev
[–]
You can even handle it with a
single
stylesheet, i.e. with `min-device-pixel-ratio`.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: