From a57bdf1faa544a105c3d17f5ce345a4bb81bfe9d Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 22 Nov 2020 21:06:14 +0100 Subject: Make event details more robust This is not going to cut it. --- "actualit\303\251s.css" | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'actualités.css') diff --git "a/actualit\303\251s.css" "b/actualit\303\251s.css" index a5f686c..3cc5ff5 100644 --- "a/actualit\303\251s.css" +++ "b/actualit\303\251s.css" @@ -1,10 +1,14 @@ +main { + padding-left: 5%; +} + .events { display: grid; - width: 60vw; - grid-auto-rows: 14vw; + width: 58vw; + grid-auto-rows: 12vw; grid-template-columns: repeat(auto-fit, 14vw); grid-gap: 1em; - background-color: #ccc; + background-color: #dbb; } .event { @@ -58,4 +62,8 @@ position: fixed; top: 10em; left: 60vw; + max-width: 30%; + max-height: 50vh; + overflow: auto; + background-color: #d88; } -- cgit v1.2.3