Skip to content

Commit 30f9912

Browse files
committed
chore(style): code font size & background
1 parent b9db10e commit 30f9912

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

assets/style.css

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,24 @@ p:has(+ pre) {
2121
margin-bottom: 0;
2222
}
2323

24-
p + pre {
25-
margin-top: 5px;
26-
}
27-
2824
pre {
2925
overflow: auto;
30-
border-top: 1px solid var(--border);
31-
border-bottom: 1px solid var(--border);
32-
padding: 4px 0;
26+
padding: 4px 5px;
27+
background: #8888880A;
28+
}
29+
30+
pre:has(+pre){
31+
margin-bottom: 10px;
3332
}
3433

3534
pre code {
3635
tab-size: 4;
3736
-moz-tab-size: 4;
3837
}
38+
3939
code {
40-
font-variant-ligatures: none;
41-
font-feature-settings: "liga" 0;
42-
font-family: "JetBrains Mono", monospace;
40+
font-family: monospace;
41+
font-size: smaller;
4342
}
4443

4544
.center {

0 commit comments

Comments
 (0)