The main CSS file they're using is https://www.w3.org/2008/site/css/minimum. If you download this with `curl 'https://www.w3.org/2008/site/css/minimum' -H 'Accept-Encoding: gzip, deflate, br'`, you see that it starts with 03 D7 86 1F 8B 08 08 and ends with 25 10 91 4D 7B 30 00 00 03. This is a brotli metablock header (03 D7 86: length = 3503 bytes, uncompressed), followed by a gzip header (1F 8B 08 08: signature, compression=deflate, filename present), and ends with a gzip trailer (25 10 91 4D 7B 30 00 00: crc32, size of file) and finally an empty brotli metablock header (03).
So, what's happening is that they're serving gzip files from their server (which is hinted by the "content-location: minimum.css.gz" response header), which are being compressed again using brotli somewhere else (e.g. at a reverse proxy).
My guess is they've been serving their css file direct from disk with no content encoding header, but browsers rolled their eyes and decoded it anyway (do they do that?). But now it's changed to serve behind a reverse proxy which isn't so forgiving and recompresses it with brotli (does it even reduce the size?) and that's too much for the browser to infer implicitly. Fin.
Worth noting: if you're not seeing the Brotli header, it's probably because something (e.g. your browser) is transparently decoding the declared Content-Encoding (which is `br` for Brotli). That'll yield raw gzip data. In this case, your browser or other user agent has already applied Content-Encoding, so they aren't going to do it again.
As always when styling comes up there's always a few people on HN who claim to prefer "no CSS" because they "always" use Lynx, or deeply customize all content on their own from scratch, or are using a 1G flip phone, or care about milliseconds of loading time or they're RMS (oh, wait, stallman.css exists!).
Sure, some idiosyncratic blogs can get away with that css-free "look" (eg https://danluu.com/). The W3? NO? but now I guess so!
As someone with a visual impairment, when I open that website I see someone that wants to put weird internet idealism above not giving me eye strain. This attitude is a bit of oldschool internet culture that I’m glad to see die off.
It's a testament to good structure that the site is legible without its styling.
... legible, not good. If I had to read documentation that looked like that all day I'd consider a career change (or, perhaps, building an infrastructure to improve the legibility of web pages...).
* Focus indicators
* Text block width
* Target Sizes
Apart from that, even if it were there there's some trouble with the markup:
* <abbr> tags missing
* No landmark elements
* bloody tabindex
* repeated same div
* search input has no visible label
* no context-sensitive help or whatnot
Would've been the last thing WWW Inc. has influence over on the web.
And even that has been a joke (of the consider-your-carreer-choices variety) from the beginning, while today it's just annoying holding on for job security.
At least their complaining about being financially dependent on Google and being part of the web standard circus preventing real independent standardization makes for an entertaining read lately [1] if you had any doubt Google are the ones to call the shots.
I like it "better this way" conceptually, in that I like browsing with w3m/lynx/links/eww/etc but the content structure is bad "this way" (ex: scrolling past site nav links too much before I reach actual content; most of the vertical nav should and would be horizontal if this weren't a bug; etc).
[+] [-] nneonneo|3 years ago|reply
So, what's happening is that they're serving gzip files from their server (which is hinted by the "content-location: minimum.css.gz" response header), which are being compressed again using brotli somewhere else (e.g. at a reverse proxy).
[+] [-] infogulch|3 years ago|reply
[+] [-] nneonneo|3 years ago|reply
[+] [-] zekica|3 years ago|reply
[+] [-] justinclift|3 years ago|reply
So, it seems more like it's indicating Brotli compression, but the actual file (https://www.w3.org/2008/site/js/main) is gz encoded.
[+] [-] brabel|3 years ago|reply
Seems to be missing the Content-Encoding header?!
[+] [-] unknown|3 years ago|reply
[deleted]
[+] [-] mxfh|3 years ago|reply
[+] [-] unknown|3 years ago|reply
[deleted]
[+] [-] bl4ckm0r3|3 years ago|reply
[+] [-] x98asfd|3 years ago|reply
[+] [-] ghusto|3 years ago|reply
[+] [-] icepat|3 years ago|reply
[+] [-] zoobab|3 years ago|reply
[+] [-] crispyambulance|3 years ago|reply
Sure, some idiosyncratic blogs can get away with that css-free "look" (eg https://danluu.com/). The W3? NO? but now I guess so!
[+] [-] iLoveOncall|3 years ago|reply
Not even. The articles there are incredibly compact blocks of text that are way too wide to be comfortable for reading.
Minimal CSS is an absolute requirement if you want a website that is pleasant to read.
[+] [-] jefftk|3 years ago|reply
[+] [-] KyeRussell|3 years ago|reply
[+] [-] internetter|3 years ago|reply
[0] https://css-naked-day.github.io/
[+] [-] eu|3 years ago|reply
[+] [-] shadowgovt|3 years ago|reply
... legible, not good. If I had to read documentation that looked like that all day I'd consider a career change (or, perhaps, building an infrastructure to improve the legibility of web pages...).
[+] [-] internetter|3 years ago|reply
[0] https://css-naked-day.github.io/
[+] [-] robinhood|3 years ago|reply
https://imgur.com/a/AauqekH
[+] [-] internetter|3 years ago|reply
https://web.archive.org/web/20230125115413/https://www.w3.or...
[+] [-] iLoveOncall|3 years ago|reply
[+] [-] kaptainscarlet|3 years ago|reply
[+] [-] quink|3 years ago|reply
[+] [-] j-bos|3 years ago|reply
[+] [-] gamache|3 years ago|reply
[+] [-] artemonster|3 years ago|reply
[+] [-] tannhaeuser|3 years ago|reply
Would've been the last thing WWW Inc. has influence over on the web.
And even that has been a joke (of the consider-your-carreer-choices variety) from the beginning, while today it's just annoying holding on for job security.
At least their complaining about being financially dependent on Google and being part of the web standard circus preventing real independent standardization makes for an entertaining read lately [1] if you had any doubt Google are the ones to call the shots.
[1]: https://mastodon.social/@robin/109524929231432913
[+] [-] mirekrusin|3 years ago|reply
[+] [-] tinsmith|3 years ago|reply
[+] [-] brettermeier|3 years ago|reply
[+] [-] ergonaught|3 years ago|reply
[+] [-] pictur|3 years ago|reply
[+] [-] x98asfd|3 years ago|reply
[+] [-] dredmorbius|3 years ago|reply
Firefox users (desktop) can see the unstyled site by selecting View -> Page Style -> Unstyled.
And yes, it is pleasantly readable even without CSS. Not ideal, but good.
[+] [-] noisy_boy|3 years ago|reply
[+] [-] forgotpwd16|3 years ago|reply
[+] [-] itaibo|3 years ago|reply
[+] [-] makach|3 years ago|reply
[+] [-] noisy_boy|3 years ago|reply
[+] [-] unknown|3 years ago|reply
[deleted]