-
Notifications
You must be signed in to change notification settings - Fork 0
/
404Error.html
113 lines (101 loc) · 2.36 KB
/
404Error.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>404 Error - Page Not Found</title>
<link
href="https://fonts.googleapis.com/css2?&family=Poppins&family=Raleway&display=swap"
rel="stylesheet"
/>
<style>
body {
margin: 0;
padding: 0;
overflow: hidden;
}
.container {
text-align: center;
margin: 0 auto;
font-family: "Poppins", sans-serif;
}
.error h1 {
font-size: 10em;
margin: 0 0 -60px 0;
animation: float 2s infinite;
}
@keyframes float {
0%,
100% {
transform: translateY(-10px);
}
50% {
transform: translateY(10px);
}
}
.error h3 {
font-weight: 700;
margin-bottom: 20px;
margin-top: 0;
}
.error p {
font-size: 18px;
color: rgb(106, 106, 106);
margin-bottom: 30px !important;
}
.home-button {
padding: 8px 20px;
border: none;
background: rgb(43, 183, 147);
text-decoration: none;
color: #fff;
font-size: 1.05em;
font-family: "Poppins", sans-serif;
font-weight: bold;
border-radius: 5px;
transition: background-color 0.3s, color 0.3s;
}
.home-button:hover {
box-shadow: 0px 2px 3px rgb(0, 0, 0, 0.4);
}
img {
width: 550px;
height: 360px;
}
@media (max-width: 768px) {
.container{
margin-top: 200px;
padding: 10px;
}
.error h1 {
font-size: 0;
margin: 0;
}
.error h3 {
margin-bottom: 10px;
}
.error p {
font-size: 16px;
}
.home-button {
padding: 8px 15px;
font-size: 0.9em;
}
img {
width: 250px;
height: 180px;
}
}
</style>
</head>
<body>
<div class="container">
<div class="error">
<h1><img src="./images/404-error-page.png" alt="page-not-found" /></h1>
<h3>OOPS!</h3>
<p>Looks like the page you’re looking for doesn’t exist</p>
<a href="/" class="home-button">Go Home</a>
</div>
</div>
</body>
</html>