-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path500.html
More file actions
110 lines (97 loc) · 3.06 KB
/
500.html
File metadata and controls
110 lines (97 loc) · 3.06 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
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
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>500 - Server Error</title>
<style>
:root {
--primary-color: #4f5558;
--secondary-color: #34383a;
--accent-color: #d68111;
--text-color: #ffffff;
--text-secondary: #9ba5aa;
--background-color: #0f0f0f;
--background-secondary: #1d2022;
--border-color: #171a1b;
--shadow: 0 1px 3px var(--accent-color);
--radius: 4px;
--spacing: 0.4rem;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
background-color: var(--background-color);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: var(--spacing);
color: var(--text-color);
}
.error-container {
background-color: var(--background-secondary);
padding: calc(var(--spacing) * 2.5);
border-radius: var(--radius);
box-shadow: var(--shadow);
text-align: center;
max-width: 480px;
width: 100%;
border: 1px solid var(--border-color);
}
.error-code {
font-size: 6rem;
font-weight: bold;
color: var(--accent-color);
line-height: 1;
margin-bottom: var(--spacing);
}
.error-title {
font-size: 1.5rem;
color: var(--text-color);
margin-bottom: var(--spacing);
}
.error-message {
color: var(--text-secondary);
margin-bottom: calc(var(--spacing) * 2);
line-height: 1.5;
}
.error-button {
display: inline-block;
background-color: var(--primary-color);
color: var(--text-color);
padding: calc(var(--spacing) * 0.75) calc(var(--spacing) * 1.5);
border-radius: var(--radius);
text-decoration: none;
font-weight: 500;
transition: all 0.2s;
}
.error-button:hover {
background-color: var(--secondary-color);
box-shadow: 0 0 4px var(--primary-color);
}
@media (max-width: 480px) {
.error-code {
font-size: 4rem;
}
.error-title {
font-size: 1.25rem;
}
}
</style>
</head>
<body>
<section class="card">
<div class="error-container">
<div class="error-code">500</div>
<h1 class="error-title">Server Error</h1>
<p class="error-message">Sorry, something went wrong at our end.</p>
<a href="/" class="error-button">Go Back Home</a>
</div>
</section>
</body>
</html>