vercors.me : encadré Forum sur la carte, G Gastinel noir, pied de page collé en bas du forum
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Cette révision appartient à :
1 Parent
9a4472d83e
révision
4676ae95fd
8 fichiers modifiés
+138
-44
Aucun fichier ne correspond à votre recherche
@@ -22,6 +22,7 @@
|
||||
--roche:#2b2f2c; --glacier:#6eb5bd; --chaud:#b5643c; --gris:#5d635e;
|
||||
}
|
||||
*{box-sizing:border-box}
|
||||
@font-face{font-family:'GastinelG';font-weight:700;font-display:swap;src:url(polices/inter-g.woff2) format('woff2')}
|
||||
html{scroll-behavior:smooth}
|
||||
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
|
||||
html,body{margin:0;background:var(--calcaire);color:var(--roche);font-family:var(--texte)}
|
||||
@@ -217,12 +218,19 @@ a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(-
|
||||
|
||||
.record{flex:0 0 100%;font-size:11.5px;color:var(--gris)}
|
||||
.record select{font:inherit;font-size:11.5px;color:var(--sapin);background:#fff;border:1px solid var(--pierre);border-radius:0;padding:3px 4px;margin-left:4px}
|
||||
.compte-bloc{margin-top:10px}
|
||||
.compte{display:inline-flex;align-items:center;gap:10px;padding:6px 12px 6px 6px;background:#fff;border:1px solid var(--sapin);color:var(--sapin);font-size:12.5px;font-weight:600;text-decoration:none}
|
||||
.compte:hover{background:var(--sapin);color:#fff}
|
||||
.compte .gmark{display:inline-grid;place-items:center;width:22px;height:22px;background:var(--sapin);color:#fff;font-family:var(--titre);font-weight:700;font-size:14px}
|
||||
.compte:hover .gmark{background:#fff;color:var(--sapin)}
|
||||
.compte-bloc small{display:block;margin-top:5px;font-size:11px;color:var(--gris)}
|
||||
.compte{display:inline-flex;align-items:center;gap:8px;padding:5px 11px 5px 7px;background:#fff;border:1px solid #000;color:#000;font-size:12px;font-weight:600;text-decoration:none}
|
||||
.compte:hover{background:#ecebe5}
|
||||
.compte .gmark{font-family:'GastinelG','Inter',system-ui,sans-serif;font-weight:700;font-size:22px;line-height:1;color:#000;letter-spacing:-.02em}
|
||||
.forum-box{position:absolute;right:226px;bottom:16px;z-index:3;width:262px;padding:9px 12px 10px;background:rgba(250,249,245,.94);border:1px solid var(--roche);box-shadow:0 0 0 3px rgba(250,249,245,.94),0 0 0 4px var(--pierre);font-size:12px;color:var(--roche)}
|
||||
.forum-box .fb-titre{display:flex;justify-content:space-between;align-items:baseline;font-family:var(--titre);font-weight:700;font-size:17px;color:var(--sapin);text-decoration:none}
|
||||
.forum-box .fb-titre small{font-family:var(--texte);font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
|
||||
.forum-box .fb-titre:hover{text-decoration:underline}
|
||||
.forum-box p{margin:3px 0 7px;line-height:1.35}
|
||||
.forum-box .fb-une{font-family:var(--titre);font-size:13px}
|
||||
.forum-box .fb-atouts{font-size:11px;color:var(--gris);margin-bottom:8px}
|
||||
.forum-box.mobile{display:none}
|
||||
@media (max-width:1240px){.forum-box{right:28px;bottom:68px;width:244px}}
|
||||
@media (max-width:719px){.carte .forum-box{display:none}.forum-box.mobile{display:block;position:static;width:auto;flex:0 0 100%;margin:4px 0 0}}
|
||||
.coupe{padding-bottom:8px}
|
||||
#coupe-svg svg{width:100%;height:auto;display:block;background:#faf9f5;border:1px solid var(--roche)}
|
||||
#coupe-svg text{font-family:var(--texte);font-size:11px;fill:var(--gris)}
|
||||
@@ -288,7 +296,7 @@ a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(-
|
||||
.cartouche h1{transition:font-size .35s ease,margin .35s ease}
|
||||
.cartouche .phrase,.cartouche .reseau,.cartouche .date{max-height:160px;overflow:hidden;transition:max-height .35s ease,opacity .25s ease,margin .35s ease,padding .35s ease}
|
||||
.cartouche.replie .phrase,.cartouche.replie .reseau,.cartouche.replie .date{max-height:0;opacity:0;margin-top:0;padding-top:0;border-top-color:transparent}
|
||||
.cartouche.replie #retour,.cartouche.replie .outils,.cartouche.replie .compte-bloc{display:none}
|
||||
.cartouche.replie #retour,.cartouche.replie .outils{display:none}
|
||||
.cartouche.replie h1{font-size:30px;margin-top:2px}
|
||||
.cartouche.replie{padding-bottom:9px}
|
||||
.cartouche .phrase{font-size:14.5px;margin-top:10px;padding-top:9px}
|
||||
@@ -331,7 +339,6 @@ a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(-
|
||||
|
||||
<label class="record">Mise en avant <select id="record"><option value="auto">Selon la saison</option><option value="froid">Plus froid</option><option value="chaud">Plus chaud</option><option value="vent">Plus de vent</option><option value="pluie">Plus de pluie</option></select></label>
|
||||
</div>
|
||||
<div class="compte-bloc"><a class="compte" href="forum/connexion.html"><span class="gmark" aria-hidden="true">G</span>Se connecter avec Gastinel</a><small>Un seul compte : favoris, alerte gel, forum.</small></div>
|
||||
<button type="button" id="retour">← Tout le massif</button>
|
||||
<div class="pendule" id="pendule" aria-live="polite"><i class="corde g"></i><i class="corde d"></i>
|
||||
<span class="pancarte" id="direct">Relevés en cours…</span></div>
|
||||
@@ -341,6 +348,10 @@ a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(-
|
||||
<div class="echelle"><i id="barre"></i><span id="km">5 km</span></div>
|
||||
</div>
|
||||
<a class="suite" href="#stations">Toutes les stations ↓</a>
|
||||
<div class="forum-box"><a class="fb-titre" href="forum/index.html">Forum <small>Entrer →</small></a>
|
||||
<p class="fb-une" data-une>Le récapitulatif de la semaine, par les adhérents, arrive ici.</p>
|
||||
<p class="fb-atouts">Un compte Gastinel : forum avec rôle, favoris, alerte gel.</p>
|
||||
<a class="compte" href="forum/connexion.html"><span class="gmark" aria-hidden="true">G</span>Se connecter avec Gastinel</a></div>
|
||||
<div class="thermo" id="thermo"><i id="degrade"></i><span><span>−10°</span><span>0°</span><span>+15°</span></span></div>
|
||||
</main>
|
||||
|
||||
@@ -348,6 +359,10 @@ a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(-
|
||||
<div class="reglages" id="reglages"><div class="modes" id="modes" role="group" aria-label="Valeur affichée sur les étiquettes"><button type="button" data-mode="t" aria-pressed="true">Temp</button><button type="button" data-mode="alt" aria-pressed="false" title="Classe la liste par altitude : un clic croissant, un deuxième clic décroissant">Alt</button><button type="button" data-mode="vent" aria-pressed="false" title="Seules les stations qui mesurent le vent">Vent</button><button type="button" data-mode="pluie" aria-pressed="false" title="Seules les stations qui mesurent la pluie">Pluie</button></div>
|
||||
<div class="temps" id="temps"><button type="button" id="lecture" aria-label="Rejouer les dernières 24 heures" disabled>▶</button><input type="range" id="curseur" min="0" max="0" step="1" value="0" disabled aria-label="Remonter le temps, sept jours"><output id="temps-txt" for="curseur">Maintenant</output></div>
|
||||
<p class="aide">Ces choix valent aussi pour la liste des stations, plus bas.</p>
|
||||
<div class="forum-box mobile"><a class="fb-titre" href="forum/index.html">Forum <small>Entrer →</small></a>
|
||||
<p class="fb-une" data-une>Le récapitulatif de la semaine, par les adhérents, arrive ici.</p>
|
||||
<p class="fb-atouts">Un compte Gastinel : forum avec rôle, favoris, alerte gel.</p>
|
||||
<a class="compte" href="forum/connexion.html"><span class="gmark" aria-hidden="true">G</span>Se connecter avec Gastinel</a></div>
|
||||
</div>
|
||||
<section class="liste coupe" id="coupe">
|
||||
<h2>La coupe du massif</h2>
|
||||
@@ -1135,6 +1150,10 @@ btnLecture.addEventListener('click', () => {
|
||||
btnLecture.textContent = '❚❚'; btnLecture.setAttribute('aria-label', 'Mettre en pause');
|
||||
lectureId = setInterval(() => { curseur.value = Math.min(N, +curseur.value + 1); poserTemps(); if (+curseur.value >= N) arreterLecture(); }, 260);
|
||||
});
|
||||
fetch('data/forum-une.json?' + Math.floor(Date.now() / 300000)).then(r => r.ok ? r.json() : null).then(u => {
|
||||
if (!u || !u.titre) return;
|
||||
document.querySelectorAll('[data-une]').forEach(p => { p.innerHTML = ''; const a = document.createElement('a'); a.href = u.url || 'forum/index.html'; a.textContent = u.titre; a.style.color = 'inherit'; p.append(a); if (u.auteur) p.append(' · ' + u.auteur); });
|
||||
}).catch(() => {});
|
||||
function apresDonnees(){ chargerSeries(); if (TEMPS != null) { snapshotLive(); appliquerTemps(); } }
|
||||
const selRecord = document.getElementById('record');
|
||||
selRecord.value = RECORD;
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur