1
0
Fork 0

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;
}
.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);