From 2cc4273ae746e68dee751471bcd0bf1c521850d0 Mon Sep 17 00:00:00 2001 From: Veikka Kähkönen Date: Thu, 30 Nov 2017 00:55:12 +0200 Subject: Add event list to index page --- _sass/_info.scss | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) (limited to '_sass') diff --git a/_sass/_info.scss b/_sass/_info.scss index 454fd51..84ef42e 100644 --- a/_sass/_info.scss +++ b/_sass/_info.scss @@ -1,3 +1,5 @@ +$info_item_separation: 0.9em; + .info_section { margin-bottom: 1.5em; } @@ -18,5 +20,30 @@ } .post_list__element { - margin-bottom: 0.4em; + margin-bottom: $info_item_separation; +} + +.post_list__excerpt { + margin-bottom: 0; +} + +.event_list { + list-style-type: none; + margin-left: 0; +} + +.event_list__row { + display: block; + width: 100%; +} + +.event_list .summary { + @extend h4; + @extend .event_list__row; + margin-bottom: 0; +} + +.event_list .description { + @extend .event_list__row; + margin-bottom: $info_item_separation; } -- cgit v1.3