From 8f21d3784cd575e8bc178e1ec82dbb045d3cf2b1 Mon Sep 17 00:00:00 2001 From: nanxiaobei Date: Mon, 25 May 2020 00:38:25 +0800 Subject: [PATCH] update dark mode --- static/style.css | 12 ++++++------ 1 file 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);