summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornanxiaobei <nanxiaobei@gmail.com>2020-05-25 00:38:25 +0800
committernanxiaobei <nanxiaobei@gmail.com>2020-05-25 00:38:25 +0800
commit8f21d3784cd575e8bc178e1ec82dbb045d3cf2b1 (patch)
tree4cc6c69a4af52f1f4ba6a1053377e08bd9a95ccd
parentc5dc5878858b6c75e58c4183a45d97b859247934 (diff)
update dark mode
-rw-r--r--static/style.css12
1 files changed, 6 insertions, 6 deletions
diff --git a/static/style.css b/static/style.css
index 3ddcd1d..0f2406b 100644
--- a/static/style.css
+++ b/static/style.css
@@ -29,22 +29,22 @@
--border: #eee;
}
.dark {
- --theme: #1d1d1d;
- --entry: #333;
+ --theme: #2c2c2c;
+ --entry: #414141;
--primary: rgba(255, 255, 255, 0.8);
--secondary: rgba(255, 255, 255, 0.56);
--tertiary: rgba(255, 255, 255, 0.16);
--content: rgba(255, 255, 255, 0.64);
- --hljs-bg: #2a2a2a;
- --code-bg: #333;
+ --hljs-bg: #383838;
+ --code-bg: #414141;
--border: #5f5f5f;
}
.list {
background: linear-gradient(135deg, #ddd, #f5f5f5, #d5d5d5);
}
.dark.list {
- background: linear-gradient(135deg, #1b1b1b, #252525, #000);
+ background: linear-gradient(135deg, #1f1f1f, #2c2c2c, #1a1a1a);
}
/* Reset
-------------------------------------------------- */
@@ -485,7 +485,7 @@ img {
font-size: 14px;
line-height: 34px;
background: var(--code-bg);
- border-radius: 2px;
+ border-radius: 4px;
}
.post-tags a:hover {
background: var(--border);