Authored by xuqi

404 err

... ... @@ -10,6 +10,7 @@ $pxConvertRem: 40;
html, body {
font-family: helvetica,Arial,"黑体";
width: 100%;
height: 100%;
font-size: 12px;
line-height: 1.4;
}
... ...
.err-page {
position: relative;
height: 100%;
.err-bg {
position: absolute;
height: 200rem / $pxConvertRem;
width: 200rem / $pxConvertRem;
top: 50%;
left: 50%;
margin-left: -100rem / $pxConvertRem;
margin-top: -100rem / $pxConvertRem;
background: image-url('404.png') no-repeat;
background-size: 100% 100%;
}
}
\ No newline at end of file
... ...
... ... @@ -126,5 +126,5 @@
}
@import "search","footer";
@import "search","footer", "error";
... ...
{{> layout/header}}
<div class="err-page yoho-page">
<div class="err-bg"></div>
</div>
{{> layout/footer}}
\ No newline at end of file
... ...