-
Notifications
You must be signed in to change notification settings - Fork 1
/
404.html
269 lines (245 loc) · 5.1 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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Author : We Sort | Ben Edmonds | wesort.co.uk
https://github.com/wesort/simple-website -->
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>404 - Page not found</title>
<meta name="robots" content="NOINDEX, NOFOLLOW">
<link rel="icon" type="image/png" sizes="200x200" href="/favicon.png" />
<meta http-equiv="refresh" content="2;url=/" />
<!-- CSS Reset -->
<style type="text/css">
/* by Andy Bell - https://dev.to/hankchizljaw/a-modern-css-reset-6p3 */
/* Box sizing rules */
*,
*::before,
*::after {
box-sizing: border-box;
}
/* Remove default padding */
ul[class],
ol[class] {
padding: 0;
}
/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
margin: 0;
}
/* Set core body defaults */
body {
min-height: 100vh;
scroll-behavior: smooth;
text-rendering: optimizeSpeed;
line-height: 1.5;
}
/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
list-style: none;
}
/* A elements that don't have a class get default styles */
a:not([class]) {
text-decoration-skip-ink: auto;
}
/* Make images easier to work with */
img {
max-width: 100%;
display: block;
}
/* Natural flow and rhythm in articles by default */
article > * + * {
/*margin-top: 1em;*/
}
/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
font: inherit;
}
/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
/* Further defaults by We Sort. */
u {
text-decoration: none;
border-bottom: 2px solid;
}
.ie-only {
font-size: 1rem;
color: red;
background: white;
}
</style>
<!-- Brand Styles -->
<style type="text/css">
/* Font */
@import url('https://fonts.googleapis.com/css?family=Work+Sans&display=swap');
body {
font-family: 'Work Sans', Verdana, sans-serif; /* Font */
background-color: #c6d3dc; /* Site background */
color: #283f52; /* Text colour */
font-size: 1.35rem; /* Text size */
padding: 1rem;
max-width: 52rem;
margin-left: auto;
margin-right: auto;
}
body * + * {
margin-top: 2rem; /* Adds consistent verical space between elements */
/* https://alistapart.com/article/axiomatic-css-and-lobotomized-owls/ */
}
.no-margin-top-within * {
margin-bottom: 0;
}
.mb-double {
margin-top: 2rem;
}
h1, h2, h3, h4, h5, p {
font-size: inherit; /* Uniform font size */
font-weight: inherit; /* Uniform font weight */
}
a {
color: #11578e; /* hyperlink colour */
text-decoration: none;
border-bottom: 2px solid; /* could set different line weight */
}
a:hover {
color: #a72a03; /* Different text colour on hover */
}
.social-icons .icon {
display: inline-block;
width: 1em;
height: 1em;
margin-right: 1rem;
}
.social-icons .icon:last-child {
margin-right: 0;
}
/* fill colour set in each .svg file
OR, the svgs could be inlined and :hover styles can be added
.social-icon svg {
fill: #11578e;
}
*/
/* Responsive grid system with floats */
.grid-wrap {
margin-left: -2rem; /* -- Sets the baseline gutter -- */
overflow: hidden;
clear: both;
}
.grid-col {
padding-left: 2rem; /* -- Sets the baseline gutter -- */
float: left;
width: 100%;
}
/* BP2:Breakpoint 2 */
@media all and (min-width: 35em) {
body {
font-size: 2rem;
padding: 2rem;
}
.bp2-col-1-2 {
width: 50%;
}
}
</style>
<!-- loading spinner -->
<style>
.loader,
.loader:before,
.loader:after {
background: #283f52; /* loader colour */
-webkit-animation: load1 1s infinite ease-in-out;
animation: load1 1s infinite ease-in-out;
width: 1em;
height: 4em;
}
.loader {
color: #283f52; /* loader colour */
text-indent: -9999em;
margin: 88px auto;
position: relative;
font-size: 0.35rem;
-webkit-transform: translateZ(0);
-ms-transform: translateZ(0);
transform: translateZ(0);
-webkit-animation-delay: -0.16s;
animation-delay: -0.16s;
}
.loader:before,
.loader:after {
position: absolute;
top: 0;
content: '';
}
.loader:before {
left: -1.5em;
-webkit-animation-delay: -0.32s;
animation-delay: -0.32s;
}
.loader:after {
left: 1.5em;
}
@-webkit-keyframes load1 {
0%,
80%,
100% {
box-shadow: 0 0;
height: 4em;
}
40% {
box-shadow: 0 -2em;
height: 5em;
}
}
@keyframes load1 {
0%,
80%,
100% {
box-shadow: 0 0;
height: 4em;
}
40% {
box-shadow: 0 -2em;
height: 5em;
}
}
</style>
</head>
<body>
<h1>404 Error</h1>
<p>This page simply does not exist. Hold on a sec…</p>
<div class="loader"></div>
<script>
// Make all external links open in new window
window.onload = function () {
for(var tagArray = document.getElementsByTagName("a"), index = 0;index < tagArray.length;index++) {
var b = tagArray[index];
b.getAttribute("href") && b.hostname !== location.hostname && (b.target = "_blank") && (b.rel = "noopener")
}
};
</script>
</body>
</html>