diff --git a/layouts/404.html b/layouts/404.html index fc24342..34da53e 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,6 +1,21 @@ {{ partial "head" . }} - 404 +{{ partial "header" . }} +
+
+
+
404
+
+
+
+

每一个平凡的日常
都是连续发生中的奇迹

+
+ 回首页看看 +
+
+
+{{ partial "footer" . }} + \ No newline at end of file diff --git a/static/css/style.css b/static/css/style.css index 81ea621..037b935 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -687,18 +687,19 @@ img.alignright { font-size: 17px; } .body404{ - position: absolute; height: 100%; width: 100%; - background:#fff url(img/404.jpg)no-repeat center top; + /*background:#fff url(img/404.jpg) no-repeat center top;*/ + background: #fff; background-size: cover; + margin: 4em 0 6em 0; } .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; + font-size: 74px; } .title404 span{ font-size: 15px; @@ -712,11 +713,8 @@ img.alignright { margin: 0.5em 0 .6em; } .info404{ - position: absolute; - top: 50%; text-align: center; width: 100%; - margin-top: -160px; } #footer404{ margin-top:30px;