Skip to content

Commit

Permalink
fix: pengx17#5 update codemirror and page/block properties background…
Browse files Browse the repository at this point in the history
… color
  • Loading branch information
pengx17 committed Jul 16, 2021
1 parent 148e8e8 commit 67c27b9
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/_miscs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}

0 comments on commit 67c27b9

Please sign in to comment.