Skip to content

Commit 8dd4978

Browse files
zinefernick3621
andauthored
Fix text blocks one more time (#8)
* Stylefix: Use theme colors for code,pre * Fix pre style --------- Co-authored-by: nick3621 <152214851+nick3621@users.noreply.github.com>
1 parent df0fb5a commit 8dd4978

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

static/css/type.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,15 @@ li {
7474
code, pre {
7575
font-family: 'Fira Code', 'Consolas', 'Monaco', monospace;
7676
color: var(--text-color);
77-
background-color: var(--form-input-background-color);
77+
background-color: var(--sidebar-background-color);
7878
padding: 0.2em 0.4em;
7979
border-radius: 3px;
8080
}
8181
pre {
8282
padding: 1em;
8383
overflow: auto;
84+
border: solid 1px var(--brand-color);
85+
border-radius: 8px;
8486
}
8587

8688
/* Blockquotes */

0 commit comments

Comments
 (0)