Skip to content

Commit

Permalink
Add color for code tag not in pre tag
Browse files Browse the repository at this point in the history
  • Loading branch information
skydread1 committed Dec 19, 2023
1 parent c4665a5 commit 926aba1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion resources/public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,15 @@ p {
}

code {
color: var(--text-primary-color);
}

pre code {
font-size: 1rem;
}

@media (max-width: 1024px) {
code {
pre code {
font-size: 0.8rem;
}
}
Expand Down

0 comments on commit 926aba1

Please sign in to comment.