style: text-shadow替代加粗

This commit is contained in:
2026-08-28 22:29:33 +08:00
parent c7e51af0e0
commit 3595435078

View File

@@ -58,13 +58,17 @@ const lowLevel = Math.min(...toc.map((v) => v.level));
.toc-item:hover {
color: var(--text-title-hover);
font-weight: bold;
text-shadow:
0.3px 0 0 currentColor,
-0.3px 0 0 currentColor;
}
.toc-item.is-active {
position: relative;
color: var(--text-title-hover);
font-weight: bold;
text-shadow:
0.3px 0 0 currentColor,
-0.3px 0 0 currentColor;
}
.toc-item.is-active::before {