Created
October 13, 2023 13:43
-
-
Save aclarknexient/c39c83f2f97c3c6b1c307c19e516ed6e to your computer and use it in GitHub Desktop.
ublock origin hackernews dark mode and narrower comment display
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! The following 2 lines are what I use to display news.ycombinator.com | |
! Limit comments to 70 characters wide, making them easier to read | |
news.ycombinator.com##.comment:style(max-width: 70ch !important; overflow: hidden !important;) | |
! Invert the colours of the site, making a dark mode that I like | |
! `invert(95%)` does most of the work, | |
! but you can tweak the hue-rotate value to fine tune the colours | |
news.ycombinator.com##html:style(filter:invert(95%) hue-rotate(200deg); background: white) |
This is great! Thanks!
@alabhyajindal You are most welcome, I really like being able to help people out :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Screenshots: