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.
pull/66/head
Matt Baer 6 years ago
parent a9dff35f70
commit a76144c182
  1. 16
      less/core.less

@ -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;

Loading…
Cancel
Save