diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-11-22 22:57:50 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-11-22 23:04:51 +0100 |
| commit | 89d7345d98640482f1f925b06a8238f3b1355ba1 (patch) | |
| tree | 88640a5cae188844370bf7437db428609ec3f338 /actualités.css | |
| parent | e44a48a6dc36cb5a644c85e8866936c339a62540 (diff) | |
| download | quatuorbellefeuille.com-89d7345d98640482f1f925b06a8238f3b1355ba1.tar.xz | |
I don't even know what changed; mmm; "Fix stuff" I guess??
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; -} |
