summaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils.c b/utils.c
index 0d02659..58d34c6 100644
--- a/utils.c
+++ b/utils.c
@@ -62,6 +62,11 @@ static const char *default_css =
".snac-btn-unlimit { float: right; margin-left: 0.5em }\n"
".snac-footer { margin-top: 2em; font-size: 75% }\n"
".snac-poll-result { margin-left: auto; margin-right: auto; }\n"
+ "@media (prefers-color-scheme: dark) { \n"
+ " body { background-color: #000; color: #fff; }\n"
+ " a { color: #7799dd }\n"
+ " a:visited { color: #aa99dd }\n"
+ "}\n"
;
const char *snac_blurb =