client: improved code styles in markdown
This commit is contained in:
parent
118c06f272
commit
0a724f6f97
2 changed files with 2 additions and 10 deletions
|
@ -87,7 +87,7 @@ a.reset {
|
||||||
|
|
||||||
pre,
|
pre,
|
||||||
code {
|
code {
|
||||||
font-family: var(--font-mono);
|
font-family: var(--font-mono) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
kbd {
|
kbd {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue