mirror of
https://github.com/flysnow-org/maupassant-hugo.git
synced 2026-08-24 15:28:55 +00:00
Update 404 page
This commit is contained in:
+16
-1
@@ -1,6 +1,21 @@
|
||||
{{ partial "head" . }}
|
||||
|
||||
<body>
|
||||
404
|
||||
{{ partial "header" . }}
|
||||
<div class="body404">
|
||||
<div class="info404">
|
||||
<header id="header404" class="clearfix">
|
||||
<div class="site-name404"><i>404</i></div>
|
||||
</header>
|
||||
<section>
|
||||
<div class="title404">
|
||||
<p>每一个平凡的日常<br/>都是连续发生中的奇迹</p>
|
||||
</div>
|
||||
<a rel="nofollow" href="{{ .Site.BaseURL }}" class="index404">回首页看看</a>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "footer" . }}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user