Files
Claude 1e8705e74b
deploy / deploy (push) Successful in 39s
Corrections du testeur « connexion, réglages, double authentification »
- Double authentification : le QR code s'affiche (SVG brut du serveur converti en image) ; un code faux
  à l'activation affiche « Code incorrect ou expiré » au lieu d'une erreur 422 ; la désactivation demande confirmation
- Mode découverte : « Écrire un avis » demande un compte avant de taper (le texte n'est plus perdu) ;
  le bouton retour depuis l'écran de connexion ramène au mode découverte au lieu de quitter le site ;
  Sauvegarde / Stockage / Zone sensible masqués (l'import annonçait un succès sans rien importer) ;
  accueil vide avec un texte propre au mode découverte ; mention « reste sur ton téléphone » retirée
- Pages légales et 404 : suivent l'apparence choisie dans l'app (clair / sombre)
- Actions irréversibles (effacer, supprimer, bloquer, quitter une liste) : bouton rouge
- « Oui / Non » traduits dans le signalement de bug ; tutoiement partout
- Écran de connexion sur mobile : marge du haut rétablie ; invitation à créer un compte : le focus va au bouton

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
2026-11-28 09:17:27 +00:00

73 lines
3.4 KiB
CSS

/* Bobinoo — pages publiques (confidentialité, conditions, mentions, crédits, 404) : thème « Encre », clair ou sombre selon l'appareil */
@font-face {
font-family: 'Epilogue';
src: url('/fonts/epilogue.woff2') format('woff2');
font-weight: 100 900;
font-display: swap;
}
:root {
color-scheme: light dark;
--bg: #fefdfb;
--ink: #0d0d0d;
--ink-2: #383838;
--ink-3: #525252;
--line: #dbdbd8;
--accent: #00746d;
--on-accent: #ffffff;
}
/* Sombre : selon l'appareil, sauf si l'app a été réglée sur « Clair » ; ou si elle a été réglée sur « Sombre » */
@media (prefers-color-scheme: dark) {
:root:not([data-theme='light']) {
--bg: #090909;
--ink: #f2f2f0;
--ink-2: #c4c4c4;
--ink-3: #989898;
--line: #2b2b2b;
--accent: #53bfb6;
--on-accent: #062b28;
}
}
:root[data-theme='dark'] {
--bg: #090909;
--ink: #f2f2f0;
--ink-2: #c4c4c4;
--ink-3: #989898;
--line: #2b2b2b;
--accent: #53bfb6;
--on-accent: #062b28;
}
:root[data-theme='light'] { color-scheme: light; }
:root[data-theme='dark'] { color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 'Epilogue', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
main { max-width: 680px; margin: 0 auto; padding: 40px 20px 80px; }
.brand { display: inline-block; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand span { color: var(--accent); }
nav.pages { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0 36px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); font-size: .9rem; }
nav.pages a { color: var(--ink-3); text-decoration: none; }
nav.pages a[aria-current='page'] { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--accent); }
h1 { font-size: 2rem; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 6px; }
.updated { color: var(--ink-3); font-size: .875rem; margin: 0 0 8px; }
h2 { font-size: 1.15rem; margin: 40px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
h3 { font-size: 1rem; margin: 22px 0 4px; }
p, li { color: var(--ink-2); }
ul { padding-left: 1.2em; }
li { margin: 6px 0; }
strong { color: var(--ink); }
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.en { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; }
.en h2 { border: 0; margin-top: 0; font-size: 1rem; }
footer { margin-top: 48px; font-size: .9rem; }
/* Page 404 */
.notfound { min-height: 100dvh; display: grid; place-items: center; text-align: center; }
.notfound main { padding: 48px 20px; max-width: 520px; }
.code { font-size: clamp(6rem, 28vw, 11rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; margin: 0; color: var(--line); }
.code span { color: var(--accent); }
.btn { display: inline-block; margin-top: 8px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 2px; }
/* Tableaux (confidentialité) */
.table-wrap { overflow-x: auto; margin: 12px 0; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
th { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }