Skip to content

Commit

Permalink
style: fix code block padding and text color
Browse files Browse the repository at this point in the history
  • Loading branch information
turtton committed Mar 30, 2023
1 parent ae4d156 commit 927788e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,16 @@ a:hover {
}

.markdown-rendered code {
color: var(--text-error);
color: var(--text-normal);
font-family: var(--font-monospace);
background-color: var(--background-modifier-border);
border-radius: 4px;
font-size: 0.85em;
padding: 4px 8px;
padding: 1px 4px;
}

.markdown-rendered code[class*=language-] {
padding: 2px 0;
}

.nav-bar {
Expand Down

0 comments on commit 927788e

Please sign in to comment.