We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
prefers-color-scheme
1 parent 2e61047 commit c86c3a4Copy full SHA for c86c3a4
datafiles/static/hackage.css
@@ -9,9 +9,26 @@ html {
9
height: 100%;
10
}
11
12
+@media (prefers-color-scheme: dark) {
13
+ body {
14
+ background: #333;
15
+ color: #fefefe;
16
+ }
17
+ pre {
18
+ background-color: black;
19
20
+}
21
+@media (prefers-color-scheme: light) {
22
23
+ background: #fefefe;
24
+ color: #333;
25
26
27
+ background-color: white;
28
29
30
+
31
body {
- background: #fefefe;
- color: #333;
32
text-align: left;
33
min-height: 100vh;
34
position: relative;
@@ -197,7 +214,6 @@ ul.links li a, ul.links li form {
197
214
pre {
198
215
padding: 0.5rem 1rem;
199
216
margin: 1em 0;
200
- background-color: #f7f7f7;
201
217
overflow: auto;
202
218
203
219
0 commit comments