Skip to content

Commit 300bb06

Browse files
committed
add styling for inline code
1 parent e39e49a commit 300bb06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assets/css/main.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ footer p {
170170
margin-bottom: 0;
171171
}
172172

173-
pre {
173+
pre, code {
174174
background: var(--color-bg-secondary);
175175
border: 1px solid var(--color-border);
176176
padding: var(--spacing-sm);
@@ -179,7 +179,7 @@ pre {
179179
word-wrap: break-word;
180180
}
181181

182-
pre ::selection {
182+
pre, code ::selection {
183183
background: var(--color-selection-code-bg);
184184
color: var(--color-text-primary);
185185
}

0 commit comments

Comments
 (0)