Skip to content

Commit

Permalink
feat: improve inline code blocks inside links
Browse files Browse the repository at this point in the history
  • Loading branch information
HEIGE-PCloud committed May 17, 2024
1 parent 2af9041 commit ac2cca9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions assets/css/_partial/_single/_code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ code:not(.chroma) {
color: var(--global-font-color);
}

a > code:not(.chroma) {
/* Inline code blocks inside links */
color: var(--single-link-color);
}


.highlight,
.gist {
Expand Down

0 comments on commit ac2cca9

Please sign in to comment.