*~~需要的文字~~*
之前模仿bluetopaz效果写的,鼠标放在文字上显示
em > del,
.cm-em.cm-strikethrough:not(.cm-active > span) {
border-bottom: 2px dashed var(--color-accent);
font-style: normal;
text-decoration: none;
color: #00000000;
transition: color 0.3s;
}
.cm-active > .cm-em.cm-strikethrough {
border-bottom: 2px dashed var(--color-accent);
font-style: normal;
text-decoration: none;
}
em > del:hover,
.cm-em.cm-strikethrough:hover:not(.cm-active > span) {
color: var(--text-normal);
transition: color 0.3s;
}