From 30d7570bae57d97e906f5389a1b7e827455a719f Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Thu, 12 Dec 2019 11:55:10 +0000 Subject: Dark theme support --- css/help.css | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to 'css/help.css') diff --git a/css/help.css b/css/help.css index 1658291..e104f93 100644 --- a/css/help.css +++ b/css/help.css @@ -74,4 +74,33 @@ table { padding-right:2px; border-radius:3px; background: #eee; -} \ No newline at end of file +} + +/* Dark mode support */ + +@media (prefers-color-scheme: dark) { + + html { + background: rgb(32,33,36); + } + body { + background: rgb(42,43,46); + color: #ddd; + border: solid 1px #888; + } + th { + color: white; + font-weight: normal; + } + a, a:visited, a:hover { + color: rgb(138,179,241); + } + + h1, h2, h3, h4, strong { + color: white; + } + + tr .pattern { + color: rgb(53,180,75); + } + } \ No newline at end of file -- cgit v1.2.3