Repository navigation
Expand file tree
/
Copy pathoffline.html
More file actions
69 lines (69 loc) · 1.71 KB
/
Copy pathoffline.html
File metadata and controls
69 lines (69 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="application-name" content="diekus">
<meta name="color-scheme" content="light dark">
<link rel="manifest" href="manifest.webmanifest">
<style>
:root {
--bg: #FFFCEB;
--text: #1E4458;
--accent: #0E5A85;
--muted: #123B54;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #041B2A;
--text: #ffffff;
--accent: #FFC93C;
--muted: #B4C9D6;
}
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: system-ui, -apple-system, sans-serif;
background-color: var(--bg);
color: var(--text);
min-block-size: 100dvh;
display: grid;
place-items: center;
padding: 2rem;
}
.offline-card {
text-align: center;
max-inline-size: 36ch;
}
.offline-mark {
font-size: clamp(3rem, 10vw, 5rem);
line-height: 1;
margin-block-end: 1rem;
color: var(--accent);
}
h1 {
font-size: clamp(1.25rem, 4vw, 1.75rem);
font-weight: 600;
margin-block-end: 0.5rem;
}
p {
color: var(--muted);
line-height: 1.6;
margin-block-end: 1.5rem;
}
a {
color: var(--accent);
text-decoration: none;
}
a:hover { text-decoration: underline; }
</style>
<title>Offline · diekus</title>
</head>
<body>
<div class="offline-card">
<div class="offline-mark" aria-hidden="true">◈</div>
<h1>You're offline</h1>
<p>This page isn't cached yet. Connect to the internet and <a href="/">try again</a>.</p>
</div>
</body>
</html>