Skip to content

Commit

Permalink
Make list elements margin consistent.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko committed Aug 12, 2018
1 parent 8898d6d commit 570748d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions assets/style.css
Expand Up @@ -49,7 +49,6 @@ ol[type="1"] {
ol[type="1"] > li {
display: table;
counter-increment: item;
margin-bottom: 0.5em;
width: 100%;
}

Expand All @@ -60,10 +59,10 @@ ol[type="1"] > li:before {
width: 1px;
}

li ol[type="1"] > li {
margin: 0;
}

li ol[type="1"] > li:before {
content: counters(item, ".") " ";
}

li + li {
margin-top: 0.25em;
}

0 comments on commit 570748d

Please sign in to comment.