All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

CSS Code for Hacker News Dark Mode Using uBlock Origin

By

todotask2

8mo ago· 5 min readen

Summary

A user shares CSS code snippets for implementing dark mode on Hacker News using uBlock Origin filters. The code changes the background to black, text colors to light shades, and link colors to orange tones, providing a quick way to enable dark theme on the website.

Key quotes

· 5 pulled
news.ycombinator.com##body:style(background: black)
news.ycombinator.com##td:style(color: #fafafa !important)
news.ycombinator.com##table:style(background-color: #120F0D)
news.ycombinator.com##a:style(color: #ffa000 !important)
news.ycombinator.com##span#karma:style(color: #faa000 !important)
Snippet from the RSS feed
onelesd 8 minutes ago | [–]

You might also wanna read