Showing
5 changed files
with
23 additions
and
1 deletions
static/img/404.png
0 → 100644
46.6 KB
@@ -10,6 +10,7 @@ $pxConvertRem: 40; | @@ -10,6 +10,7 @@ $pxConvertRem: 40; | ||
10 | html, body { | 10 | html, body { |
11 | font-family: helvetica,Arial,"黑体"; | 11 | font-family: helvetica,Arial,"黑体"; |
12 | width: 100%; | 12 | width: 100%; |
13 | + height: 100%; | ||
13 | font-size: 12px; | 14 | font-size: 12px; |
14 | line-height: 1.4; | 15 | line-height: 1.4; |
15 | } | 16 | } |
static/sass/index/_error.scss
0 → 100644
1 | +.err-page { | ||
2 | + position: relative; | ||
3 | + height: 100%; | ||
4 | + | ||
5 | + .err-bg { | ||
6 | + position: absolute; | ||
7 | + height: 200rem / $pxConvertRem; | ||
8 | + width: 200rem / $pxConvertRem; | ||
9 | + top: 50%; | ||
10 | + left: 50%; | ||
11 | + margin-left: -100rem / $pxConvertRem; | ||
12 | + margin-top: -100rem / $pxConvertRem; | ||
13 | + background: image-url('404.png') no-repeat; | ||
14 | + background-size: 100% 100%; | ||
15 | + } | ||
16 | +} |
-
Please register or login to post a comment