Skip to content

Instantly share code, notes, and snippets.

@amitmerchant1990
Created November 9, 2016 09:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amitmerchant1990/2e71df999f979a02c5f3f426d24c564e to your computer and use it in GitHub Desktop.
Save amitmerchant1990/2e71df999f979a02c5f3f426d24c564e to your computer and use it in GitHub Desktop.
HackerNews Night Mode
/**
A nifty little CSS to experience HN in night mode using Stylish.
1. Install the Stylish(https://chrome.google.com/webstore/detail/stylish/fjnbnpbmkenffdnngjfgmeleoegfcffe?hl=en) extension for Chrome.
2. Open up extension options and paste the whole CSS mentioned below.
3. Specify the "URLs on the domian to" to be `news.ycombinator.com`.
4. Add a title and save.
*/
body {
font-family: Verdana, Geneva, sans-serif;
font-size: 10pt;
color: #828282;
background-color: #1B2835 !important;
}
table#hnmain{
background-color: #1B2835 !important;
}
a:link {
color: #bfbfbf !important;
text-decoration: none;
}
.c00{
color: #cecece !important;
}
@amitmerchant1990
Copy link
Author

It will look like this:
hn_night_mode
Enjoy! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment