From 67c27b90520f9190282b15e026efa0e755bc8a30 Mon Sep 17 00:00:00 2001 From: Peng Xiao Date: Fri, 16 Jul 2021 17:41:30 +0800 Subject: [PATCH] fix: #5 update codemirror and page/block properties background color --- src/_miscs.scss | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/_miscs.scss b/src/_miscs.scss index f5f76e5..1276f14 100644 --- a/src/_miscs.scss +++ b/src/_miscs.scss @@ -90,11 +90,11 @@ a.tag:hover { } /* Page properties */ -.page-properties { +.page-properties, .block-properties { margin: 0 0 0.5em 0; padding: 0.2em 0.5em; font-size: 0.8em; - background: var(--ls-tertiary-background-color); + background: var(--ls-secondary-background-color); font-family: var(--ct-code-font-family); display: inline-block; opacity: 0.8; @@ -130,3 +130,11 @@ progress::-webkit-progress-bar { progress::-webkit-progress-value { background: var(--ct-success-color); } + +.cm-s-solarized.cm-s-dark { + background: var(--ls-secondary-background-color) !important; +} + +.cm-s-solarized.cm-s-dark .CodeMirror-gutters { + background: var(--ls-tertiary-background-color) !important; +}