this post was submitted on 15 Jun 2023
196 points (100.0% liked)
Technology
37738 readers
428 users here now
A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.
Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.
Subcommunities on Beehaw:
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Wait, what? You can force any website to comply with your own CSS? How (apart from manual Inspector edits every time)?
Yeah, there are extensions that enable injecting custom CSS. I'm using Stylus in Chrome (switched to that from Stylish about two years ago) and essentially you need to override the native CSS with lots of !important style declarations. Basically like Inspect Element but will load every time once the relevant website(s) is done loading.
If the HTML classes and ids are straightforwards that's fairly easy, like old.reddit for instance. But every time they change the classes you need to go in a manually tweak it. And once a site starts obfuscating their code it's not worth the effort anymore.
But it's possible and for a while I honed my meager CSS skills by doing my own bespoke stylesheets. :)
You can use dark reader and stylus (firefox extensions).
I use stylus to 'correct dark reader' or if i want write own style, or to change few elements on website.
I don't remember how, but in dark reader in settings you can define your colors (background etc.), you can even set font! I use for example nerd font "CodeNewRoman NF" it works.