Skip to content

Commit 8226f64

Browse files
authored
Merge pull request #511 from herzenschein/contrast-fix
Fix contrast issue in code blocks on light mode
2 parents 67b8b0a + 2659ba1 commit 8226f64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assets/scss/_main.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ em, i, strong {
210210
}
211211
}
212212

213-
code {
213+
> code {
214214
font-family: Consolas, Monaco, Andale Mono, Ubuntu Mono, monospace;
215215
font-display: auto;
216216
font-feature-settings: normal;
@@ -257,7 +257,7 @@ pre {
257257
word-wrap: break-word;
258258
}
259259

260-
code {
260+
> .code {
261261
background: none !important;
262262
margin: 0;
263263
padding: 0;

0 commit comments

Comments
 (0)