From fc074d23575710efe0a6f27af2d7916db63027d4 Mon Sep 17 00:00:00 2001 From: tobi Date: Fri, 13 Jun 2025 14:22:56 +0200 Subject: [PATCH] [bugfix/accessibility] Don't remove marker from unordered lists, recolor instead (#4268) Closes https://codeberg.org/superseriousbusiness/gotosocial/issues/4195 by removing unnecessary styling. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4268 Co-authored-by: tobi Co-committed-by: tobi --- web/source/css/base.css | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/web/source/css/base.css b/web/source/css/base.css index 01b7154ac..0b8c246f4 100644 --- a/web/source/css/base.css +++ b/web/source/css/base.css @@ -249,30 +249,14 @@ select { } /* - Restyle unordered lists; outdent - and replace dot with orange dot. + Restyle lists. */ ul { - padding-left: 2.5rem; - list-style: none; - - li::before { - content: "\2022"; + li::marker { color: $border-accent; - font-weight: bold; - display: inline-block; - width: 1.5rem; - margin-left: -1.5rem; } } - -/* - Mirror the same styling a little bit - for ordered lists by making marker bold. -*/ ol { - padding-left: 2.5rem; - li::marker { font-weight: bold; }