diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-07-16 12:28:30 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-07-16 12:28:30 +0200 |
commit | 7243089f3fe33cd6ff4f656729087209e7749043 (patch) | |
tree | f3bacff88a1fc977c02957a7fe2b8e2ca7e81813 | |
parent | 8d3e1cba5c1139fd1821f9182a88bfd2c575addc (diff) |
Style orered lists.
-rw-r--r-- | style.scss | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -115,6 +115,22 @@ a { @include hover-link; } +// Ordered lists +// +// Single count across main content +#content { + counter-reset: unified; + ol li { + list-style-type: none; + &:before { + float: left; + margin-left: -2em; + counter-increment: unified; + content: counters(unified, ".") " "; + } + } +} + // Definition lists // // Full-width horizontal items with definitions right-aligned |