Center 404 correctly
This commit is contained in:
parent
767c8aff10
commit
eaa9130b47
|
@ -3,29 +3,28 @@
|
||||||
|
|
||||||
{% block title %}404: Not Found{% endblock %}
|
{% block title %}404: Not Found{% endblock %}
|
||||||
|
|
||||||
{% block script %}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block style %}
|
{% block style %}
|
||||||
html, body {
|
body {
|
||||||
height: 80%;
|
background-color: aliceblue;
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
.vertical-center {
|
||||||
|
min-height: 80%;
|
||||||
|
min-height: 80vh;
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background-color: aliceblue;
|
|
||||||
text-align: center;
|
|
||||||
}
|
}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
|
|
||||||
<main class="form-signin mx-auto w-25 px-5">
|
<div class="container vertical-center">
|
||||||
<div class="mx-5">
|
<div class="row w-100">
|
||||||
<h1 class="h1">404: Page Not Found</h1>
|
<h1 class="text-center display-1">404: Not Found</h1>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user