还简单的,就写掉了
body {
--animation: 0.2s ease-in;
--hover-color: var(--text-accent);
--blank-line-height: 0.6;
}
.is-live-preview [class="cm-active cm-line"] {
transition: var(--animation);
}
.is-live-preview :is([class=cm-line]:has(+ :is(.HyperMD-quote, .cm-callout)), :is(.HyperMD-quote, .cm-callout) + [class=cm-line]) {
line-height: var(--blank-line-height);
transition: var(--animation);
border-radius: var(--radius-s);
}
.is-live-preview :is([class=cm-line]:has(+ :is(.HyperMD-quote, .cm-callout)), :is(.HyperMD-quote, .cm-callout) + [class=cm-line]):hover {
background-color: var(--hover-color);
}