create css file for 404 page
This commit is contained in:
parent
00ebe687a9
commit
76a4f022ab
3 changed files with 28 additions and 21 deletions
|
@ -1,3 +1,7 @@
|
|||
{{ define "header" }}
|
||||
<link rel="stylesheet" href="/assets/css/404.css">
|
||||
{{ end }}
|
||||
|
||||
{{ define "navbar" }}
|
||||
{{ partial "navbar-2.html" (dict "baseURL" .Site.BaseURL "title" .Site.Title "hasToggleButton" false) }}
|
||||
{{ end }}
|
||||
|
|
24
static/assets/css/404.css
Normal file
24
static/assets/css/404.css
Normal file
|
@ -0,0 +1,24 @@
|
|||
.navbar-toggler {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.notFound {
|
||||
padding-top: 5rem;
|
||||
text-align: center;
|
||||
padding-bottom: 8rem;
|
||||
}
|
||||
|
||||
.notFound img {
|
||||
height: 500px;
|
||||
}
|
||||
|
||||
.notFound h1 {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.notFound .message {
|
||||
position: absolute;
|
||||
max-width: 20rem;
|
||||
top: 40%;
|
||||
left: 30%;
|
||||
}
|
|
@ -191,27 +191,6 @@ a:hover {
|
|||
color: #c0ccda;
|
||||
}
|
||||
|
||||
.notFound{
|
||||
padding-top: 5rem;
|
||||
text-align: center;
|
||||
padding-bottom: 8rem;
|
||||
}
|
||||
|
||||
.notFound img{
|
||||
height: 500px;
|
||||
}
|
||||
|
||||
.notFound h1{
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.notFound .message{
|
||||
position: absolute;
|
||||
max-width: 20rem;
|
||||
top: 40%;
|
||||
left: 30%;
|
||||
}
|
||||
|
||||
/* --- FOOTER END ---- */
|
||||
|
||||
/* ============= Device specific fixes ======= */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue