Merge pull request #548 from danielpunkass/dark-mode-code-styles

Differentiate the color for code and pre blocks.
This commit is contained in:
Brent Simmons 2019-02-15 07:50:49 -08:00 committed by GitHub
commit 193c34b9c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -51,6 +51,10 @@ body.light .articleDateline, body.light .articleDateLine.a:link, body.light .art
color: rgba(0, 0, 0, 0.3);
}
body.light code, body.light pre {
color: #666;
}
.light > .systemMessage {
color: #cbcbcb;
}
@ -81,6 +85,10 @@ body.dark .articleDateline, body.dark .articleDateLine.a:link, body.dark .articl
color: #d2d2d2;
}
body.dark code, body.dark pre {
color: #b2b2b2;
}
.dark > .systemMessage {
color: #5f5f5f;
}
@ -120,7 +128,6 @@ h1 {
code, pre {
font-family: "SF Mono", Menlo, "Courier New", Courier, monospace;
font-size: 14px;
color: #666;
}
pre {
white-space: pre-wrap;