Skip to content

Commit

Permalink
fix(css): make code related backgound-color consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
reuixiy committed Apr 10, 2021
1 parent 37d8a68 commit 32224aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/scss/layout/_single.scss
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ dd {

code {
padding: ($fontSize / 8) ($fontSize / 4);
background-color: var(--color-contrast-lower);
background-color: alpha(var(--color-contrast-lower), 0.5);
font-size: 80%;
}
pre {
Expand All @@ -216,7 +216,7 @@ pre {
margin: 2rem 0;
padding: 1em;
line-height: 1.618;
background-color: alpha(var(--color-contrast-lower), 0.75);
background-color: alpha(var(--color-contrast-lower), 0.5);
code {
background-color: unset;
font-size: 0.8rem;
Expand Down

0 comments on commit 32224aa

Please sign in to comment.