(no title)
ronjouch | 1 year ago
@-moz-document domain(news.ycombinator.com) {
@media (prefers-color-scheme: dark) {
body {background-color: #111 !important;}
#hnmain {background-color: #181818 !important;}
.c00, a:link, .subtext a:link { color: #eee !important; }
.comhead { opacity: 0.5 !important; }
a:visited, .subtext a:visited, .pagetop, .reply a { color: #777 !important; }
button, select, input, textarea { -moz-appearance: none !important; color: #eee !important; background-color: #444 !important; border: 0.5px solid gray !important; }
pre, code { color: #9d9 !important; }
}
}
Obvious caveats apply: it’s mine, it’s certainly incomplete, yadayada. But hey, been working for me for years! Also, now that you know that the feature exists, you can probably search "Hacker News dark mode userContent.css" and find better / more complete ones :)Always a pleasure helping tasoeur.
No comments yet.