mirror of
https://git.adityakumar.xyz/hugo-theme-even.git
synced 2024-11-08 22:49:44 +00:00
fix(scss): Fix code block padding with codeFences = false
(#297)
This commit is contained in:
parent
708de67fd6
commit
513c19a0fe
1 changed files with 6 additions and 2 deletions
|
@ -11,6 +11,10 @@ code {
|
||||||
color: $code-color;
|
color: $code-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre > code {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
// highlight.js
|
// highlight.js
|
||||||
figure.highlight {
|
figure.highlight {
|
||||||
margin: 1em 0;
|
margin: 1em 0;
|
||||||
|
@ -129,11 +133,11 @@ figure.highlight {
|
||||||
.hljs-formula {
|
.hljs-formula {
|
||||||
background: map-get($code-highlight-color, formula);
|
background: map-get($code-highlight-color, formula);
|
||||||
}
|
}
|
||||||
|
|
||||||
.hljs-emphasis {
|
.hljs-emphasis {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hljs-strong {
|
.hljs-strong {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue