Skip to content

Commit 43d8f41

Browse files
authored
Merge pull request #4571 from Blargian/adjust_backtick_styling
Styling: adjust inline code block styling for light-mode
2 parents dcfedc3 + 81b0529 commit 43d8f41

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/css/custom.scss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,15 +278,20 @@ html[data-theme='dark'] pre,
278278
html[data-theme='dark'] pre code,
279279
html[data-theme='dark'] code {
280280
background: none !important;
281-
background-color: #282828 !important;
281+
background-color: #323131 !important;
282282
box-shadow: none !important;
283283
filter: none !important;
284284
border: none !important;
285+
font-weight: normal;
286+
border-radius: 3px !important;
285287
}
286288

287289
html[data-theme='light'] code {
288-
background-color: #f5f5f5 !important;
290+
font-weight: normal;
291+
background-color: #f6f5f5 !important;
289292
color: #000 !important;
293+
border: none !important;
294+
border-radius: 3px !important;
290295
}
291296

292297
/* === Block code (pre) === */

0 commit comments

Comments
 (0)