Browse Source

Increase left margin of top-level lists

This was too small - lists weren't really indented so they were a little
weird to read. The smaller margin for the nested ones is good though, so
this will leave that.
merge-requests/70/head
Deimos 6 years ago
parent
commit
6f52ffd3b1
  1. 9
      tildes/scss/_placeholders.scss

9
tildes/scss/_placeholders.scss

@ -17,11 +17,16 @@
} }
ol, ul { ol, ul {
margin: 0 0 0.4rem 1rem;
$list-left-margin: 2rem;
margin: 0 0 0.4rem $list-left-margin;
li { li {
margin-top: 0.2rem; margin-top: 0.2rem;
max-width: $paragraph-max-width - 1rem; // subtract left margin
max-width: $paragraph-max-width - $list-left-margin;
}
ol, ul {
margin-left: 1rem;
} }
&:last-child { &:last-child {

Loading…
Cancel
Save