forked from shijianwei/404
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
180 lines (168 loc) · 4.8 KB
/
404.html
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<!Doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>404</title>
<style>
*{
margin:0;
padding:0;
}
body{
font-family: 'Open Sans', sans-serif;
font-size: 14px;
color: #3c3c3c;
background-color: #ECECEC;
}
.cf {display:block;zoom:1;}
* html .cf {height:1%;}
.cf:after {content:" ";display:block;height:0;clear:both;visibility:hidden;}
.not_found{
float: right;
width: auto;
height: auto;
margin-top: auto;
position: relative;
}
.not_found_404 {
text-align: center;
font-family: cursive,sans-serif;
font-size: 120px;
font-weight: bold;
line-height: 120px;
letter-spacing: 25px;
color: #fff;
-webkit-transform: rotate(0deg);
transform: rotate(6deg);
-webkit-transform-origin: 12% 60%;
transform-origin: 12% 60%;
}
.in-center{
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.not_found_404 span {
float: left;
cursor: pointer;
text-shadow: 0px 0px 2px #686868,
0px 1px 1px #ddd,
0px 2px 1px #d6d6d6,
0px 3px 1px #ccc,
0px 4px 1px #c5c5c5,
0px 5px 1px #c1c1c1,
0px 6px 1px #bbb,
0px 7px 1px #777,
0px 8px 3px rgba(100, 100, 100, 0.4),
0px 9px 5px rgba(100, 100, 100, 0.1),
0px 10px 7px rgba(100, 100, 100, 0.15),
0px 11px 9px rgba(100, 100, 100, 0.2),
0px 12px 11px rgba(100, 100, 100, 0.25),
0px 13px 15px rgba(100, 100, 100, 0.3);
-webkit-transition: all .1s linear;
transition: all .1s linear;
}
.not_found_404 span:hover {
text-shadow: 0px 0px 2px #686868,
0px 1px 1px #fff,
0px 2px 1px #fff,
0px 3px 1px #fff,
0px 4px 1px #fff,
0px 5px 1px #fff,
0px 6px 1px #fff,
0px 7px 1px #777,
0px 8px 3px #fff,
0px 9px 5px #fff,
0px 10px 7px #fff,
0px 11px 9px #fff,
0px 12px 11px #fff,
0px 13px 15px #fff;
-webkit-transition: all .1s linear;
transition: all .1s linear;
}
@-webkit-keyframes 'not'{
0%{
}
25%{
-webkit-transform: rotate(0deg);
}
50%{
-webkit-transform: rotate(6deg);
}
75%{
-webkit-transform: rotate(0deg);
}
100%{
-webkit-transform: rotate(6deg);
}
}
.not_found_404{
-webkit-animation-duration: 4s;
-webkit-animation-name: not;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: ease-in-out;
}
.btn{
width: 100%;
margin-top: 100px;
}
.button{
-webkit-box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.5), 0px 1px 2px rgba(0, 0, 0, 0.15);
-moz-box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.5), 0px 1px 2px rgba(0, 0, 0, 0.15);
box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.5), 0px 1px 2px rgba(0, 0, 0, 0.15);
background-color: #ffffff;
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, whitesmoke), color-stop(100%, #fff));
background: -webkit-linear-gradient(top, whitesmoke, #fff);
background: -moz-linear-gradient(top, whitesmoke, #fff);
background: -o-linear-gradient(top, whitesmoke, #fff);
background: linear-gradient(top, whitesmoke, #fff);
display: -moz-inline-stack;
display: inline-block;
vertical-align: middle;
zoom: 1;
border: 1px solid #d4d4d4;
height: 32px;
line-height: 32px;
padding: 0px 25.6px;
font-weight: 300;
font-size: 14px;
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
color: #666666;
text-shadow: 0 1px 1px white;
margin: 0;
text-decoration: none;
text-align: center;
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
-ms-border-radius: 30px;
-o-border-radius: 30px;
border-radius: 30px;
-moz-animation:funny 3s linear infinite;
-o-animation:funny 3s linear infinite;
animation:funny 3s linear infinite;
-webkit-animation:funny 3s linear infinite;
margin-right: 40px;
clear: left;
}
</style>
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
</head>
<body>
<div class="not_found in-center">
<div class="not_found_404 cf">
<span>4</span>
<span>0</span>
<span>4</span>
</div>
<div class="btn">
<a href="#" class="button button-rounded">返回首页</a>
<a href="#" class="button button-rounded cancle">返回上页</a>
</div>
</div>
</body>
</html>