Re:Ask HN: Mobile site
by nether on Sunday March 15, 2015 @10:02AM
(#9206503)
No, I vastly prefer the mobile site on my phone.
[ Parent
| on HN ]
+1, zooming all the time was getting tiresome. It could use a few small tweaks in font sizing and margins, but its vastly improved.
I agree it's moving in the right direction. Zooming out and using landscape gets annoying.
Please, on #hnmain:
width: 100%; // Fixes white borders (browser default table width is normally something like 85%)
max-width: 750px; // Keeps columns from getting overly wide on desktopI usually specify my max-widths in em (empirically found the sweet spot at about 40-60em).
I do it because I think it maps better to text widths, which is what you ultimately want to prevent getting overly wide. It also handles different font sizes fine, making the site still accessible for people with big system-wide fonts.
I'd like to know, is there a downside to em or a reason to use px instead?
Hrm, that's an interesting concept I hadn't heard of before. I use px because that's what Chrome's responsive view uses, and because that's what viewport uses. I think 'big text' is generally going out of fashion in favour of proper zoom (though we should really get some numbers on that).