made simplier editor, added color coding

This commit is contained in:
Fedor Katurov 2023-04-25 20:01:46 +06:00
parent 601eda17de
commit c1533e9cb9
15 changed files with 287 additions and 43 deletions

View file

@ -25,3 +25,25 @@ ul {
margin: 0.5em 0;
}
}
code {
background: var(--color-code-background);
color: var(--color-code-text);
border-radius: 4px;
padding: 0 5px;
font-family: inherit;
font-size: 0.9em;
}
pre {
background: var(--color-pre-background);
padding: 10px;
border-radius: 4px;
font-size: inherit;
code {
padding: 0;
background: transparent;
color: inherit;
}
}