From b2cb3d4cec59aec027bace0c1ff26f37d5fcc0e7 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 5 Jul 2017 14:38:01 +0200 Subject: Style definition lists. --- style.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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; +} -- cgit v1.2.3