From ef644001d2be72a055362e2cf4182b6e52ae51c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9drix?= Date: Sun, 20 Sep 2026 00:22:11 +0200 Subject: [PATCH] Remettre la page d'accueil au niveau de ce qui est en ligne MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le fichier versionné datait du 2026-05-03 ; la page servie par www.alpinux.org a continué d'évoluer sur le serveur jusqu'au 2026-05-07 sans jamais revenir ici — agenda en grille, bandeau « en ce moment », fiche d'événement, rendez-vous du jour. Ce commit reprend telle quelle la page en ligne, pour que le dépôt reparte de la vérité. Rien n'est modifié au passage : les changements viennent au commit suivant. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01Ae3qPEPRrNkEY5LwcTTKc1 --- home/index.html | 779 ++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 714 insertions(+), 65 deletions(-) diff --git a/home/index.html b/home/index.html index 79dd4f4..3c69177 100644 --- a/home/index.html +++ b/home/index.html @@ -80,6 +80,26 @@ min-height: 100vh; } + /* ── Live banner ────────────────────────────────────────────── */ + #live-banner { + background: #e8f5e9; + border-bottom: 3px solid #43a047; + color: #1b5e20; + padding: .65rem 1.5rem; + text-align: center; + font-size: .92rem; + } + .live-dot { + display: inline-block; + width: 9px; height: 9px; + background: #43a047; + border-radius: 50%; + margin-right: .45rem; + vertical-align: middle; + animation: blink 1.4s ease-in-out infinite; + } + @keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .15; } } + /* ── Header ────────────────────────────────────────────────── */ header { background: #1a6bbf; @@ -161,7 +181,7 @@ padding: 3rem 1.5rem; } - /* ── Events ─────────────────────────────────────────────────── */ + /* ── Section titles ─────────────────────────────────────────── */ .section-title { font-size: 1.15rem; font-weight: 700; @@ -179,6 +199,147 @@ background: #e8f1fb; } + .subsection-title { + font-size: 1rem; + font-weight: 600; + color: #0f4e8f; + margin-bottom: .8rem; + } + + /* ── Agenda two-column layout ───────────────────────────────── */ + .agenda-layout { + display: grid; + grid-template-columns: auto 1fr; + gap: 2rem; + align-items: start; + margin-bottom: 3rem; + } + + @media (max-width: 700px) { + .agenda-layout { grid-template-columns: 1fr; } + } + + .upcoming-col { min-width: 0; } + + .events-col { + display: flex; + flex-direction: column; + gap: .8rem; + } + + /* ── Planning grid ──────────────────────────────────────────── */ + .planning-wrap { + background: #fff; + border-radius: 10px; + padding: 1.4rem; + box-shadow: 0 2px 10px rgba(26,107,191,.08); + margin-bottom: 2rem; + overflow-x: auto; + } + + .planning-layout { + display: flex; + align-items: flex-start; + gap: 6px; + } + + .day-labels { + display: flex; + flex-direction: column; + gap: 3px; + margin-top: 22px; + flex-shrink: 0; + } + + .day-labels span { + height: 14px; + line-height: 14px; + font-size: .68rem; + color: #bbb; + text-align: right; + min-width: 10px; + } + + .planning-right { + display: flex; + flex-direction: column; + gap: 3px; + } + + .planning-months { + display: flex; + gap: 3px; + height: 18px; + align-items: flex-end; + } + + .planning-months span { + width: 14px; + font-size: .68rem; + color: #bbb; + white-space: nowrap; + overflow: visible; + flex-shrink: 0; + } + + #planning-grid { + display: grid; + grid-template-rows: repeat(7, 14px); + gap: 3px; + grid-auto-flow: column; + grid-auto-columns: 14px; + } + + .day-cell { + width: 14px; + height: 14px; + border-radius: 2px; + background: #ebedf0; + } + + .day-cell.past { opacity: .4; } + .day-cell.ev1 { background: #9fc5e8; cursor: pointer; } + .day-cell.ev2 { background: #1a6bbf; cursor: pointer; } + .day-cell.today { outline: 2px solid #f5a623; outline-offset: 1px; } + .day-cell[role=button]:hover { filter: brightness(1.14); } + .day-cell[role=button]:focus-visible { outline: 2px solid #f5a623; outline-offset: 1px; } + + #planning-detail { + margin-top: 1rem; + padding: .75rem 1rem; + background: #f3f6fb; + border-radius: 6px; + border-left: 3px solid #1a6bbf; + font-size: .88rem; + } + + #planning-detail ul { margin: .35rem 0 0 1.1rem; } + #planning-detail li { margin: .2rem 0; } + #planning-detail .ev-loc { color: #777; font-size: .83rem; } + + .planning-legend { + margin-top: .9rem; + font-size: .75rem; + color: #bbb; + display: flex; + align-items: center; + gap: 1rem; + flex-wrap: wrap; + } + + .lc { + display: inline-block; + width: 14px; height: 14px; + border-radius: 2px; + vertical-align: middle; + margin-right: .25rem; + } + + .lc.ev1 { background: #9fc5e8; } + .lc.ev2 { background: #1a6bbf; } + .lc.today-swatch { background: #ebedf0; outline: 2px solid #f5a623; outline-offset: 1px; } + + /* ── Event cards ────────────────────────────────────────────── */ .events { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); @@ -186,14 +347,97 @@ margin-bottom: 3rem; } + /* upcoming list inside agenda-layout uses flex column */ + #upcoming-list { display: flex; flex-direction: column; gap: .8rem; } + .event-card { background: #fff; border-radius: 10px; padding: 1.2rem 1.4rem; box-shadow: 0 2px 10px rgba(26,107,191,.1); border-left: 4px solid #1a6bbf; + position: relative; } + button.event-card { + text-align: left; + border: none; + width: 100%; + cursor: pointer; + font-family: inherit; + transition: transform .15s, box-shadow .15s; + } + + button.event-card:hover { + transform: translateY(-3px); + box-shadow: 0 6px 20px rgba(26,107,191,.18); + } + + a.event-card { + text-decoration: none; + color: inherit; + transition: transform .15s, box-shadow .15s; + display: block; + } + + a.event-card:hover { + transform: translateY(-3px); + box-shadow: 0 6px 20px rgba(26,107,191,.18); + } + + .event-card--more { + border-left-color: #888; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + text-align: center; + color: #555; + } + + .event-card--more:hover { color: #1a6bbf; } + + .event-icon { font-size: 1.8rem; margin-bottom: .4rem; } + + /* ── Modal ──────────────────────────────────────────────────── */ + .ev-modal { + position: fixed; inset: 0; + background: rgba(0,0,0,.45); + display: flex; align-items: center; justify-content: center; + z-index: 1000; + padding: 1rem; + } + + .ev-modal[hidden] { display: none; } + + .ev-modal-box { + background: #fff; + border-radius: 12px; + padding: 2rem; + max-width: 480px; + width: 100%; + position: relative; + box-shadow: 0 8px 32px rgba(0,0,0,.25); + } + + .ev-modal-close { + position: absolute; top: .8rem; right: 1rem; + background: none; border: none; font-size: 1.6rem; + cursor: pointer; color: #999; line-height: 1; + } + + .ev-modal-close:hover { color: #333; } + + .ev-modal-title { + font-size: 1.15rem; + font-weight: 700; + color: #0f4e8f; + margin-bottom: .8rem; + padding-right: 1.5rem; + } + + .ev-modal-body { font-size: .92rem; line-height: 1.6; color: #444; } + .event-date { font-size: .82rem; font-weight: 700; @@ -205,6 +449,42 @@ .event-title { font-size: 1rem; font-weight: 600; } .event-where { font-size: .88rem; color: #666; margin-top: .3rem; } + .ev-has-desc { + position: absolute; + top: .55rem; right: .6rem; + background: #1a6bbf; + color: #fff; + font-size: .72rem; + font-weight: 700; + font-style: normal; + line-height: 1; + padding: .2rem .4rem; + border-radius: 4px; + letter-spacing: .02em; + } + + /* ── Today events ───────────────────────────────────────────── */ + .event-card--today { + border-left-color: #f5a623; + background: #fffcf0; + } + + .ev-today-badge { + display: inline-block; + background: #f5a623; + color: #fff; + font-size: .68rem; + font-weight: 700; + text-transform: uppercase; + letter-spacing: .06em; + padding: .15rem .5rem; + border-radius: 3px; + margin-bottom: .45rem; + } + + .event-card--past { + opacity: .6; + } /* ── Services ───────────────────────────────────────────────── */ .services { @@ -268,6 +548,11 @@ + +
-

Prochains événements

-
-
-
1er & 3e jeudis
-
Réunion mensuelle
-
📍 Dynamo Chambéry — 18h00
+

Agenda

+ +
+ +
+
+ +
+ +
+
+
+ +
-
-
Voir le calendrier
-
Install Party & ateliers
- + +
+ +

Prochains rendez-vous

+
+
+ +
+ + @@ -351,84 +664,420 @@

-