fix 404 css
This commit is contained in:
parent
af8a6c542b
commit
521881e848
2 changed files with 14 additions and 8 deletions
|
@ -7,11 +7,13 @@
|
|||
{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
<div class="notFound">
|
||||
<img src="/assets/images/404.png" alt="">
|
||||
<div class="message">
|
||||
<h1>404</h1>
|
||||
<h4>The page you are looking for is not there yet.</h4>
|
||||
<div class="container">
|
||||
<div class="notFound">
|
||||
<img src="/assets/images/404.png" alt="">
|
||||
<div class="message">
|
||||
<h1>404</h1>
|
||||
<h4>The page you are looking for is not there yet.</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
|
@ -49,9 +49,13 @@
|
|||
/* Medium devices (tablets, 768px and up) */
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
.notFound img {
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
.notFound .message {
|
||||
top: 50%;
|
||||
left: 10%;
|
||||
top: 23%;
|
||||
left: 25%;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -59,7 +63,7 @@
|
|||
|
||||
@media only screen and (max-width: 576px) {
|
||||
.notFound img {
|
||||
height: 500px;
|
||||
height: 250px;
|
||||
}
|
||||
|
||||
.notFound .message {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue