-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
72 lines (66 loc) · 1.83 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Error 404 - Page Not Found</title>
<link rel="stylesheet" href="assets/styles.css">
<style>
body {
font-family: 'Arial', sans-serif;
background-color: #1a1a1a;
color: #ffffff;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
text-align: center;
}
.error-message {
max-width: 600px;
padding: 20px;
border-radius: 10px;
background-color: #0f0f0f;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.error-message h2 {
font-size: 3rem;
color: #ff0000;
margin-bottom: 20px;
}
.error-message p {
font-size: 1.5rem;
line-height: 1.6;
}
.back-button {
margin-top: 20px;
padding: 10px 20px;
font-size: 1rem;
border: none;
border-radius: 5px;
background-color: #61dafb;
color: #1a1a1a;
cursor: pointer;
transition: background-color 0.3s ease;
}
.back-button:hover {
background-color: #ffffff;
color: #1a1a1a;
}
</style>
</head>
<body>
<script src="assets/redirect.js"></script>
<div class="error-message">
<h2>Error 404 - Page Not Found</h2>
<p>The page you are looking for could not be found.</p>
<button class="back-button" onclick="goBack()">Go Back</button>
</div>
<script>
function goBack() {
window.history.back();
}
</script>
</body>
</html>