Fix rendered sublist spacing

Along with a recent change to how spaces are output by the
writeas/saturday library, this alters the CSS to make sublists display
correctly, and fixes #27.
This commit is contained in:
Matt Baer 2019-01-14 14:01:43 -05:00
parent a9dff35f70
commit a76144c182
1 changed files with 8 additions and 8 deletions

View File

@ -55,18 +55,18 @@ body {
} }
hr + p, ol, ul { hr + p, ol, ul {
display: block; display: block;
margin-top: -1em; margin-top: -1rem;
margin-bottom: -1em; margin-bottom: -1rem;
} }
ol, ul { ol, ul {
margin: 0.75em 0 -1em; margin: 2rem 0 -1rem;
} ol, ul {
ul { margin: 1.25rem 0 -0.5rem;
padding: 0 0 0 2em; }
} }
li { li {
margin-top: -0.5em; margin-top: -0.5rem;
margin-bottom: -0.5em; margin-bottom: -0.5rem;
} }
h2#title { h2#title {
.article-title; .article-title;