Skip to content

Commit

Permalink
add css for inline code
Browse files Browse the repository at this point in the history
  • Loading branch information
probablyjassin committed Nov 27, 2024
1 parent 72219f2 commit c58688a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,10 @@ ol {
list-style-type: none;
}

code:not(pre code) {
@apply bg-[var(--background-200)] text-[var(--text-800)] px-1.5 py-0.5 rounded text-sm font-mono;
}

pre:has(code) {
max-width: 100vw;
overflow: scroll;
Expand Down

0 comments on commit c58688a

Please sign in to comment.