-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
109 lines (103 loc) · 2.17 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
<!DOCTYPE html>
<html>
<head>
<title>404 | Sven Parker</title>
<meta name="description" content="404 Error" />
<style>
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
font-size: 62.5%;
}
nav {
position: fixed;
top: 20px;
left: 20px;
margin: 20px;
min-width: 100px;
background-color: rgba(0, 0, 0, 0.5);
padding: 10px;
}
nav a, nav p {
color: white;
text-align: center;
font-family: monospace;
}
nav a { font-size: 3.6rem; }
nav p { font-size: 2.4rem; }
.stripebox {
/* previous syntax */
display: -webkit-box;
display: -moz-box;
display: -ms-box;
display: box;
-webkit-box-orient: horizontal;
-moz-box-orient: horizontal;
-ms-box-orient: horizontal;
box-orient: horizontal;
/* current syntax */
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: flex;
-webkit-flex-direction: row;
-moz-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
flex-wrap: nowrap;
align-items: stretch;
width: 100%;
height: 100%;
}
.stripe {
display: flex;
flex-grow: 1;
flex-shrink: 0;
}
.yellow {
background-color: #f1c40f;
}
.cyan {
background-color: #1abc9c;
}
.green {
background-color: #2ecc71;
}
.red {
background-color: #c0392b;
}
.magenta {
background-color: #8e44ad;
}
.blue {
background-color: #2980b9;
}
.black {
background-color: #2c3e50;
}
</style>
</head>
<body>
<header>
<nav>
<a href="javascript:history.back()">←Go back</a>
<p style="font-weight: bold;">Classic Error 404</p>
<p>You seem to have broken the internet.</p>
<p>Please go back!</p>
</nav>
</header>
<main class="stripebox">
<div class="stripe yellow"></div>
<div class="stripe cyan"></div>
<div class="stripe green"></div>
<div class="stripe red"></div>
<div class="stripe magenta"></div>
<div class="stripe blue"></div>
<div class="stripe black"></div>
</main>
<footer>
</footer>
</body>
</html>