[whatwg/webidl] [meta] WHATWG CSS makes the spec much less usable (#1031)

Previous webidl was using the Bikeshed default CSS, which, among other things, put the ToC in a persistent left-hand column when the page was wide enough (which it almost always was on desktop screens) and made it accessible via a fixed-position button otherwise. This was incredibly useful for WebIDL in particular, as it's an especially "random-access" spec; typical usage requires bouncing back and forth between headings as you chase a concept down.

Switching to WHATWG styles has meant a severe regression in this aspect - now the ToC lives at the top of the document only. Moving to another heading requires flinging the document *all the way back to the top*; this is annoying enough to desktop, but *incredibly* annoying on mobile.

It also appears to have lost the table styling that centered tables smaller than the visible area, and put a scrollbar on tables larger than it. This is less attractive on desktop, as the tables are now left-aligned, but makes mobile viewing more annoying, as there's now a substantial gutter on the right side that can be easily scrolled into accidentally.

Finally, the loss of darkmode styling is quite unfortunate. I already hate viewing specs on /TR because darkmode isn't allowed there *quite* yet; losing it on Web IDL makes me sad.

(This might belong better on /meta, given <https://github.com/whatwg/meta/issues/117>)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1031

Received on Wednesday, 6 October 2021 04:17:30 UTC