From 89d7345d98640482f1f925b06a8238f3b1355ba1 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 22 Nov 2020 22:57:50 +0100 Subject: I don't even know what changed; mmm; "Fix stuff" I guess?? --- "actualit\303\251s.css" | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'actualités.css') diff --git "a/actualit\303\251s.css" "b/actualit\303\251s.css" index d063ebd..7f6aae1 100644 --- "a/actualit\303\251s.css" +++ "b/actualit\303\251s.css" @@ -1,5 +1,6 @@ main { display: grid; + overflow: auto; grid-template-columns: 60% 40%; } @@ -19,13 +20,13 @@ main > div { .event { position: relative; background-color: #fff; - display: flex; - align-items: center; - justify-content: center; } .event a { position: absolute; + display: flex; + align-items: center; + justify-content: center; height: 100%; width: 100%; text-decoration: none; @@ -45,14 +46,8 @@ main > div { } .event .summary { - position: absolute; - margin: 0; - text-align: center; - vertical-align: middle; - height: 100%; - width: 100%; - z-index: 1; opacity: 0; + z-index: 1; font-weight: bold; color: white; transition: 0.5s; @@ -61,7 +56,3 @@ main > div { .event:hover .summary { opacity: 1; } - -#event-details .details { - display: none; -} -- cgit v1.2.3