Skip to content

Commit 0d19046

Browse files
authored
feat(common.scss): improve code markup
mostly visible on dark-themes
1 parent 5482407 commit 0d19046

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

common/common.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,12 @@
2727
line-height: 1;
2828
border-radius: 2px;
2929
transform: translateY(-3px);
30-
}
30+
}
31+
32+
// improve rendering of "inline code" markup
33+
p > code, li > code, pre {
34+
margin: 0px 2px 0px 2px;
35+
padding: 0px 5px 0px 5px;
36+
background: var(--primary-very-low);
37+
border-radius: 5px;
38+
}

0 commit comments

Comments
 (0)