4 ms·
There is no css being loaded on http://thin.npr.org http://thin.npr.org, just the default browser styling for html elements.
by anonfunction 9y ago
There is no css being loaded on http://thin.npr.org http://thin.npr.org, just the default browser styling for html elements.
- ComputerGuru 9y agoOh I know. I'm lamenting the fact that default browser sheets suck (any sane developer/designer is going to import a CSS reset as the first step, so there's no reason to make the default look so ugly). Of course, depending on the reasons behind the existence of thin.npr.org in the first place, NPR could add something really simple that doesn't add more than a few bytes and make it look several orders of magnitude more palatable.
- davesque 9y agoI like that it's just user agent styling. I think that was what they were going for. Also, you can change the user agent stylesheet if you want.
- tylorr 9y agoDoes this work on Chrome? I found some old articles but none of the instructions work for letting me change the user agent stylesheet in Chrome.
- vacri 9y agoYou complain of 'ugly', but your 'beautified' version is harder to read, and I have normal vision and am using a big screen. It's a typical example of "designing for me", not "designing for everyone". Screw the CSS, let the thin page stand as a thin page.
- alphaalpha101 9y agoWhat's wrong with 'designing for me' when it's his own stylesheet for the page?
- vacri 9y agoBecause he's wanting the source to implement it server-side, for everyone. No-one would give a rat's arse if he was designing it for his own consumption and leaving the source alone.
- ComputerGuru 9y agoI don’t know. All the objective literature I’ve read to date (sorry on a phone right now) has been to avoid harsh contrast, increase line spacing, avoid extreme contrast, and set a cap on max width. Just because you have a big screen (I wrote it on a 30” 4K monitor myself) doesn’t mean it’s wise to extend the content from Edge to Edge (not that this content is long enough to do that).
- Moru 9y agoSome people need the whole size of the screen to be able to read. If you put a hard limit on the width, they will be very unhappy when they blow up the font-size to 200... But I doubt this works on any modern homepage anyway. Was a long time since I met these users last time. At that time there was still Netscape.
- pault 9y agoIf you want to accommodate people with impaired vision who use large font size, define your content width in ems. I believe 90 characters per line is recommended but that's off the top of my head and I could be wrong.
- tripzilch 9y agoI haven't seen anyone advocate to avoid "harsh" contrasts. Just people complaining about how it makes stuff harder to read. Which it does.
- deleted 9y ago[deleted]
- ezequiel-garzon 9y agoActually, the viewport meta tag is (being made) CSS [1], and it’s way beyond me why unstyled HTML is rendered unreadably small on mobile devices without it (and without any fixed layout to speak of)... [1] https://www.w3.org/TR/css-device-adapt-1/ https://www.w3.org/TR/css-device-adapt-1/
- rmrfrmrf 9y ago> it’s way beyond me why unstyled HTML is rendered unreadably small on mobile devices without it Because browsers that did that would be both breaking spec compliance and introducing vendor-specific rendering, two things that IE proved were very very bad.
- ComputerGuru 9y agoEvery browser in use today has a default stylesheet that injects styles into every site (if not explicitly overriden). Even for sites that have their own stylesheets. It's just that a) they're really ugly, and b) the mobile ones are ironically not mobile optimized.
- rmrfrmrf 9y agoThey’re not necessarily overridden. Percentages and ems are units that are derived relative to their inherited style. If you make your browser default have a base font of 24px instead of 14px and someone back in 2010 made their site css defined as html { font-size: 2em; } Then your site’s 28px default font size that worked just fine on every browser now becomes 48px on mobile and breaks everything.
- ComputerGuru 9y agoThat’s actually the original purpose behind the relative sizing, so people could choose a base text size that best suited them.
- 9y ago
- d0ugie 9y agoGoogle's Pagespeed gods approve! https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fthin.npr.org https://developers.google.com/speed/pagespeed/insights/?url=...