[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 <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
This commit is contained in:
tobi 2025-06-13 14:22:56 +02:00 committed by tobi
commit fc074d2357

View file

@ -249,30 +249,14 @@ select {
} }
/* /*
Restyle unordered lists; outdent Restyle lists.
and replace dot with orange dot.
*/ */
ul { ul {
padding-left: 2.5rem; li::marker {
list-style: none;
li::before {
content: "\2022";
color: $border-accent; 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 { ol {
padding-left: 2.5rem;
li::marker { li::marker {
font-weight: bold; font-weight: bold;
} }