fix(markdown): remove invalid `.highlight` class
This commit is contained in:
parent
beedb0e803
commit
2cb60cc6c4
|
@ -1,13 +1,12 @@
|
||||||
.markdown-body {
|
.markdown-body {
|
||||||
color: var(--xm-c-regular);
|
color: var(--xm-c-regular);
|
||||||
font-family: var(--xm-font-display) !important;
|
font-family: var(--xm-font-display) !important;
|
||||||
pre:not(.shiki, .highlight) {
|
pre:not(.shiki) {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
.shiki,
|
.shiki {
|
||||||
.highlight {
|
|
||||||
margin: .5rem 0;
|
margin: .5rem 0;
|
||||||
font-size: 1.05rem;
|
font-size: 1.05rem;
|
||||||
font-family: var(--xm-font-code) !important;
|
font-family: var(--xm-font-code) !important;
|
||||||
|
|
|
@ -13,6 +13,6 @@ $quote-border: hsla(0deg 0% 50% / .3);
|
||||||
$thead-border: #d1d5db;
|
$thead-border: #d1d5db;
|
||||||
$tr-border: #e5e7eb;
|
$tr-border: #e5e7eb;
|
||||||
|
|
||||||
// Shiki (code highlight)
|
// Shiki (code highlighting)
|
||||||
$shiki-light: #f8f8f8;
|
$shiki-light: #f8f8f8;
|
||||||
$shiki-dark: #0e0e0e;
|
$shiki-dark: #0e0e0e;
|
||||||
|
|
Loading…
Reference in New Issue