Reformat definition list definitions

Large inline margins and small text. No more italics. I think this is easier to
read and more consistent with the surrounding text.
This commit is contained in:
Eryn Wells 2024-11-16 09:40:01 -08:00
parent c5cc95052d
commit 08e787b1d9

View file

@ -15,6 +15,7 @@ ul
margin-block: 0; margin-block: 0;
} }
ol { ol {
display: grid; display: grid;
grid-template-columns: min-content 1fr; grid-template-columns: min-content 1fr;
@ -47,6 +48,7 @@ ol {
} }
} }
ul { ul {
list-style-type: "*"; list-style-type: "*";
padding-inline-start: 1ch; padding-inline-start: 1ch;
@ -56,6 +58,7 @@ ul {
} }
} }
li { li {
&::marker, &::before { &::marker, &::before {
color: var(--text-color-secondary); color: var(--text-color-secondary);
@ -63,15 +66,15 @@ li {
} }
} }
dl { dl {
dd { dd {
color: var(--text-color-secondary); color: var(--text-color-secondary);
font-style: italic; font-size: var(--text-s);
line-height: 1.2; margin-inline: var(--space-l);
margin-inline-start: var(--space-l);
&:has(+ dt) { &:has(+ dt) {
margin-block-end: var(--space-xs); margin-block-end: var(--space-paragraph);
} }
} }
} }