fix(css): set background colour of inline codeblock highlight

This commit is contained in:
MDLeom 2020-08-30 09:53:08 +00:00
parent 86c5649e74
commit 4f69beea5f
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
2 changed files with 10 additions and 0 deletions

View File

@ -218,6 +218,11 @@ samp {
font-size: 0.9em; font-size: 0.9em;
} }
/* set bg colour of single backtick wrap */
p code {
background: var(--alt-bg-color);
}
/* set codeblock width to minimum */ /* set codeblock width to minimum */
pre { pre {
border-left: 0.1em solid var(--link-underline); border-left: 0.1em solid var(--link-underline);

View File

@ -685,6 +685,11 @@ samp {
font-size: 0.9em; font-size: 0.9em;
} }
/* set bg colour of single backtick wrap */
p code {
background: var(--alt-bg-color);
}
/* set codeblock width to minimum */ /* set codeblock width to minimum */
pre { pre {
border-left: 0.1em solid var(--link-underline); border-left: 0.1em solid var(--link-underline);