/
404.jade
83 lines (81 loc) · 1.59 KB
/
404.jade
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
html
head
meta(name="viewport", content="width=device-width")
title HTTP 404
style(type="text/css")
* {
margin: 0;
padding: 0;
}
html, body {
width: 100%;
height: 100%;
font: 200 25px/1.5 Helvetica Neue, Helvetica, Sans-Serif;
-webkit-font-smoothing: antialiased;
position: relative;
}
h1 {
font-size: 30px;
font-weight: 400;
margin: 0 0 10px;
color: #555;
}
h1 a{
color: #555;
}
p, a {
color: #999;
text-decoration: none;
display: block;
}
p {
margin-left: 100px;;
font-size: 0.8em;
margin-top: 1.0em;
}
a:hover {
color: #5ba2ee;
}
.center {
margin: 0 0 0 100px;
position: relative;
top: 45%;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);
}
.back {
position: fixed;
right: 15px;
bottom: 10px;
font-size: 0.7em;
}
.back a {
color: #acacac;
}
@media only screen and (max-width: 320px) {
body {
padding: 30px;
}
.center {
margin-left: 0;
}
}
body
.center
h1
a(href="/") Page Not Found.
p
if site.configs.template_inherit==False
a(href="#")
small >
| Maybe you should not set `Inherits from Default Template` to `False`!
else
a(href="http://help.farbox.com/read/how-to-make-a-template", target="_blank")
small >
| custom this page by '/template/404.html'
p.back
small back to
a(href="/") Home