Spaces:
Runtime error
Runtime error
dark mode
#1
by
hysts
HF staff
- opened
app.py
CHANGED
@@ -201,6 +201,54 @@ table {
|
|
201 |
font-size: 7pt;
|
202 |
}
|
203 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
"""
|
205 |
|
206 |
demo = gr.Blocks(css=css)
|
|
|
201 |
font-size: 7pt;
|
202 |
}
|
203 |
}
|
204 |
+
|
205 |
+
/* Dark mode */
|
206 |
+
@media (prefers-color-scheme: dark) {
|
207 |
+
body {
|
208 |
+
background-color: #121212;
|
209 |
+
color: #e0e0e0;
|
210 |
+
}
|
211 |
+
|
212 |
+
a {
|
213 |
+
color: #add8e6;
|
214 |
+
}
|
215 |
+
|
216 |
+
a:visited {
|
217 |
+
color: #9370db;
|
218 |
+
}
|
219 |
+
|
220 |
+
.header-table {
|
221 |
+
background-color: #ff6600;
|
222 |
+
}
|
223 |
+
|
224 |
+
.header-table a {
|
225 |
+
color: black;
|
226 |
+
}
|
227 |
+
|
228 |
+
.itemlist .athing {
|
229 |
+
background-color: #1e1e1e;
|
230 |
+
}
|
231 |
+
|
232 |
+
.rank {
|
233 |
+
color: #b0b0b0;
|
234 |
+
}
|
235 |
+
|
236 |
+
.subtext {
|
237 |
+
color: #b0b0b0;
|
238 |
+
}
|
239 |
+
|
240 |
+
.subtext a {
|
241 |
+
color: #b0b0b0;
|
242 |
+
}
|
243 |
+
|
244 |
+
#refresh-button {
|
245 |
+
color: #e0e0e0;
|
246 |
+
}
|
247 |
+
|
248 |
+
.no-papers {
|
249 |
+
color: #b0b0b0;
|
250 |
+
}
|
251 |
+
}
|
252 |
"""
|
253 |
|
254 |
demo = gr.Blocks(css=css)
|