summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-07-05 14:38:01 +0200
committerJonas Smedegaard <dr@jones.dk>2017-07-05 14:38:01 +0200
commitb2cb3d4cec59aec027bace0c1ff26f37d5fcc0e7 (patch)
treeb2f4fe473e80256808734f3f5e7065c7eac2552d
parentf961dc99033c0b120645e27f480568eb8d866b6d (diff)
Style definition lists.
-rw-r--r--style.scss15
1 files changed, 15 insertions, 0 deletions
diff --git a/style.scss b/style.scss
index daccb58..9a9d4ce 100644
--- a/style.scss
+++ b/style.scss
@@ -21,3 +21,18 @@
}
}
}
+
+// Definition lists
+//
+// Full-width horizontal items with definitions right-aligned
+dl {
+ display: inline-block;
+ width: 100%;
+}
+dt {
+ float: left;
+ clear: right;
+}
+dd {
+ float: right;
+}