_404.scss
745 Bytes
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
/**
* Created by chenglong.wang@yoho.cn on 2015/1/30.
*/
.error_404{
width: 100%;
min-height: 400px;
position: relative;
font-size: 1.4rem;
color: #000;
text-align: center;
>p,>a{
position: absolute;
left: 0;
width: 100%;
height: 20px;
line-height: 20px;
display: block;
color: #000;
@include unstyled-link();
}
.error_img{
@include retina-sprite($line,404,true,100px);
@include hide-text();
+ p{
top: 200px;
}
}
.go_back{
top: 235px;
&:after{
content: '';
@include retina-sprite($icons,go_back,108px,true);
}
}
.go_home{
top: 270px;
&:after{
content: '';
@include retina-sprite($icons,go_home,115px,true);
}
}
}