Skip to content

Commit 4f73357

Browse files
Added a minimalist error page
1 parent d0ff9a0 commit 4f73357

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

404.html

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Page Not Found</title>
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<style>
8+
9+
* {
10+
line-height: 1.2;
11+
margin: 0;
12+
}
13+
14+
html {
15+
color: #888;
16+
display: table;
17+
font-family: sans-serif;
18+
height: 100%;
19+
text-align: center;
20+
width: 100%;
21+
}
22+
23+
body {
24+
display: table-cell;
25+
vertical-align: middle;
26+
margin: 2em auto;
27+
}
28+
29+
h1 {
30+
color: #555;
31+
font-size: 2em;
32+
font-weight: 400;
33+
}
34+
35+
p {
36+
margin: 0 auto;
37+
width: 280px;
38+
}
39+
40+
@media only screen and (max-width: 280px) {
41+
42+
body, p {
43+
width: 95%;
44+
}
45+
46+
h1 {
47+
font-size: 1.5em;
48+
margin: 0 0 0.3em;
49+
}
50+
51+
}
52+
53+
</style>
54+
</head>
55+
<body>
56+
<h1>Page Not Found</h1>
57+
<p>Sorry, but the page you were trying to view does not exist.</p>
58+
</body>
59+
</html>
60+
<!-- IE needs 512+ bytes: http://blogs.msdn.com/b/ieinternals/archive/2010/08/19/http-error-pages-in-internet-explorer.aspx -->

0 commit comments

Comments
 (0)