Change div to main

This commit is contained in:
George Lacey 2021-05-10 19:02:01 +01:00
parent 08a3169440
commit 767c8aff10

View File

@ -1,7 +1,7 @@
{% extends "borg/base.html" %} {% extends "borg/base.html" %}
{% load static %} {% load static %}
{% block title %}Not Found{% endblock %} {% block title %}404: Not Found{% endblock %}
{% block script %} {% block script %}
{% endblock %} {% endblock %}
@ -11,7 +11,7 @@ html, body {
height: 80%; height: 80%;
} }
text-container { main {
display: flex; display: flex;
align-items: center; align-items: center;
background-color: aliceblue; background-color: aliceblue;
@ -21,11 +21,11 @@ html, body {
{% block body %} {% block body %}
<div class="text-container mx-auto w-25 px-5"> <main class="form-signin mx-auto w-25 px-5">
<div class="mx-5"> <div class="mx-5">
<h1 class="h1">Page not found!</h1> <h1 class="h1">404: Page Not Found</h1>
</div> </div>
</div> </main>
{% endblock %} {% endblock %}