fix source-code background color (#987)

This commit is contained in:
Felix Häusler 2019-04-28 19:20:50 +02:00 committed by Ran Luo
parent bfcad27178
commit 1ab1e853f4
5 changed files with 7 additions and 6 deletions

View File

@ -416,8 +416,9 @@ kbd {
}
:not(pre) > code[class*="language-"],
pre,
pre[class*="language-"] {
pre:not(.CodeMirror-line),
pre[class*="language-"],
pre.ag-paragraph {
overflow: visible;
font-size: 90%;
line-height: 1.6;

View File

@ -57,7 +57,7 @@
}
:not(pre) > code[class*="language-"],
pre,
pre:not(.CodeMirror-line),
pre[class*="language-"],
pre.ag-paragraph {
background: var(--codeBlockBgColor) !important;

View File

@ -49,7 +49,7 @@
/* ------------------------------------ */
:not(pre) > code[class*="language-"],
pre,
pre:not(.CodeMirror-line),
pre[class*="language-"],
pre.ag-paragraph {
background: var(--codeBlockBgColor) !important;

View File

@ -133,7 +133,7 @@
}
:not(pre) > code[class*="language-"],
pre,
pre:not(.CodeMirror-line),
pre[class*="language-"],
pre.ag-paragraph {
background: var(--codeBlockBgColor) !important;

View File

@ -56,7 +56,7 @@ pre.ag-paragraph {
/* Inline Code */
:not(pre) > code[class*="language-"],
pre.ag-paragraph {
background: #282c34;
background: #3a3f4b;
}
/* Inline Code */