4 ms·
Is there a way to override the CSS (on Chromium)? The body font and weight, Source Code Pro is far too thin and far too wide and gives me a headache (and has re
by delta_p_delta_x 2y ago
Is there a way to override the CSS (on Chromium)? The body font and weight, Source Code Pro is far too thin and far too wide and gives me a headache (and has regularly turned me off AoC). I'd like to change it to `sans-serif`.
- delta_p_delta_x 2y agoSelf-response: Stylus is useful here[1]. There is a list of already more readable styles than the default that the community has prepared. [1]: https://github.com/openstyles/stylus https://github.com/openstyles/stylus
- 9029 2y agoI have used Stylus for CSS tweaks: https://addons.mozilla.org/firefox/addon/styl-us/ https://addons.mozilla.org/firefox/addon/styl-us/
- riffraff 2y agoOn thing you can do is fetch the html and extract the main content to display it in your favorite way, it's been stable for years, and you can use the (stable) session_id cookie, it's how many people approach the challenge.
- GCUMstlyHarmls 2y agoYou can hit the "Reader" button on Firefox (ctrl-alt-r), I think Chrome also has that? Or an extension that does the same thing would probably work. Bit simpler than writing an override or fetching the HTML.
- babo 2y agoThere are CLI tools to fetch and submit solutions. At least one of them allows you to download the puzzle description as markup: https://github.com/scarvalhojr/aoc-cli https://github.com/scarvalhojr/aoc-cli
- deleted 2y ago[deleted]
- mcintyre1994 2y agoI'd just create a bookmarklet or run JS in devtools: `document.body.style.fontFamily = "sans-serif";` etc