Merge pull request #47 from mtn/404

404 redesign
This commit is contained in:
Alexis Tacnet
2017-08-10 09:00:53 +02:00
committed by GitHub
4 changed files with 36 additions and 8 deletions

2
.gitignore vendored
View File

@@ -2,5 +2,7 @@
.DS_Store
*/**/.DS_Store
*.swp
# exampleSite
exampleSite/public

View File

@@ -1,11 +1,23 @@
{{ partial "header.html" . }}
<section class="main">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>404 - Page not found</title>
{{ partial "head_includes.html" . }}
<style>
{{ partial "css/404.css" . | safeCSS }}
</style>
</head>
<body>
<img src={{ .Site.Params.logofile }} class="logo" alt="logo"></img>
<div class="container f04">
<div class="content">
<div class="num">404</div>
<div class="detail">Sorry, this page does not exist.</div>
<div class="suggestion"><a href="/">Visit home page</a></div>
</div>
</div>
<section class="header">
<div class="name">404</div>
</section>
{{ partial "footer.html" . }}
<div class="detail">The page you were looking for does not exist.</div>
<div class="suggestion"><a href="/">Visit the home page</a></div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,14 @@
.logo {
vertical-align: middle;
max-width: 300px;
}
.content {
margin: 3em auto;
text-align: center;
}
.header {
margin-left: initial;
margin-right: intial;
padding: 0 !important;
}