diff options
Diffstat (limited to 'actualités.css')
| -rw-r--r-- | actualités.css | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/actualités.css b/actualités.css index d063ebd..7f6aae1 100644 --- a/actualités.css +++ b/actualités.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; -} |
