2 ms·
HN has chosen to use very small fonts; I also leave it a bit zoomed in. Specifically, they have: .comment { font-size: 9pt; } .commhead {
by jefftk 6y ago
HN has chosen to use very small fonts; I also leave it a bit zoomed in.
Specifically, they have:
.comment {
font-size: 9pt;
}
.commhead {
font-size: 8pt;
}
If I turn off all the site's font-size overrides, I no longer need to zoom in.
- ryandrake 6y agoPersonally, I'm not a fan of having a web site designer thousands of miles away from me just decide what font and text size I should be using to read their web site. Why not let the browser more easily control/override this? We already have PDF if your content truly needs pixel-perfect layout. Browsers have kind of dropped the ball. They're limiting user choice and slowly turning into desktop publishing platforms rather than being agents of the user.
- int_19h 6y agoMost browsers have a "minimum font size" setting, which would be applicable here. In general, CSS already provides a bunch of generic font families and sizes. So a page could style something as e.g. "sans-serif" and "large" - and then the browser should figure out what this actually means according to user settings. The problem is that very few sites actually use these. But for those that do, the browsers do the right thing - and, again, most of them let you configure what the generic font families map to.
- peheje 6y agoBoth Chrome and Safari has accessibility features to set a minimum font size in their settings page. I can't see how it could be easier.
- joveian 6y agoIt could be easier in Firefox where it applies per language, with no "just set everything" option (at least Latin and Other are needed for english). I highly recommend using it, although it does break sites occasionally (seems like less often these days).
- deleted 6y ago[deleted]
- vaduz 6y agoAnd it would have been avoided entirely if HN simply used relative font measures (em/rem) and allowed the user just set the damn base font size in the browser settings.