refactor: use list-style-type for ul markers

This commit is contained in:
Erzbir
2026-08-19 02:58:06 +08:00
parent fd751c14b0
commit 7bad30de05
5 changed files with 13 additions and 30 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
--text-decoration-theme-link: none;
--text-decoration-theme-post-link: var(--text-decoration-theme-link);
--content-theme-post-meta-divider: "::";
--list-theme-marker: "►";
--list-theme-style: disc;
--size-theme-font: 1rem;
--height-theme-line: calc(var(--size-theme-font) * 1.75);
--spacing-theme-post-paragraph: calc(var(--size-theme-font) * 1.25);
+1 -8
View File
@@ -138,14 +138,7 @@
}
.post ul {
list-style: none;
}
.post ul li:not(:empty)::before {
content: var(--list-theme-marker);
position: absolute;
left: calc(var(--size-theme-font) * -1.25);
color: var(--color-theme-accent);
list-style: var(--list-theme-style);
}
.post--regulation h1 {