diff options
author | Tom Hyndman <mdashx@users.noreply.github.com> | 2020-12-10 05:00:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-10 05:00:19 +0300 |
commit | 71192e6a87ccff48d4d1e0ae80144a4636678799 (patch) | |
tree | 60414427535f0d3321b9c0c357e885265e048188 | |
parent | 519bec5704c5f98bef303bd5c723acccb1c72bd1 (diff) | |
parent | 5beefa72aa9b912a405630ded99da718ce5e6f71 (diff) |
Merge pull request #5 from MrMinos/add-dark-theme
Add a simple dark theme based on the user preference
-rw-r--r-- | static/assets/css/style.css | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/static/assets/css/style.css b/static/assets/css/style.css index d2e7fa0..e3ca693 100644 --- a/static/assets/css/style.css +++ b/static/assets/css/style.css @@ -73,6 +73,16 @@ td { margin-bottom: 3px; } +@media (prefers-color-scheme: dark) { + body { + background-color: #282828; + color: #EEEEEE; + } + a { + color: #EEEEEE; + } +} + /* The styles below deal with the default Hugo theme content. */ |