update dark mode

This commit is contained in:
nanxiaobei 2020-05-25 00:38:25 +08:00
parent c5dc587885
commit 8f21d3784c

View File

@ -29,22 +29,22 @@
--border: #eee; --border: #eee;
} }
.dark { .dark {
--theme: #1d1d1d; --theme: #2c2c2c;
--entry: #333; --entry: #414141;
--primary: rgba(255, 255, 255, 0.8); --primary: rgba(255, 255, 255, 0.8);
--secondary: rgba(255, 255, 255, 0.56); --secondary: rgba(255, 255, 255, 0.56);
--tertiary: rgba(255, 255, 255, 0.16); --tertiary: rgba(255, 255, 255, 0.16);
--content: rgba(255, 255, 255, 0.64); --content: rgba(255, 255, 255, 0.64);
--hljs-bg: #2a2a2a; --hljs-bg: #383838;
--code-bg: #333; --code-bg: #414141;
--border: #5f5f5f; --border: #5f5f5f;
} }
.list { .list {
background: linear-gradient(135deg, #ddd, #f5f5f5, #d5d5d5); background: linear-gradient(135deg, #ddd, #f5f5f5, #d5d5d5);
} }
.dark.list { .dark.list {
background: linear-gradient(135deg, #1b1b1b, #252525, #000); background: linear-gradient(135deg, #1f1f1f, #2c2c2c, #1a1a1a);
} }
/* Reset /* Reset
-------------------------------------------------- */ -------------------------------------------------- */
@ -485,7 +485,7 @@ img {
font-size: 14px; font-size: 14px;
line-height: 34px; line-height: 34px;
background: var(--code-bg); background: var(--code-bg);
border-radius: 2px; border-radius: 4px;
} }
.post-tags a:hover { .post-tags a:hover {
background: var(--border); background: var(--border);