Skip to content

Commit

Permalink
fix bg color in code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
craigbox committed Dec 4, 2024
1 parent dba64e9 commit 53b6be8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions assets/sass/misc/_code-blocks.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
code {
color: $textCodeColor;
background-color: $textCodeBackgroundColor;
padding: .2em .4em;
font-size: 85%;
font-weight: $textCodeWeight;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
word-break: break-word;
background: $textCodeBackgroundColor;
padding: .2em .4em;
}

pre {
Expand Down Expand Up @@ -33,6 +33,7 @@ pre {
color: $textColor;
font-size: 100%;
line-height: 1.3rem;
background: $preBlockBackgroundColor;

a {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
Expand Down

0 comments on commit 53b6be8

Please sign in to comment.