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

github.com/davidhampgonsalves/hugo-black-and-light-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/styles.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layouts/partials/styles.html b/layouts/partials/styles.html
index 0efc928..b9c175d 100644
--- a/layouts/partials/styles.html
+++ b/layouts/partials/styles.html
@@ -357,4 +357,26 @@
font-size:12px;
}
}
+
+ @media (prefers-color-scheme: dark) {
+ *, #nav h1 a {
+ color: #FDFDFD;
+ }
+
+ body {
+ background: #121212;
+ }
+
+ pre, code {
+ background-color: #262626;
+ }
+
+ #sub-header, time {
+ color: #BABABA;
+ }
+
+ hr {
+ background: #EBEBEB;
+ }
+ }
</style>