-
Notifications
You must be signed in to change notification settings - Fork 1
/
error.php
105 lines (91 loc) · 2.16 KB
/
error.php
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
<?php
echo "Oopz! an error occured";
if($_GET["error"] == '404'){
echo "Page Not Found";
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>(404) The page you were looking for doesn't exist.</title>
<style type="text/css">
html,
body {
margin: 0;
padding: 0;
height: 100%;
}
body {
font-family: "Whitney SSm A", "Whitney SSm B", "Helvetica Neue", Helvetica, Arial, Sans-Serif;
background-color: #2D72D9;
color: #fff;
-moz-font-smoothing: antialiased;
-webkit-font-smoothing: antialiased;
}
.error-container {
text-align: center;
height: 100%;
}
@media (max-width: 480px) {
.error-container {
position: relative;
top: 50%;
height: initial;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
}
.error-container h1 {
margin: 0;
font-size: 130px;
font-weight: 300;
}
@media (min-width: 480px) {
.error-container h1 {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
}
@media (min-width: 768px) {
.error-container h1 {
font-size: 220px;
}
}
.return {
color: rgba(255, 255, 255, 0.6);
font-weight: 400;
letter-spacing: -0.04em;
margin: 0;
}
@media (min-width: 480px) {
.return {
position: absolute;
width: 100%;
bottom: 30px;
}
}
.return a {
padding-bottom: 1px;
color: #fff;
text-decoration: none;
border-bottom: 1px solid rgba(255, 255, 255, 0.6);
-webkit-transition: border-color 0.1s ease-in;
transition: border-color 0.1s ease-in;
}
.return a:hover {
border-bottom-color: #fff;
}
</style>
</head>
<body>
<div class="error-container">
<h1>404</h1>
<p class="return">Take me back to <a href="/">Home/a></p>
</div>
</body>
</html>