summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-07-16 12:28:30 +0200
committerJonas Smedegaard <dr@jones.dk>2017-07-16 12:28:30 +0200
commit7243089f3fe33cd6ff4f656729087209e7749043 (patch)
treef3bacff88a1fc977c02957a7fe2b8e2ca7e81813
parent8d3e1cba5c1139fd1821f9182a88bfd2c575addc (diff)
Style orered lists.
-rw-r--r--style.scss16
1 files changed, 16 insertions, 0 deletions
diff --git a/style.scss b/style.scss
index acbad30..361f87f 100644
--- a/style.scss
+++ b/style.scss
@@ -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