From 1c8d3c6ff37892ff4092229039f886dc59619546 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Fri, 26 Feb 2021 17:50:51 +0100 Subject: Simplify thumbnail structure --- "actualit\303\251s.html" | 22 +++++++++------------- "stylesheets/actualit\303\251s.css" | 4 ++-- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git "a/actualit\303\251s.html" "b/actualit\303\251s.html" index a5a85a8..99d54ae 100644 --- "a/actualit\303\251s.html" +++ "b/actualit\303\251s.html" @@ -2,18 +2,14 @@

Prochains concerts

Concerts passés

@@ -78,7 +74,7 @@ if (anchor.match(/#concert-/)) { document.querySelector(anchor).classList.add('active'); } - document.querySelectorAll('.event a').forEach((link) => { + document.querySelectorAll('a.event').forEach((link) => { link.addEventListener('click', function(click) { if (click.ctrlKey || click.shiftKey) return; diff --git "a/stylesheets/actualit\303\251s.css" "b/stylesheets/actualit\303\251s.css" index 9d6508e..280316d 100644 --- "a/stylesheets/actualit\303\251s.css" +++ "b/stylesheets/actualit\303\251s.css" @@ -25,7 +25,7 @@ grid-gap: 0.8em; } -.event a { +a.event { display: flex; justify-content: center; align-items: center; @@ -96,7 +96,7 @@ --cell-height: 12em; } - .event a { + a.event { position: relative; } -- cgit v1.2.3