vercors.me : page Charte graphique (palette, polices, règles, ton) + PDF, lien dans le pied de page (FR/EN/DE), plan du site

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cette révision appartient à :
Théo GastineletClaude Opus 5.5 a révisé 2026-11-06 01:34:48 +01:00
1 Parent 02272fc670
révision 6c27bc1f99
6 fichiers modifiés
+248 -9

Aucun fichier ne correspond à votre recherche

+3 -3
Voir le fichier
@@ -36,16 +36,16 @@ def main():
t = t.replace(' Voir la <a href="confidentialite.html">politique de confidentialité</a>.', '')
t = t.replace('<a href="cgu.html">Conditions d\'utilisation</a> · <a href="confidentialite.html">Confidentialité</a> · ', '')
open(sp, "w", encoding="utf-8").write(t)
for fixe in ("404.html", "llms.txt", "llms-full.txt"):
for fixe in ("404.html", "llms.txt", "llms-full.txt", "charte.html", "charte-vercors.pdf"):
if os.path.exists(os.path.join(ICI, fixe)):
shutil.copy(os.path.join(ICI, fixe), os.path.join(DEST, fixe))
open(os.path.join(DEST, "robots.txt"), "w", encoding="utf-8").write("User-agent: *\nAllow: /\nSitemap: https://vercors.me/sitemap.xml\n")
urls = "".join("<url><loc>https://vercors.me/%s</loc></url>" % u for u in ("", "climat", "a-propos", "statistiques"))
urls = "".join("<url><loc>https://vercors.me/%s</loc></url>" % u for u in ("", "climat", "a-propos", "statistiques", "charte"))
open(os.path.join(DEST, "sitemap.xml"), "w", encoding="utf-8").write('<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">%s</urlset>\n' % urls)
for dossier in ("polices", "tuiles"):
src = os.path.join(ICI, dossier)
if os.path.isdir(src):
shutil.copytree(src, os.path.join(DEST, dossier), ignore=shutil.ignore_patterns("*.css"))
shutil.copytree(src, os.path.join(DEST, dossier), ignore=shutil.ignore_patterns("*.css"), dirs_exist_ok=True)
# contrôle : aucune ressource distante dans les pages
for nom in os.listdir(DEST):
if nom.endswith(".html"):
Fichier binaire non affiché.
+121
Voir le fichier
@@ -0,0 +1,121 @@
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="color-scheme" content="light">
<meta name="description" content="Charte graphique de Météo Vercors : couleurs, polices et règles d’accessibilité.">
<title>Charte graphique · Météo Vercors</title>
<style>
@font-face{font-family:Bitter;font-weight:500 700;font-display:swap;src:url('polices/bitter-normal.woff2') format('woff2')}
@font-face{font-family:Outfit;font-weight:400 600;font-display:swap;src:url('polices/outfit-normal.woff2') format('woff2')}
:root{color-scheme:light;--sapin:#1f4d3a;--mousse:#6f8f5c;--calcaire:#f5f3ee;--pierre:#e4e0d6;--roche:#2b2f2c;--glacier:#6eb5bd;--gris:#5d635e;--chaud:#b5643c}
*{box-sizing:border-box}
body{margin:0;background:var(--calcaire);color:var(--roche);font:18px/1.6 Outfit,system-ui,sans-serif}
a{color:var(--sapin)}
header,main,footer{max-width:1100px;margin:0 auto;padding:0 24px}
header{padding-top:40px;padding-bottom:28px;border-bottom:1px solid #b9b4a6}
.kicker{color:var(--sapin);font-weight:600;margin:0 0 8px}
h1,h2,h3{font-family:Bitter,Georgia,serif;color:var(--sapin);line-height:1.15}
h1{font-size:clamp(40px,7vw,68px);margin:0 0 12px}
h2{font-size:34px;margin:56px 0 8px}
h3{font-size:22px;margin:0 0 6px}
.chapeau{font-size:20px;max-width:62ch;color:var(--gris);margin:0}
.intro{color:var(--gris);max-width:70ch;margin:0 0 24px}
.palette{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:16px}
.couleur{background:#fff;border:1px solid #a5afa1}
.couleur .pastille{height:150px;border-bottom:1px solid #a5afa1}
.couleur div{padding:16px 18px}
.couleur b{display:block;font-family:Bitter,Georgia,serif;font-size:22px;color:var(--roche)}
.couleur code{display:block;font:600 26px/1.3 ui-monospace,Consolas,monospace;margin:4px 0 6px;color:var(--roche)}
.couleur span{color:var(--gris);font-size:16px}
.polices{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:16px}
.carte{background:#fff;border:1px solid #a5afa1;padding:28px}
.geant{font-size:clamp(64px,12vw,120px);line-height:1;margin:8px 0 16px;color:var(--sapin)}
.bitter{font-family:Bitter,Georgia,serif;font-weight:700}
.outfit{font-family:Outfit,system-ui,sans-serif;font-weight:600}
.alphabet{font-size:22px;overflow-wrap:anywhere;margin:0 0 10px}
.role{color:var(--gris);margin:0}
.regles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}
.regle{background:#fff;border:1px solid #a5afa1;border-left:5px solid var(--sapin);padding:20px 22px}
.regle.non{border-left-color:var(--chaud)}
.regle p{margin:0}
.etiquette{display:inline-block;font-size:14px;font-weight:600;border:1px solid currentColor;padding:0 8px;margin-bottom:8px}
.oui .etiquette{color:var(--sapin)}.non .etiquette{color:var(--chaud)}
.donnees{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));gap:12px}
.donnee{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #a5afa1;padding:12px 14px}
.donnee i{width:36px;height:36px;flex:none;border:1px solid #a5afa1}
.ton{background:#fff;border:1px solid #a5afa1;padding:24px 28px}
.ton ul{margin:0;padding-left:22px}
.actions{margin:24px 0 0;display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.bouton{display:inline-block;background:var(--sapin);color:#fff;text-decoration:none;font-weight:600;padding:12px 18px;border:1px solid var(--sapin)}
.bouton:hover{background:#163a2b}
@media print{.actions{display:none}body{font-size:14px}h2{margin-top:28px;break-after:avoid}.couleur,.carte,.regle{break-inside:avoid}}
.brouillon{border:1px dashed var(--gris);padding:10px 14px;color:var(--gris);font-size:15px;margin:24px 0 0}
footer{margin-top:64px;padding-top:24px;padding-bottom:40px;border-top:1px solid #b9b4a6;color:var(--gris);font-size:16px}
:focus-visible{outline:3px solid var(--sapin);outline-offset:3px}
</style>
</head>
<body>
<header>
<p class="kicker">Météo Vercors</p>
<h1>Charte graphique</h1>
<p class="chapeau">Les couleurs, les polices et les règles qui donnent au site son allure. Simple, clair, lisible par tout le monde.</p>
<p class="actions"><a class="bouton" href="charte-vercors.pdf" download>Télécharger la charte (PDF)</a> <a href="./">Retour à la carte</a></p>
</header>
<main>
<h2>Couleurs</h2>
<p class="intro">Une palette figée, tirée des paysages du massif : la forêt, la prairie, le calcaire, la roche et la glace.</p>
<div class="palette">
<div class="couleur"><div class="pastille" style="background:#1f4d3a"></div><div><b>Sapin</b><code>#1F4D3A</code><span>Couleur principale : titres, liens, boutons.</span></div></div>
<div class="couleur"><div class="pastille" style="background:#6f8f5c"></div><div><b>Mousse</b><code>#6F8F5C</code><span>Accent doux : adhérents, détails.</span></div></div>
<div class="couleur"><div class="pastille" style="background:#f5f3ee"></div><div><b>Calcaire</b><code>#F5F3EE</code><span>Fond des pages.</span></div></div>
<div class="couleur"><div class="pastille" style="background:#e4e0d6"></div><div><b>Pierre</b><code>#E4E0D6</code><span>Séparations, cadres légers.</span></div></div>
<div class="couleur"><div class="pastille" style="background:#2b2f2c"></div><div><b>Roche</b><code>#2B2F2C</code><span>Texte principal.</span></div></div>
<div class="couleur"><div class="pastille" style="background:#5d635e"></div><div><b>Gris</b><code>#5D635E</code><span>Texte secondaire, dates.</span></div></div>
<div class="couleur"><div class="pastille" style="background:#6eb5bd"></div><div><b>Glacier</b><code>#6EB5BD</code><span>Froid, neige, stations.</span></div></div>
<div class="couleur"><div class="pastille" style="background:#b5643c"></div><div><b>Chaud</b><code>#B5643C</code><span>Chaleur, mises en garde.</span></div></div>
</div>
<h2>Polices</h2>
<p class="intro">Deux polices seulement, hébergées sur le site (aucun appel à un service extérieur).</p>
<div class="polices">
<div class="carte"><h3>Titres</h3><p class="geant bitter">Bitter</p><p class="alphabet bitter">Aa Bb Cc Éé Gg 0123456789</p><p class="role">Serif solide, pour les titres et les noms de stations.</p></div>
<div class="carte"><h3>Textes</h3><p class="geant outfit">Outfit</p><p class="alphabet outfit">Aa Bb Cc Éé Gg 0123456789</p><p class="role">Sans serif lisible, pour tout le reste : textes, boutons, chiffres.</p></div>
</div>
<h2>Couleurs des données</h2>
<p class="intro">Toujours les mêmes couleurs pour les mêmes mesures, sur la carte comme dans les graphiques.</p>
<div class="donnees">
<div class="donnee"><i style="background:#b5643c"></i>Température</div>
<div class="donnee"><i style="background:#6eb5bd"></i>Neige, froid</div>
<div class="donnee"><i style="background:#1f4d3a"></i>Pluie</div>
<div class="donnee"><i style="background:#6f8f5c"></i>Humidité</div>
<div class="donnee"><i style="background:#5d635e"></i>Vent</div>
</div>
<p class="brouillon">Correspondance des couleurs de données à confirmer avec les graphiques actuels du site.</p>
<h2>Règles</h2>
<div class="regles">
<div class="regle oui"><span class="etiquette">Oui</span><p><b>Accessible à tous.</b> Texte d’au moins 16 px, contrastes forts, focus clavier toujours visible.</p></div>
<div class="regle oui"><span class="etiquette">Oui</span><p><b>Thème clair uniquement.</b> Fond calcaire, texte roche.</p></div>
<div class="regle oui"><span class="etiquette">Oui</span><p><b>Angles droits.</b> Cadres fins, sans ombres fortes.</p></div>
<div class="regle non"><span class="etiquette">Non</span><p><b>Pas de mode sombre.</b></p></div>
<div class="regle non"><span class="etiquette">Non</span><p><b>Pas d’emoji dans l’interface.</b> Des pictogrammes dessinés, avec un texte à côté.</p></div>
<div class="regle non"><span class="etiquette">Non</span><p><b>Pas de couleur hors palette.</b></p></div>
</div>
<h2>Ton des textes</h2>
<div class="ton"><ul>
<li>On tutoie, avec des phrases courtes.</li>
<li>On dit ce qu’on mesure, sans exagérer.</li>
<li>Les unités sont toujours écrites : °C, mm, km/h.</li>
<li>En français d’abord ; anglais et allemand dans les paramètres.</li>
</ul></div>
</main>
<footer>© Théo Gastinel · Météo Vercors · <a href="./">Retour à la carte</a></footer>
</body>
</html>
+4 -3
Voir le fichier
@@ -421,6 +421,7 @@ a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(-
[data-aff=acces] .haut{width:52px;height:52px;border-width:2px;background:#fff}
[data-aff=acces] .haut svg{width:26px;height:26px}
/* ---------- paramètres (roue du pied de page) ---------- */
.pied-bas a{color:inherit}
.pied-bas{display:flex;justify-content:space-between;align-items:center;gap:10px 16px;flex-wrap:wrap}
.prm-ouvrir{display:inline-flex;align-items:center;gap:7px;font:inherit;font-size:11.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;line-height:1;color:#fff;background:none;border:1px solid #5d6166;border-radius:0;padding:7px 11px 7px 8px;cursor:pointer}
.prm-ouvrir:hover{background:#3b3e42;border-color:#9a9ea4}
@@ -652,7 +653,7 @@ html[data-aff=acces]{--gris:#3a3f3c;--pierre:#b9b4a6}
<p>SIRET <a href="https://entreprises.lefigaro.fr/nd-38/entreprise-104816749" rel="noopener">10481674900014</a></p>
</div>
</div>
<p class="pied-bas"><span>© Théo Gastinel · Météo Vercors</span><button type="button" class="prm-ouvrir" id="prm-ouvrir" aria-haspopup="dialog" aria-controls="prm"><svg viewBox="0 0 24 24" aria-hidden="true" fill="none" stroke="currentColor"><circle cx="12" cy="12" r="6.2" stroke-width="2"/><circle cx="12" cy="12" r="2.4" stroke-width="2"/><path stroke-width="2.6" d="M12 1.8v3.4M12 18.8v3.4M1.8 12h3.4M18.8 12h3.4M4.8 4.8l2.4 2.4M16.8 16.8l2.4 2.4M4.8 19.2l2.4-2.4M16.8 7.2l2.4-2.4"/></svg><span data-i18n="prm.titre">Paramètres</span></button></p>
<p class="pied-bas"><span>© Théo Gastinel · Météo Vercors · <a href="charte.html" data-i18n="pied.charte">Charte graphique</a></span><button type="button" class="prm-ouvrir" id="prm-ouvrir" aria-haspopup="dialog" aria-controls="prm"><svg viewBox="0 0 24 24" aria-hidden="true" fill="none" stroke="currentColor"><circle cx="12" cy="12" r="6.2" stroke-width="2"/><circle cx="12" cy="12" r="2.4" stroke-width="2"/><path stroke-width="2.6" d="M12 1.8v3.4M12 18.8v3.4M1.8 12h3.4M18.8 12h3.4M4.8 4.8l2.4 2.4M16.8 16.8l2.4 2.4M4.8 19.2l2.4-2.4M16.8 7.2l2.4-2.4"/></svg><span data-i18n="prm.titre">Paramètres</span></button></p>
</footer>
<button type="button" class="haut cache" id="haut" aria-label="Revenir en haut de la page" title="Revenir en haut" data-i18n-a="aria-label:haut.aria;title:haut.titre"><svg viewBox="0 0 24 24" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="2.4"><path d="M12 20V5M5 11.5 12 4.5l7 7"/></svg></button>
<noscript><p style="max-width:640px;margin:0 auto;padding:16px;font-family:system-ui">Météo Vercors a besoin de JavaScript pour afficher la carte et les relevés en direct. Les sources et les mentions légales sont sur la page <a href="a-propos.html">À propos</a>.</p></noscript>
@@ -778,7 +779,7 @@ const I18N = {
'pan.bilan': 'Week in review', 'pan.bilan.sous': 'records of the last 7 days', charge: 'Loading…',
'pied.accroche': 'Our own stations, local figures.',
'pied.donnees': 'Data: Météo-France (Licence Ouverte), ROMMA (with the association’s agreement), the Gastinel family’s stations (WeatherLink, ROMMA, Infoclimat). Base map: IGN, open licence.',
'pied.contact': 'Contact', 'pied.site': 'The site', 'pied.sources': 'Sources and licences', 'pied.mentions': 'Legal notice', 'pied.cgu': 'Terms of use', 'pied.confid': 'Privacy',
'pied.contact': 'Contact', 'pied.charte': 'Design guidelines', 'pied.site': 'The site', 'pied.sources': 'Sources and licences', 'pied.mentions': 'Legal notice', 'pied.cgu': 'Terms of use', 'pied.confid': 'Privacy',
'prm.titre': 'Settings', fermer: 'Close', 'prm.langue': 'Language', 'prm.affichage': 'Display', 'prm.acces': 'Accessibility', 'prm.normal': 'Normal', 'prm.mini': 'Minimal',
'prm.mouvement': 'Motion', 'prm.anim': 'Reduced animations', 'prm.anim.aide': 'By default, follows your device setting.',
'prm.intro': 'Map arrival animation', 'prm.intro.longue': 'Longer', 'prm.intro.normale': 'Normal', 'prm.intro.aucune': 'None',
@@ -858,7 +859,7 @@ const I18N = {
'pan.bilan': 'Wochenbilanz', 'pan.bilan.sous': 'Rekorde der letzten 7 Tage', charge: 'Wird geladen…',
'pied.accroche': 'Stationen von hier, Zahlen von hier.',
'pied.donnees': 'Daten: Météo-France (Licence Ouverte), ROMMA (mit Zustimmung des Vereins), Stationen der Familie Gastinel (WeatherLink, ROMMA, Infoclimat). Kartengrundlage: IGN, offene Lizenz.',
'pied.contact': 'Kontakt', 'pied.site': 'Die Website', 'pied.sources': 'Quellen und Lizenzen', 'pied.mentions': 'Impressum', 'pied.cgu': 'Nutzungsbedingungen', 'pied.confid': 'Datenschutz',
'pied.contact': 'Kontakt', 'pied.charte': 'Gestaltungsrichtlinien', 'pied.site': 'Die Website', 'pied.sources': 'Quellen und Lizenzen', 'pied.mentions': 'Impressum', 'pied.cgu': 'Nutzungsbedingungen', 'pied.confid': 'Datenschutz',
'prm.titre': 'Einstellungen', fermer: 'Schließen', 'prm.langue': 'Sprache', 'prm.affichage': 'Anzeige', 'prm.acces': 'Barrierefrei', 'prm.normal': 'Normal', 'prm.mini': 'Minimal',
'prm.mouvement': 'Bewegung', 'prm.anim': 'Weniger Animationen', 'prm.anim.aide': 'Standardmäßig wie die Einstellung des Geräts.',
'prm.intro': 'Ankunftsanimation der Karte', 'prm.intro.longue': 'Länger', 'prm.intro.normale': 'Normal', 'prm.intro.aucune': 'Keine',
+4 -3
Voir le fichier
@@ -421,6 +421,7 @@ a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(-
[data-aff=acces] .haut{width:52px;height:52px;border-width:2px;background:#fff}
[data-aff=acces] .haut svg{width:26px;height:26px}
/* ---------- paramètres (roue du pied de page) ---------- */
.pied-bas a{color:inherit}
.pied-bas{display:flex;justify-content:space-between;align-items:center;gap:10px 16px;flex-wrap:wrap}
.prm-ouvrir{display:inline-flex;align-items:center;gap:7px;font:inherit;font-size:11.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;line-height:1;color:#fff;background:none;border:1px solid #5d6166;border-radius:0;padding:7px 11px 7px 8px;cursor:pointer}
.prm-ouvrir:hover{background:#3b3e42;border-color:#9a9ea4}
@@ -652,7 +653,7 @@ html[data-aff=acces]{--gris:#3a3f3c;--pierre:#b9b4a6}
<p>SIRET <a href="https://entreprises.lefigaro.fr/nd-38/entreprise-104816749" rel="noopener">10481674900014</a></p>
</div>
</div>
<p class="pied-bas"><span>© Théo Gastinel · Météo Vercors</span><button type="button" class="prm-ouvrir" id="prm-ouvrir" aria-haspopup="dialog" aria-controls="prm"><svg viewBox="0 0 24 24" aria-hidden="true" fill="none" stroke="currentColor"><circle cx="12" cy="12" r="6.2" stroke-width="2"/><circle cx="12" cy="12" r="2.4" stroke-width="2"/><path stroke-width="2.6" d="M12 1.8v3.4M12 18.8v3.4M1.8 12h3.4M18.8 12h3.4M4.8 4.8l2.4 2.4M16.8 16.8l2.4 2.4M4.8 19.2l2.4-2.4M16.8 7.2l2.4-2.4"/></svg><span data-i18n="prm.titre">Paramètres</span></button></p>
<p class="pied-bas"><span>© Théo Gastinel · Météo Vercors · <a href="charte.html" data-i18n="pied.charte">Charte graphique</a></span><button type="button" class="prm-ouvrir" id="prm-ouvrir" aria-haspopup="dialog" aria-controls="prm"><svg viewBox="0 0 24 24" aria-hidden="true" fill="none" stroke="currentColor"><circle cx="12" cy="12" r="6.2" stroke-width="2"/><circle cx="12" cy="12" r="2.4" stroke-width="2"/><path stroke-width="2.6" d="M12 1.8v3.4M12 18.8v3.4M1.8 12h3.4M18.8 12h3.4M4.8 4.8l2.4 2.4M16.8 16.8l2.4 2.4M4.8 19.2l2.4-2.4M16.8 7.2l2.4-2.4"/></svg><span data-i18n="prm.titre">Paramètres</span></button></p>
</footer>
<button type="button" class="haut cache" id="haut" aria-label="Revenir en haut de la page" title="Revenir en haut" data-i18n-a="aria-label:haut.aria;title:haut.titre"><svg viewBox="0 0 24 24" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="2.4"><path d="M12 20V5M5 11.5 12 4.5l7 7"/></svg></button>
<noscript><p style="max-width:640px;margin:0 auto;padding:16px;font-family:system-ui">Météo Vercors a besoin de JavaScript pour afficher la carte et les relevés en direct. Les sources et les mentions légales sont sur la page <a href="a-propos.html">À propos</a>.</p></noscript>
@@ -778,7 +779,7 @@ const I18N = {
'pan.bilan': 'Week in review', 'pan.bilan.sous': 'records of the last 7 days', charge: 'Loading…',
'pied.accroche': 'Our own stations, local figures.',
'pied.donnees': 'Data: Météo-France (Licence Ouverte), ROMMA (with the association’s agreement), the Gastinel family’s stations (WeatherLink, ROMMA, Infoclimat). Base map: IGN, open licence.',
'pied.contact': 'Contact', 'pied.site': 'The site', 'pied.sources': 'Sources and licences', 'pied.mentions': 'Legal notice', 'pied.cgu': 'Terms of use', 'pied.confid': 'Privacy',
'pied.contact': 'Contact', 'pied.charte': 'Design guidelines', 'pied.site': 'The site', 'pied.sources': 'Sources and licences', 'pied.mentions': 'Legal notice', 'pied.cgu': 'Terms of use', 'pied.confid': 'Privacy',
'prm.titre': 'Settings', fermer: 'Close', 'prm.langue': 'Language', 'prm.affichage': 'Display', 'prm.acces': 'Accessibility', 'prm.normal': 'Normal', 'prm.mini': 'Minimal',
'prm.mouvement': 'Motion', 'prm.anim': 'Reduced animations', 'prm.anim.aide': 'By default, follows your device setting.',
'prm.intro': 'Map arrival animation', 'prm.intro.longue': 'Longer', 'prm.intro.normale': 'Normal', 'prm.intro.aucune': 'None',
@@ -858,7 +859,7 @@ const I18N = {
'pan.bilan': 'Wochenbilanz', 'pan.bilan.sous': 'Rekorde der letzten 7 Tage', charge: 'Wird geladen…',
'pied.accroche': 'Stationen von hier, Zahlen von hier.',
'pied.donnees': 'Daten: Météo-France (Licence Ouverte), ROMMA (mit Zustimmung des Vereins), Stationen der Familie Gastinel (WeatherLink, ROMMA, Infoclimat). Kartengrundlage: IGN, offene Lizenz.',
'pied.contact': 'Kontakt', 'pied.site': 'Die Website', 'pied.sources': 'Quellen und Lizenzen', 'pied.mentions': 'Impressum', 'pied.cgu': 'Nutzungsbedingungen', 'pied.confid': 'Datenschutz',
'pied.contact': 'Kontakt', 'pied.charte': 'Gestaltungsrichtlinien', 'pied.site': 'Die Website', 'pied.sources': 'Quellen und Lizenzen', 'pied.mentions': 'Impressum', 'pied.cgu': 'Nutzungsbedingungen', 'pied.confid': 'Datenschutz',
'prm.titre': 'Einstellungen', fermer: 'Schließen', 'prm.langue': 'Sprache', 'prm.affichage': 'Anzeige', 'prm.acces': 'Barrierefrei', 'prm.normal': 'Normal', 'prm.mini': 'Minimal',
'prm.mouvement': 'Bewegung', 'prm.anim': 'Weniger Animationen', 'prm.anim.aide': 'Standardmäßig wie die Einstellung des Geräts.',
'prm.intro': 'Ankunftsanimation der Karte', 'prm.intro.longue': 'Länger', 'prm.intro.normale': 'Normal', 'prm.intro.aucune': 'Keine',
+116
Voir le fichier
@@ -0,0 +1,116 @@
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="color-scheme" content="light">
<title>Charte graphique · Météo Vercors</title>
<style>
@font-face{font-family:Bitter;font-weight:500 700;font-display:swap;src:url('polices/bitter-normal.woff2') format('woff2')}
@font-face{font-family:Outfit;font-weight:400 600;font-display:swap;src:url('polices/outfit-normal.woff2') format('woff2')}
:root{color-scheme:light;--sapin:#1f4d3a;--mousse:#6f8f5c;--calcaire:#f5f3ee;--pierre:#e4e0d6;--roche:#2b2f2c;--glacier:#6eb5bd;--gris:#5d635e;--chaud:#b5643c}
*{box-sizing:border-box}
body{margin:0;background:var(--calcaire);color:var(--roche);font:18px/1.6 Outfit,system-ui,sans-serif}
a{color:var(--sapin)}
header,main,footer{max-width:1100px;margin:0 auto;padding:0 24px}
header{padding-top:40px;padding-bottom:28px;border-bottom:1px solid #b9b4a6}
.kicker{color:var(--sapin);font-weight:600;margin:0 0 8px}
h1,h2,h3{font-family:Bitter,Georgia,serif;color:var(--sapin);line-height:1.15}
h1{font-size:clamp(40px,7vw,68px);margin:0 0 12px}
h2{font-size:34px;margin:56px 0 8px}
h3{font-size:22px;margin:0 0 6px}
.chapeau{font-size:20px;max-width:62ch;color:var(--gris);margin:0}
.intro{color:var(--gris);max-width:70ch;margin:0 0 24px}
.palette{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:16px}
.couleur{background:#fff;border:1px solid #a5afa1}
.couleur .pastille{height:150px;border-bottom:1px solid #a5afa1}
.couleur div{padding:16px 18px}
.couleur b{display:block;font-family:Bitter,Georgia,serif;font-size:22px;color:var(--roche)}
.couleur code{display:block;font:600 26px/1.3 ui-monospace,Consolas,monospace;margin:4px 0 6px;color:var(--roche)}
.couleur span{color:var(--gris);font-size:16px}
.polices{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:16px}
.carte{background:#fff;border:1px solid #a5afa1;padding:28px}
.geant{font-size:clamp(64px,12vw,120px);line-height:1;margin:8px 0 16px;color:var(--sapin)}
.bitter{font-family:Bitter,Georgia,serif;font-weight:700}
.outfit{font-family:Outfit,system-ui,sans-serif;font-weight:600}
.alphabet{font-size:22px;overflow-wrap:anywhere;margin:0 0 10px}
.role{color:var(--gris);margin:0}
.regles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}
.regle{background:#fff;border:1px solid #a5afa1;border-left:5px solid var(--sapin);padding:20px 22px}
.regle.non{border-left-color:var(--chaud)}
.regle p{margin:0}
.etiquette{display:inline-block;font-size:14px;font-weight:600;border:1px solid currentColor;padding:0 8px;margin-bottom:8px}
.oui .etiquette{color:var(--sapin)}.non .etiquette{color:var(--chaud)}
.donnees{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));gap:12px}
.donnee{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #a5afa1;padding:12px 14px}
.donnee i{width:36px;height:36px;flex:none;border:1px solid #a5afa1}
.ton{background:#fff;border:1px solid #a5afa1;padding:24px 28px}
.ton ul{margin:0;padding-left:22px}
.brouillon{border:1px dashed var(--gris);padding:10px 14px;color:var(--gris);font-size:15px;margin:24px 0 0}
footer{margin-top:64px;padding-top:24px;padding-bottom:40px;border-top:1px solid #b9b4a6;color:var(--gris);font-size:16px}
:focus-visible{outline:3px solid var(--sapin);outline-offset:3px}
</style>
</head>
<body>
<header>
<p class="kicker">Météo Vercors</p>
<h1>Charte graphique</h1>
<p class="chapeau">Les couleurs, les polices et les règles qui donnent au site son allure. Simple, clair, lisible par tout le monde.</p>
<p class="brouillon">Aperçu temporaire, pas encore en ligne. Le PDF à télécharger viendra ensuite.</p>
</header>
<main>
<h2>Couleurs</h2>
<p class="intro">Une palette figée, tirée des paysages du massif : la forêt, la prairie, le calcaire, la roche et la glace.</p>
<div class="palette">
<div class="couleur"><div class="pastille" style="background:#1f4d3a"></div><div><b>Sapin</b><code>#1F4D3A</code><span>Couleur principale : titres, liens, boutons.</span></div></div>
<div class="couleur"><div class="pastille" style="background:#6f8f5c"></div><div><b>Mousse</b><code>#6F8F5C</code><span>Accent doux : adhérents, détails.</span></div></div>
<div class="couleur"><div class="pastille" style="background:#f5f3ee"></div><div><b>Calcaire</b><code>#F5F3EE</code><span>Fond des pages.</span></div></div>
<div class="couleur"><div class="pastille" style="background:#e4e0d6"></div><div><b>Pierre</b><code>#E4E0D6</code><span>Séparations, cadres légers.</span></div></div>
<div class="couleur"><div class="pastille" style="background:#2b2f2c"></div><div><b>Roche</b><code>#2B2F2C</code><span>Texte principal.</span></div></div>
<div class="couleur"><div class="pastille" style="background:#5d635e"></div><div><b>Gris</b><code>#5D635E</code><span>Texte secondaire, dates.</span></div></div>
<div class="couleur"><div class="pastille" style="background:#6eb5bd"></div><div><b>Glacier</b><code>#6EB5BD</code><span>Froid, neige, stations.</span></div></div>
<div class="couleur"><div class="pastille" style="background:#b5643c"></div><div><b>Chaud</b><code>#B5643C</code><span>Chaleur, mises en garde.</span></div></div>
</div>
<h2>Polices</h2>
<p class="intro">Deux polices seulement, hébergées sur le site (aucun appel à un service extérieur).</p>
<div class="polices">
<div class="carte"><h3>Titres</h3><p class="geant bitter">Bitter</p><p class="alphabet bitter">Aa Bb Cc Éé Gg 0123456789</p><p class="role">Serif solide, pour les titres et les noms de stations.</p></div>
<div class="carte"><h3>Textes</h3><p class="geant outfit">Outfit</p><p class="alphabet outfit">Aa Bb Cc Éé Gg 0123456789</p><p class="role">Sans serif lisible, pour tout le reste : textes, boutons, chiffres.</p></div>
</div>
<h2>Couleurs des données</h2>
<p class="intro">Toujours les mêmes couleurs pour les mêmes mesures, sur la carte comme dans les graphiques.</p>
<div class="donnees">
<div class="donnee"><i style="background:#b5643c"></i>Température</div>
<div class="donnee"><i style="background:#6eb5bd"></i>Neige, froid</div>
<div class="donnee"><i style="background:#1f4d3a"></i>Pluie</div>
<div class="donnee"><i style="background:#6f8f5c"></i>Humidité</div>
<div class="donnee"><i style="background:#5d635e"></i>Vent</div>
</div>
<p class="brouillon">Correspondance des couleurs de données à confirmer avec les graphiques actuels du site.</p>
<h2>Règles</h2>
<div class="regles">
<div class="regle oui"><span class="etiquette">Oui</span><p><b>Accessible à tous.</b> Texte d’au moins 16 px, contrastes forts, focus clavier toujours visible.</p></div>
<div class="regle oui"><span class="etiquette">Oui</span><p><b>Thème clair uniquement.</b> Fond calcaire, texte roche.</p></div>
<div class="regle oui"><span class="etiquette">Oui</span><p><b>Angles droits.</b> Cadres fins, sans ombres fortes.</p></div>
<div class="regle non"><span class="etiquette">Non</span><p><b>Pas de mode sombre.</b></p></div>
<div class="regle non"><span class="etiquette">Non</span><p><b>Pas d’emoji dans l’interface.</b> Des pictogrammes dessinés, avec un texte à côté.</p></div>
<div class="regle non"><span class="etiquette">Non</span><p><b>Pas de couleur hors palette.</b></p></div>
</div>
<h2>Ton des textes</h2>
<div class="ton"><ul>
<li>On tutoie, avec des phrases courtes.</li>
<li>On dit ce qu’on mesure, sans exagérer.</li>
<li>Les unités sont toujours écrites : °C, mm, km/h.</li>
<li>En français d’abord ; anglais et allemand dans les paramètres.</li>
</ul></div>
</main>
<footer>Météo Vercors · Théo Gastinel · Charte graphique, aperçu du 06/11/2026</footer>
</body>
</html>