Skip to content

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

src/index.css

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ body {
99
body {
1010
font-size: 13px;
1111
font-family: sans-serif;
12+
color: #000;
13+
background: #fff;
1214
}
1315
ul#root {
1416
display: flex;
@@ -94,3 +96,30 @@ p#image-attribution a {
9496
background-repeat: no-repeat;
9597
background-position: center;
9698
}
99+
100+
@media (prefers-color-scheme: dark) {
101+
body {
102+
color: #fff;
103+
background: #333;
104+
}
105+
a#toggle {
106+
color: #fff;
107+
background: rgba(50, 50, 50, 0.85);
108+
}
109+
a#toggle:hover {
110+
background: rgba(50, 50, 50, 0.95);
111+
}
112+
ul#root a {
113+
color: #fff;
114+
}
115+
ul#root a:hover {
116+
background: #333;
117+
}
118+
p#image-attribution {
119+
background: rgba(50, 50, 50, 0.85);
120+
color: #e0e0e0;
121+
}
122+
p#image-attribution a {
123+
color: #e0e0e0;
124+
}
125+
}

0 commit comments

Comments
 (0)