From 19c4d165c060de65f1912072559763c088a6a251 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sat, 20 Feb 2021 23:38:19 +0100 Subject: Try to align event details below title --- "stylesheets/actualit\303\251s.css" | 6 ++++++ 1 file changed, 6 insertions(+) diff --git "a/stylesheets/actualit\303\251s.css" "b/stylesheets/actualit\303\251s.css" index bb11e09..2063238 100644 --- "a/stylesheets/actualit\303\251s.css" +++ "b/stylesheets/actualit\303\251s.css" @@ -40,6 +40,12 @@ text-align: center; } +#event-details { + /* Align with photos; #event-list h1 has font-size 2em and margin + * .67em; browsers default line-height to "roughly 1.2". */ + margin-top: calc(2*0.67em + 2*1.2em); +} + .details > .detail { display: grid; grid-template-columns: 2em 1fr; -- cgit v1.2.3