add bg/fg color to code html tag #117
This commit is contained in:
parent
ee6c3e71e5
commit
974067ac30
@ -143,8 +143,6 @@ th, td {
|
|||||||
|
|
||||||
/* Code */
|
/* Code */
|
||||||
pre {
|
pre {
|
||||||
color: var(--pre-color);
|
|
||||||
background-color: var(--pre-bg-color);
|
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
@ -153,6 +151,8 @@ pre {
|
|||||||
code,
|
code,
|
||||||
pre,
|
pre,
|
||||||
kbd {
|
kbd {
|
||||||
|
color: var(--pre-color);
|
||||||
|
background-color: var(--pre-bg-color);
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
font-size: 0.90em;
|
font-size: 0.90em;
|
||||||
line-height: 154%;
|
line-height: 154%;
|
||||||
|
Loading…
Reference in New Issue
Block a user