Hacker News new | ask | show | jobs
by cbsks 2453 days ago
Now if only Hacker News would implement it!
6 comments

I wish Hacker News had better mobile CSS in general.
I currently use 'DARK READER' for hacker news and it works quite well using the 'Filter+' theme engine.
I've put an updated version here. This updated version is an UserCSS, which means it can be automatically enabled/disabled based on system Dark Mode setting.

https://raw.githubusercontent.com/kristofferR/userstyles/mas...

Awesome, and I see you fixed the vote button colors.
The problem with browser extensions is that they're a massive security risk.
On some sites I've used it to get a good baseline then export the CSS and modify it from there.
How do you get your browser to even load custom CSS without an extension?
Without an extension, I don’t know an easy way. You could just build your own extensions from scratch and load it there. I used it to style my own sites for dark mode.
In my browser, Preferences > Advanced > Style sheet.
My wife would be very grateful as I read Hacker News in bed every night and it lights the whole room up with all its white pixels.
Install Stylus https://github.com/openstyles/stylus/ (and fall in love with it), then install a style (e.g. https://userstyles.org/styles/97106/ ) or write your own.
Have you tried inverting the colours?
That’s a good idea! On iOS I configured the Accessibility Shortcut to enable Smart Invert when I triple-click the home button, and it looks like it will work perfectly!
@dang Do you think this is something that can be added.
Save this as userscript, or convert to bookmarklet.

    document.body.style.filter = "invert(1)";
    document.body.style.backgroundColor = "#141414";
I use a fine tuned custom stylesheet with Stylus chrome extension.
That actually works amazingly well! Nice!
PLEASE.