summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--html/style.css19
1 files changed, 19 insertions, 0 deletions
diff --git a/html/style.css b/html/style.css
index e21a94b..1e55997 100644
--- a/html/style.css
+++ b/html/style.css
@@ -51,3 +51,22 @@ td, th {
border: 1px solid black;
padding: 4px;
}
+
+@media (prefers-color-scheme: dark) {
+ body {
+ background: black;
+ color: #999;
+ }
+ table, td, th {
+ border-color: #999;
+ }
+ a {
+ color: #00aa00;
+ }
+ a:visited {
+ color: #007700;
+ }
+ .hljs {
+ filter: invert(100%);
+ }
+}