tweak: adjust astro css to render mixed nested lists (#1411)

This commit is contained in:
Aiden Cline 2025-07-30 05:51:52 -05:00 committed by GitHub
parent 0bd0453866
commit b5219f7585
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,19 +34,36 @@
margin-bottom: 1rem;
}
ul,
ol {
margin-bottom: 0.5rem;
}
/* Add spacing between top-level list items */
ol > li {
margin-bottom: 0.5rem;
}
strong {
font-weight: 600;
}
ol {
list-style-position: inside;
padding-left: 0.75rem;
list-style-position: outside;
padding-left: 1.5rem;
}
ul {
padding-left: 1.5rem;
}
/* Nested list spacing */
li ul,
li ol {
margin-top: 0.25rem;
margin-bottom: 0;
}
h1,
h2,
h3,