Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mdashx/basicwebtheme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hyndman <mdashx@users.noreply.github.com>2020-12-10 05:00:19 +0300
committerGitHub <noreply@github.com>2020-12-10 05:00:19 +0300
commit71192e6a87ccff48d4d1e0ae80144a4636678799 (patch)
tree60414427535f0d3321b9c0c357e885265e048188
parent519bec5704c5f98bef303bd5c723acccb1c72bd1 (diff)
parent5beefa72aa9b912a405630ded99da718ce5e6f71 (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.css10
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. */