mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 12:42:24 -05:00
[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:
parent
933a9091eb
commit
fc074d2357
1 changed files with 2 additions and 18 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue