Skip to content

Commit f5acf45

Browse files
committed
fix(theme/paperwhite): apply code block border
1 parent 0e7e169 commit f5acf45

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

quarkdown-html/src/main/resources/render/theme/color/paperwhite.scss

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,20 @@
2121
}
2222

2323
pre code {
24-
background-color: transparent;
25-
padding: 0;
24+
background-color: var(--qd-background-color);
25+
border: 1px solid var(--qd-main-color-muted);
2626
}
2727

28-
&.quarkdown-slides {
29-
blockquote {
30-
box-shadow: none;
28+
&.quarkdown-paged {
29+
pre code {
30+
padding-left: 0;
31+
padding-right: 0;
32+
border: none;
3133
}
34+
}
3235

33-
pre {
36+
&.quarkdown-slides {
37+
blockquote {
3438
box-shadow: none;
3539
}
3640
}

0 commit comments

Comments
 (0)