From 04752bd1ca8dd75f3dab05a5985c8e8a5d3c799a Mon Sep 17 00:00:00 2001 From: mischa Date: Sun, 4 Jun 2023 06:24:07 +0000 Subject: [PATCH] adding dark mode --- uptimeatomic | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/uptimeatomic b/uptimeatomic index 4e83631..d219cb4 100755 --- a/uptimeatomic +++ b/uptimeatomic @@ -218,6 +218,12 @@ li { list-style: none; margin-bottom: 2px; padding: 5px; border-bottom: 1px soli .maint { color: #5DADE2; } .small { font-size: 80%; } .status { float: right; } +@media (prefers-color-scheme: dark) { + a, a:link, a:visited { color: #ffe489; } + body, html { background-color: #111111; color: #888888; } + pre { background-color: #111111; color: #aaaaaa; } + .clean { background-color: #111111; color: #aaaaaa; } +}