fix the styling for 'code' entities
This commit is contained in:
parent
f38e8536de
commit
a9f020f4ed
1 changed files with 3 additions and 2 deletions
|
@ -1,9 +1,10 @@
|
|||
|
||||
code {
|
||||
background-color: var(--bg-1);
|
||||
padding: 0.1em 0.2em;
|
||||
padding: 0.1em 0.1em 0em 0.1em;
|
||||
border-radius: 5px;
|
||||
border: 1px solid var(--border-color);
|
||||
border-style: solid solid none solid;
|
||||
}
|
||||
|
||||
pre {
|
||||
|
@ -110,4 +111,4 @@ pre code[class*="language-rs"]::before {
|
|||
content: "rust";
|
||||
background: #fff8f6;
|
||||
color: #ff4647;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue