Created
May 16, 2020 12:59
-
-
Save deleerium/ca6ddeed5dc07a81f764a83ecd2205d8 to your computer and use it in GitHub Desktop.
Hacker News - Dark Mode
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
@media (prefers-color-scheme: dark) { | |
body { background-color: #232834; } | |
#hnmain { background-color: #1F2430; } | |
a:link.storylink, | |
#hnmain > tbody > tr:first-child > td a, | |
.commtext, .commtext a:link { | |
color: #fafafa; | |
} | |
input[type=text], | |
textarea { | |
background-color: #333a4a; | |
color: #fafafa; | |
border: 1px solid #1F2430; | |
} | |
#hnmain > tbody > tr:first-child > td { background-color: #333a4a; } | |
a:link, | |
.hnmore a:link, | |
.comhead, .comhead a:link, | |
.sitebit, .sitestr, | |
.subtext, .subtext a:link, .subtext a:visited, | |
td { | |
color: #b8c1d7; | |
} | |
a:visited { color: #828ca2; } | |
.pagetop { color: #99a4bd; } | |
.votearrow { | |
overflow: visible; | |
position: relative; | |
} | |
.votearrow::before { | |
content: ""; | |
width: 0; | |
height: 0; | |
left: 1px; | |
top: 3px; | |
display: block; | |
position: absolute; | |
border-left: 4px solid transparent; | |
border-right: 4px solid transparent; | |
border-bottom: 7px solid #bebfd1; | |
} | |
.c5a, .c5a a:link, .c5a a:visited { color:#99A3BD; } | |
.c73, .c73 a:link, .c73 a:visited { color:#8996B3; } | |
.c82, .c82 a:link, .c82 a:visited { color:#7D8AAB; } | |
.c88, .c88 a:link, .c88 a:visited { color:#6D7DA1; } | |
.c9c, .c9c a:link, .c9c a:visited { color:#607095; } | |
.cae, .cae a:link, .cae a:visited { color:#4E5B79; } | |
.cbe, .cbe a:link, .cbe a:visited { color:#485470; } | |
.cce, .cce a:link, .cce a:visited { color:#404A63; } | |
.cdd, .cdd a:link, .cdd a:visited { color:#3A435A; } | |
} |
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
@media (prefers-color-scheme: dark) { | |
body { background-color: #131313; } | |
#hnmain { background-color: #20201f; } | |
#hnmain > tbody > tr:first-child > td a { color: #eaeaea; } | |
a:link.storylink, | |
.commtext, .commtext a:link { | |
color: #cccccc; | |
} | |
input[type=text], | |
textarea { | |
background-color: #131313; | |
color: #cccccc; | |
border: 1px solid #111111; | |
} | |
#hnmain > tbody > tr:first-child > td { background-color: #593a2a; } | |
a:link, | |
.hnmore a:link, | |
.comhead a:link, | |
.subtext, .subtext a:link, .subtext a:visited, | |
td { | |
color: #8a8a8a; | |
} | |
a:visited { color: #8f8f8f; } | |
.pagetop { color: #b98a72; } | |
.votearrow { | |
overflow: visible; | |
position: relative; | |
} | |
.votearrow::before { | |
content: ""; | |
width: 0; | |
height: 0; | |
left: 1px; | |
top: 3px; | |
display: block; | |
position: absolute; | |
border-left: 4px solid transparent; | |
border-right: 4px solid transparent; | |
border-bottom: 7px solid #8a8a8a; | |
} | |
.c5a, .c5a a:link, .c5a a:visited { color:#878787; } | |
.c73, .c73 a:link, .c73 a:visited { color:#6B6B6B; } | |
.c82, .c82 a:link, .c82 a:visited { color:#636363; } | |
.c88, .c88 a:link, .c88 a:visited { color:#5C5C5C; } | |
.c9c, .c9c a:link, .c9c a:visited { color:#545454; } | |
.cae, .cae a:link, .cae a:visited { color:#4D4D4D; } | |
.cbe, .cbe a:link, .cbe a:visited { color:#454545; } | |
.cce, .cce a:link, .cce a:visited { color:#3B3B3B; } | |
.cdd, .cdd a:link, .cdd a:visited { color:#313131; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment