-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy path404.html
83 lines (78 loc) · 1.87 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>404 - Page Not Found</title>
<style>
body {
font-family: sans-serif;
background-image: linear-gradient(15deg, #13547a 0%, #80d0c7 100%);
color: #ffffff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
height: 100vh;
}
.container {
width: fit-content;
height: fit-content;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 1rem;
}
p {
line-height: 1rem;
}
.heading {
font-size: 2.2rem;
font-weight: 600;
margin: 2px 0;
}
.subheading {
font-size: 1.2rem;
}
a {
text-decoration: none;
padding: 10px 20px;
color: #000000;
background-color: #71bfbd;
border-radius: 5px;
font-weight: bold;
transition: background-color 0.3s;
}
a:hover {
background-color: #13547A;
color: #fff;
}
@media screen and (max-width: 750px) {
.illustration {
width: 19rem;
}
}
@media screen and (min-width: 751px) {
.illustration {
width: 30rem;
}
}
.illustration img {
width: 100%;
}
</style>
</head>
<body>
<div class="container">
<div class="illustration">
<img src="./images/robot-state-3.png" alt="error-404-img" />
</div>
<p class="heading">Oops!</p>
<p class="subheading">We couldn't find the page you're looking for.</p>
<a href="/">Go Home</a>
</div>
</div>
</body>
</html>