Code: Enhance style

This commit is contained in:
Lucas Larroche 2021-10-23 18:27:19 +07:00
parent b831907b58
commit d64bb2343d
7 changed files with 15 additions and 23 deletions

View file

@ -1532,20 +1532,17 @@ pre {
pre,
code,
kbd {
background: var(--code-background-color);
color: var(--code-color);
font-weight: var(--font-weight);
line-height: initial;
}
code {
background: var(--code-background-color);
border-radius: var(--border-radius);
}
code,
kbd {
display: inline-block;
padding: 0.375rem 0.5rem;
border-radius: var(--border-radius);
}
pre {
@ -1554,6 +1551,7 @@ pre {
overflow-x: auto;
}
pre > code {
background: transparent;
display: block;
padding: var(--spacing);
font-size: 14px;