1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
/**
* https://submelon.dev/external/news.ycombinator.com.css
* CSS Override script for https://news.ycombinator.com/
*
* I am not sure where I got these specific styles from or how much I tweaked them.
* Provides system/"auto" dark theme and keeps the default light theme when applicable.
*
* You can use a browser extension like "Custom Style Script" to link this stylesheet.
*/
@media (prefers-color-scheme: dark) {
body {
background-color: #262626 !important;
}
body > center > table,
input,
textarea {
background-color: #222 !important;
}
body > center > table > tbody > tr:first-child > td {
background-color: #ff6600 !important;
}
/* Bright text */
td.title a:link,
span.comment font,
span.comment font a:link,
u a:link,
span.yclinks a:link,
body:not([id]),
td:nth-child(2):not(.subtext) > a:link,
input,
textarea,
p > a,
a > u,
.c00,
.c00 a:link,
a[href="http://www.ycombinator.com/apply/"],
a[href="https://www.ycombinator.com/apply/"]
{
color: #ccc !important;
}
.admin td {
color: #aaa !important;
}
/* search box and comment box */
input,
textarea {
border: 1px solid #828282 !important;
}
}
|