Skip to content

Commit 732bf93

Browse files
Leimmingzclaude
andcommitted
Une page 404 propre, sur le theme de chaque marque
GitHub Pages sert une page blanche generique sur toute adresse introuvable. Chacune des six pages reprend les couleurs, le logo et le theme clair/sombre du site — sans reintroduire aucun des tics releves cette semaine : pas de degrade anime sur le texte, pas d aurore, pas de sweep sur les boutons. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 75c6528 commit 732bf93

1 file changed

Lines changed: 81 additions & 0 deletions

File tree

docs/404.html

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
<title>Page not found — Ohmnia</title>
7+
<meta name="robots" content="noindex">
8+
<script>
9+
(function () {
10+
try {
11+
var choix = localStorage.getItem('ohmnia-theme')
12+
var sombre = choix ? choix === 'sombre'
13+
: !matchMedia('(prefers-color-scheme: light)').matches
14+
document.documentElement.setAttribute('data-theme', sombre ? 'sombre' : 'clair')
15+
} catch (e) { /* private browsing: follow the system setting */ }
16+
})()
17+
</script>
18+
<style>
19+
:root {
20+
--bg: #0d1117; --card: #1a2130; --border: rgba(255,255,255,.09);
21+
--fg: #e7ecf3; --fg-dim: #9aa7b8;
22+
--grad: linear-gradient(120deg, #1BE7B6, #0E9CD9);
23+
--radius: 4px; --ease: cubic-bezier(.16, 1, .3, 1);
24+
}
25+
:root[data-theme="clair"] {
26+
--bg: #f6f8fa; --card: #ffffff; --border: rgba(13,17,23,.12);
27+
--fg: #131a24; --fg-dim: #4e5b6d;
28+
}
29+
* { box-sizing: border-box; }
30+
body {
31+
margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center;
32+
background: var(--bg); color: var(--fg);
33+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
34+
text-align: center; padding: 24px;
35+
}
36+
.carte { max-width: 26rem; }
37+
.brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 40px; }
38+
.brand span { font-weight: 600; font-size: 19px; letter-spacing: -.01em; color: var(--fg); }
39+
h1 { font-size: 15px; font-weight: 600; letter-spacing: .14em; color: var(--fg-dim); margin: 0 0 6px; }
40+
p.grand { font-size: 74px; font-weight: 700; line-height: 1; margin: 0 0 18px; letter-spacing: -.03em; }
41+
p.texte { color: var(--fg-dim); font-size: 16px; line-height: 1.6; margin: 0 0 32px; }
42+
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
43+
a.btn {
44+
display: inline-flex; align-items: center; justify-content: center;
45+
padding: 12px 20px; border-radius: var(--radius); font-weight: 600; font-size: 15px;
46+
text-decoration: none; transition: filter .3s var(--ease);
47+
}
48+
a.btn.plein { background: var(--grad); color: #062b33; }
49+
a.btn.discret { background: transparent; color: var(--fg); border: 1px solid var(--border); }
50+
a.btn:hover { filter: brightness(1.08); }
51+
</style>
52+
</head>
53+
<body>
54+
<div class="carte">
55+
<a class="brand" href="./">
56+
<svg width="30" height="30" viewBox="0 0 64 64" fill="none" aria-hidden="true">
57+
<defs>
58+
<linearGradient id="ohm-a" x1="0" y1="0" x2="64" y2="64" gradientUnits="userSpaceOnUse">
59+
<stop stop-color="#1BE7B6"/><stop offset="1" stop-color="#0E9CD9"/>
60+
</linearGradient>
61+
</defs>
62+
<rect x="2" y="2" width="60" height="60" rx="16" fill="url(#ohm-a)"/>
63+
<path d="M20 47c6-3 7.5-7 5-13.5C22.5 26 25 17 32 17s9.5 9 7 16.5C36.5 40 38 44 44 47" stroke="#062B33" stroke-width="4.6" stroke-linecap="round" stroke-linejoin="round"/>
64+
<path d="M15.5 47h7M41.5 47h7" stroke="#062B33" stroke-width="4.6" stroke-linecap="round"/>
65+
<circle cx="12" cy="20" r="2.6" fill="#062B33"/>
66+
<path d="M12 20h6" stroke="#062B33" stroke-width="2.4" stroke-linecap="round"/>
67+
<circle cx="52" cy="20" r="2.6" fill="#062B33"/>
68+
<path d="M52 20h-6" stroke="#062B33" stroke-width="2.4" stroke-linecap="round"/>
69+
</svg>
70+
<span>Ohmnia</span>
71+
</a>
72+
<h1>404 — PAGE NOT FOUND</h1>
73+
<p class="grand">Nothing here.</p>
74+
<p class="texte">The page you're looking for doesn't exist, or has moved. Ohmnia itself is unaffected — this is just a stray link.</p>
75+
<div class="actions">
76+
<a class="btn plein" href="./">Back to Ohmnia</a>
77+
<a class="btn discret" href="guide.html">Getting started guide</a>
78+
</div>
79+
</div>
80+
</body>
81+
</html>

0 commit comments

Comments
 (0)