-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
180 lines (163 loc) · 4 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<!DOCTYPE html>
<!-- Created By Giocoliere -->
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>404 Error | Creepercraft</title>
<link rel="shortcut icon" href="/assets/img/favicon.ico" />
<style>
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
:root {
--primary-orange: #ffa500;
--secondary-orange: #ff8c00;
--dark-bg: #111111;
--text-white: #ffffff;
}
* {
margin: 0;
padding: 0;
outline: none;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
min-height: 100vh;
background: -webkit-repeating-linear-gradient(-45deg, #1a1a1a, #000000, #262626, #1a1a1a);
background-size: 400%;
}
#error-page {
position: fixed;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
min-height: 100vh;
}
.content {
background: var(--dark-bg);
box-shadow: 0px 5px 20px rgba(255, 165, 0, 0.2);
padding: clamp(1.5rem, 5vw, 3rem);
border-radius: 1rem;
width: min(90%, 600px);
text-align: center;
}
.header {
font-size: clamp(4rem, 20vw, 12rem);
line-height: 1;
position: relative;
margin-bottom: 0.5em;
display: inline-block; /* Makes the container fit the content */
width: 100%;
}
.header:after {
position: absolute;
content: attr(data-text);
inset: 0;
background: -webkit-repeating-linear-gradient(
-45deg,
var(--primary-orange),
var(--secondary-orange),
#ff7f00,
var(--primary-orange)
);
background-size: 400%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
animation: animate 10s ease-in-out infinite;
width: 100%;
display: block;
}
@keyframes animate {
0%, 100% { background-position: 0 0; }
25% { background-position: 100% 0; }
50% { background-position: 100% 100%; }
75% { background-position: 0% 100%; }
}
.content h4 {
font-size: clamp(1.2rem, 4vw, 2rem);
margin-bottom: 1rem;
text-transform: uppercase;
color: var(--primary-orange);
position: relative;
display: inline-block; /* Makes the container fit the content */
}
.content h4:after {
position: absolute;
content: attr(data-text);
inset: 0;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
width: 100%;
display: block;
}
.content p {
font-size: clamp(0.9rem, 3vw, 1.2rem);
color: var(--text-white);
margin-bottom: 1.5rem;
line-height: 1.6;
}
.btns {
display: flex;
flex-wrap: wrap;
gap: 1rem;
justify-content: center;
margin: 1.5rem 0;
}
.btns a {
flex: 1;
min-width: min(100%, 200px);
text-decoration: none;
border: 2px solid var(--primary-orange);
color: var(--primary-orange);
font-weight: 500;
padding: 0.75rem 1.5rem;
border-radius: 25px;
text-transform: uppercase;
transition: all 0.3s ease;
font-size: clamp(0.8rem, 2vw, 1rem);
white-space: nowrap;
}
.btns a:hover {
background: linear-gradient(45deg, var(--primary-orange), var(--secondary-orange));
border-color: transparent;
color: var(--dark-bg);
box-shadow: 0 0 15px rgba(255, 165, 0, 0.3);
transform: translateY(-2px);
}
@media (max-width: 480px) {
.content {
padding: 1rem;
}
.btns {
flex-direction: column;
}
.btns a {
width: 100%;
}
}
</style>
</head>
<body>
<div id="error-page">
<div class="content">
<h2 class="header" data-text="404">
404
</h2>
<h4 data-text="Opps! Page not found">
Opps! Page not found
</h4>
<p>
Sorry, the page you are looking for doesn't exist or is not ready at the moment. If you think it is a mistake or that there is an error, please report us the problem.
</p>
<div class="btns">
<a href="/">Back to the Homepage</a>
<a href="/discord">Report a problem</a>
</div>
</div>
</div>
</body>
</html>