commit 19c4d165c060de65f1912072559763c088a6a251 parent d3e001f4b9c20154984fba6f7a30465463ffc086 Author: Kévin Le Gouguec <kevin.legouguec@gmail.com> Date: Sat, 20 Feb 2021 23:38:19 +0100 Try to align event details below title Diffstat:
| M | stylesheets/actualités.css | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/stylesheets/actualités.css b/stylesheets/actualités.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;