forked from naihaishy/WP-Next.Mist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.php
111 lines (109 loc) · 2.95 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
<!DOCTYPE HTML>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<meta name="viewport" content="width=device-width,user-scalable=no">
<title><?php bloginfo('name');?></title>
<!--[if lt IE 9]>
<script src="http://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
<![endif]-->
<link rel="stylesheet" href="http://cdn.staticfile.org/normalize/3.0.1/normalize.min.css">
<script type="text/javascript" src="http://cdn.staticfile.org/jquery/1.11.0/jquery.min.js"></script>
<style type="text/css">
.body404{
position: absolute;
height: 100%;
width: 100%;
/*background:#fff url(img/about.png)no-repeat right top;*/
background-size: auto 100%;
text-shadow:1px 1px 0 #fff;
}
.body-about .body404{
background:#fff;
}
.site-name404 {
margin: 0 auto;
width: 3em;
text-align: center;
letter-spacing: 2px;
font:700 88px/1.2 "ff-tisa-web-pro", Cambria, "Times New Roman", Georgia, Times, sans-serif;
}
.site-name404 h1{
margin: 0 0 10px;
font:700 58px/1.2 "ff-tisa-web-pro", Cambria, "Times New Roman", Georgia, Times, sans-serif;
}
.title404 span{
font-size: 15px;
width: 2px;
}
.site-name404 i {
font-style: normal;
}
.title404 p{
font-size: 20px;
margin: 0.5em 0 .6em;
}
.info404{
position: absolute;
top: 50%;
font-family: Lato, "Microsoft Jhenghei", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
text-align: center;
width: 100%;
margin-top: -160px;
}
.body-about .info404{
margin-top: -180px;
}
#footer404{
margin-top:30px;
}
.index404{
margin-top: 13px;
display: inline-block;
padding: 14px 27px 14px 29px;
color: #fff;
white-space: nowrap;
border-radius: 3px;
text-align: center;
cursor: pointer;
background: #444;
font-weight: 500;
line-height: 14px;
letter-spacing: 1px;
font-size: 14px;
text-decoration: none;
-moz-user-select: -moz-none;
-webkit-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
text-shadow:none;
}
.index404:hover{
background-color: #000;
color: #fff;
}
</style>
</head>
<body>
<div class="body404">
<div class="info404">
<header id="header404" class="clearfix">
<div class="site-name404">
<i>404</i>
</div>
</header>
<section>
<div class="title404"><p>每一个平凡的日常<br/>都是连续发生中的奇迹</p></div>
<a class="index404" rel="nofollow" href="<?php bloginfo('url'); ?>">返回首页</a>
</section>
<footer id="footer404">
© <?php echo date('Y'); ?> <?php bloginfo('name'); ?>.</span>
</footer>
</div>
</div>
</body>
</html>