adjust ol spacing and ul list style

This commit is contained in:
madrilene 2024-02-07 16:35:17 +01:00
parent 86837a0c33
commit 2bce4e4851
2 changed files with 6 additions and 7 deletions

View file

@ -43,13 +43,16 @@
/* inline space only for "regular lists" */ /* inline space only for "regular lists" */
.prose :where(ul:not(.grid), ol:not(.grid)) { .prose :where(ul:not(.grid), ol:not(.grid)) {
padding-inline-start: var(--space-m); padding-inline-start: 1.5ch;
} }
/* marker only for "regular lists" */ /* marker only for "regular lists" */
.prose :where(ul:not(.grid)) li::marker { .prose :where(ul:not(.grid)) li::marker {
color: var(--color-primary); color: var(--color-primary);
content: '- '; content: ' ';
}
.prose ol li::marker {
color: var(--color-primary);
} }
.prose img { .prose img {

View file

@ -90,10 +90,6 @@ hr {
padding: 0; padding: 0;
} }
ol li::marker {
color: var(--color-primary);
}
/* Base interactive elements */ /* Base interactive elements */
a { a {