feat(article content): improve code tag style

This commit is contained in:
Jimmy Cai
2020-08-25 23:18:40 +02:00
parent 9cb3115914
commit f5e0b098c1
2 changed files with 10 additions and 6 deletions
+6
View File
@@ -68,6 +68,9 @@ $on-desktop-large: 1920px;
--pre-background: #272822;
--pre-text-color: #f8f8f2;
--code-background-color: rgba(0, 0, 0, 0.12);
--code-text-color: #808080;
}
@media (prefers-color-scheme: dark) {
@@ -85,5 +88,8 @@ $on-desktop-large: 1920px;
--card-separator-color: rgba(255, 255, 255, 0.12);
--body-text-color: rgba(255, 255, 255, 0.7);
--code-background-color: #272822;
--code-text-color: rgba(255, 255, 255, 0.9);
}
}