-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.php
121 lines (99 loc) · 2.42 KB
/
404.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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<!--
Thanks to Jerome for this minimalistic 404 page.
https://codepen.io/Aska/pen/bDrlp
-->
<html lang="en">
<head>
<title>404 Not Found</title>
<style>
body, html {
height: 100%;
overflow: hidden;
}
body {
background: url() no-repeat center fixed;
background-size: cover;
display: flex;
align-items: center;
justify-content: center;
font-family: source-sans-pro, sans-serif;
background-color: #1f1f1f;
color: #f5f5f5;
}
h2 {
display: inline;
font-size: 200px;
margin: 0;
padding: 0;
line-height: 0.75;
margin-top: 50px;
}
.quote {
display: inline;
margin-left: 5px;
margin-right: 5px;
}
.quote:before {
content: '{';
}
.quote:after {
content: '}';
}
.error {
text-align: center;
position: relative;
margin-top: 70px;
}
.text {
position: absolute;
right: 13px;
}
.container {
width: 334px;
padding: 5px;
}
.info-label {
display: inline;
}
.info-text {
text-align: center;
}
a {
color: #3B81BE;
line-height: inherit;
text-decoration: none;
}
a:after {
vertical-align: top;
width: 13px;
height: 13px;
background: url(http://image.noelshack.com/fichiers/2014/32/1407602076-hyperlink.png);
background-size: 100%;
background-repeat: no-repeat;
content: '';
display: inline-block;
}
p {
text-align: justify;
}
</style>
</head>
<body>
<div class="container">
<div class="info-label">
<div class="error">
<h2>404</h2>
<div class="text">
<b>Error</b>
</div>
</div>
</div>
<div class="info-text">
<h1>Page not found</h1>
<a href="/">Visit the demo shop</a>
<p>Looks like you try to access a resource that doesn't exist anymore or never existed in the first place.</p>
</div>
</div>
</body>
</html>