Skip to content

Commit

Permalink
fix(ui): add border to code block (light mode) to better distinguish
Browse files Browse the repository at this point in the history
  • Loading branch information
TrebledJ committed Sep 8, 2024
1 parent e335c42 commit a3d29c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/css/prism/theme/prism.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ html[data-theme=light] pre[class*="language-"] {
hyphens: none;
}

html[data-theme=light] pre[class*="language-"] {
border: 1px solid var(--border-color);
}

html[data-theme=light] pre[class*="language-"]::-moz-selection, html[data-theme=light] pre[class*="language-"] ::-moz-selection,
html[data-theme=light] code[class*="language-"]::-moz-selection, html[data-theme=light] code[class*="language-"] ::-moz-selection {
text-shadow: none;
Expand Down

0 comments on commit a3d29c7

Please sign in to comment.