mirror of https://gitlab.com/curben/blog
fix(css): set background colour of inline codeblock highlight
This commit is contained in:
parent
86c5649e74
commit
4f69beea5f
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue