From f329e2b8fb28d1d58437b49ba7da84d60e345ae5 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Mon, 4 May 2020 20:46:59 +0200 Subject: [PATCH] Better styling of postamble Less height calculation, more automation. --- web/style/style.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/web/style/style.scss b/web/style/style.scss index ab228c1..f0f0d1c 100644 --- a/web/style/style.scss +++ b/web/style/style.scss @@ -414,22 +414,23 @@ header { #postamble { display: grid; grid-template-areas: 'author email date'; - height: $postamble-height; @media #{$switch-small-screen} { grid-template-areas: 'author date' 'email email'; - height: $postamble-height + 20px; } @media #{$switch-smaller-screen} { grid-template-areas: 'author' 'date' 'email'; - height: $postamble-height + 40px; } font-size: 0.8em; align-content: space-evenly; text-align: center; + p { + margin: 10px 0; + } + .author { grid-area: author; }