From be98fd8e16b1987534e0e0bba403d1a1cf1b7e57 Mon Sep 17 00:00:00 2001 From: the3ash <24548223+the3ash@users.noreply.github.com> Date: Mon, 12 Jan 2026 00:15:43 +0800 Subject: [PATCH] style: tweak ul --- src/styles/post.css | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/styles/post.css b/src/styles/post.css index 6d8db0b..1915947 100644 --- a/src/styles/post.css +++ b/src/styles/post.css @@ -224,7 +224,7 @@ .prose ul li { position: relative; - padding-left: 0.3125rem; + padding-left: 0.125rem; margin-bottom: 0.5em; } @@ -238,13 +238,15 @@ } .prose ul li::before { - content: '•'; + --size: 0.3125rem; + content: ''; position: absolute; - left: -1.25rem; - top: -0.05em; - width: 1.5rem; - text-align: center; - color: var(--text-tertiary); + left: -0.785rem; + top: calc((1.75em - var(--size)) / 2); + width: var(--size); + height: var(--size); + border-radius: 50%; + background-color: var(--text-tertiary); } /* Ordered lists */ -- 2.51.2