client: improved code styles in markdown

This commit is contained in:
Max Leiter 2022-03-22 21:24:11 -07:00
parent 118c06f272
commit 0a724f6f97
No known key found for this signature in database
GPG key ID: A3512F2F2F17EBDA
2 changed files with 2 additions and 10 deletions

View file

@ -87,7 +87,7 @@ a.reset {
pre, pre,
code { code {
font-family: var(--font-mono); font-family: var(--font-mono) !important;
} }
kbd { kbd {

View file

@ -95,17 +95,9 @@ input[type="checkbox"]:focus {
} }
article *:not(pre) > code { article *:not(pre) > code {
font-weight: 600; font-weight: 500;
font-family: var(--font-sans); font-family: var(--font-sans);
font-size: 1rem; font-size: 1rem;
padding: 0 3px;
}
article *:not(pre) > code::before,
article *:not(pre) > code::after {
content: "\`";
color: var(--gray);
user-select: none;
} }
article pre { article pre {