-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
101 lines (91 loc) · 2.41 KB
/
404.html
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Service Unavailable</title>
<style>
@media (prefers-color-scheme: dark) {
:root {
--bg-color: #121212;
--text-color: #e0e0e0;
--secondary-color: #888;
}
}
@media (prefers-color-scheme: light) {
:root {
--bg-color: #ffffff;
--text-color: #333333;
--secondary-color: #666;
}
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2rem;
transition: background-color 0.3s, color 0.3s;
}
.container {
text-align: center;
max-width: 600px;
}
.error-code {
font-size: clamp(4rem, 15vw, 8rem);
font-weight: 700;
margin-bottom: 1rem;
line-height: 1;
}
.error-title {
font-size: clamp(1.5rem, 5vw, 2rem);
margin-bottom: 1rem;
}
.error-message {
color: var(--secondary-color);
font-size: clamp(1rem, 3vw, 1.2rem);
margin-bottom: 2rem;
line-height: 1.5;
}
.home-link {
display: inline-block;
padding: 0.8em 1.6em;
background-color: var(--text-color);
color: var(--bg-color);
text-decoration: none;
border-radius: 8px;
font-weight: 500;
transition: opacity 0.2s;
}
.home-link:hover {
opacity: 0.9;
}
@media (max-width: 480px) {
.container {
padding: 0 1rem;
}
}
</style>
</head>
<body>
<div class="container">
<div class="error-code">503</div>
<h1 class="error-title">Service Unavailable</h1>
<p class="error-message">
We're currently performing some maintenance to serve you better. Please
check back soon—thank you for your patience!
</p>
<a href="/" class="home-link">Try Again</a>
</div>
</body>
</html>