diff options
author | Einar Egilsson <einar@einaregilsson.com> | 2019-12-12 11:55:10 +0000 |
---|---|---|
committer | Einar Egilsson <einar@einaregilsson.com> | 2019-12-12 11:55:10 +0000 |
commit | 30d7570bae57d97e906f5389a1b7e827455a719f (patch) | |
tree | 11c40a8bec95f62dc4740f74b7764f239dede27f /css/help.css | |
parent | 31f1b675bf738f5905bf3f9e7dccf9515a471ec2 (diff) |
Dark theme support
Diffstat (limited to 'css/help.css')
-rw-r--r-- | css/help.css | 31 |
1 files changed, 30 insertions, 1 deletions
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 |