-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
133 lines (120 loc) · 3.37 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>404</title>
<style>
@import url("https://fonts.googleapis.com/css?family=Nunito+Sans");
:root {
--blue: #0e0620;
--white: #fff;
--green: #2ccf6d;
}
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
body {
display: -webkit-box;
display: flex;
-webkit-box-align: center;
align-items: center;
-webkit-box-pack: center;
justify-content: center;
font-family: "Nunito Sans";
color: var(--blue);
font-size: 1em;
}
button {
font-family: "Nunito Sans";
}
ul {
list-style-type: none;
-webkit-padding-start: 35px;
padding-inline-start: 35px;
}
svg {
width: 100%;
visibility: hidden;
}
h1 {
font-size: 7.5em;
margin: 15px 0px;
font-weight: bold;
}
h2 {
font-weight: bold;
}
.btn {
z-index: 1;
overflow: hidden;
background: transparent;
position: relative;
padding: 8px 50px;
border-radius: 30px;
cursor: pointer;
font-size: 1em;
letter-spacing: 2px;
-webkit-transition: 0.2s ease;
transition: 0.2s ease;
font-weight: bold;
margin: 5px 0px;
}
.btn.green {
border: 4px solid var(--green);
color: var(--blue);
}
.btn.green:before {
content: "";
position: absolute;
left: 0;
top: 0;
width: 0%;
height: 100%;
background: var(--green);
z-index: -1;
-webkit-transition: 0.2s ease;
transition: 0.2s ease;
}
.btn.green:hover {
color: var(--white);
background: var(--green);
-webkit-transition: 0.2s ease;
transition: 0.2s ease;
}
.btn.green:hover:before {
width: 100%;
}
@media screen and (max-width: 768px) {
body {
display: block;
}
.container {
margin-top: 70px;
margin-bottom: 70px;
}
}
</style>
</head>
<body>
<main>
<div class="container">
<div class="row">
<div class="col-md-6 align-self-center">
<h1>404</h1>
<h2>UH OH! You're lost.</h2>
<p>The page you are looking for does not exist.
How you got here is a mystery. But you can click the button below
to go back to the homepage.
</p>
<button class="btn green" onclick="(function click(e) {window.location.href= '/'})()">HOME</button>
</div>
</div>
</div>
</main>
</body>
</html>