From 9260cfed72ed192480dc19d46d0c5f2b3c46580b Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sun, 8 Mar 2015 00:36:49 +0100 Subject: Improved style and front page --- style/typography.less | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) (limited to 'style/typography.less') diff --git a/style/typography.less b/style/typography.less index f3a5e2e..da23a9e 100644 --- a/style/typography.less +++ b/style/typography.less @@ -66,20 +66,34 @@ header, main { background-color: @color-bg; } -dt { - font-weight: bold; - color: @color-main; +dl { + width: 100%; } -dd, dt { +dl::after { + content: ""; display: block; + clear: both; +} + +dt, dd { + float: left; + margin-bottom: 1em; +} + +dt { + font-weight: bold; + color: @color-main; + width: 30%; + margin-right: 5%; } dd { - margin-bottom: 0.5em; + width: 65%; } + /** * Footnotes */ -- cgit v1.2.3