Merge pull request #118 from Mitrichius/fix-code-tag-style

Add bg/fg color to code html tag #117
This commit is contained in:
Dmitry Kolosov 2021-11-16 09:53:21 +03:00 committed by GitHub
commit eda07c11d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,8 +143,6 @@ th, td {
/* Code */
pre {
color: var(--pre-color);
background-color: var(--pre-bg-color);
padding: 1em;
max-width: 100%;
overflow: auto;
@ -153,6 +151,8 @@ pre {
code,
pre,
kbd {
color: var(--pre-color);
background-color: var(--pre-bg-color);
font-family: monospace;
font-size: 0.90em;
line-height: 154%;