This commit is contained in:
retoor 2025-01-24 14:47:19 +01:00
parent bda93e354f
commit 757b67b78c
5 changed files with 33 additions and 7 deletions

View File

@ -4,6 +4,7 @@
box-sizing: border-box; box-sizing: border-box;
} }
body { body {
font-family: Arial, sans-serif; font-family: Arial, sans-serif;
background-color: #1a1a1a; background-color: #1a1a1a;
@ -12,6 +13,10 @@ body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 100vh; height: 100vh;
min-width: 100%;
}
main {
min-width: 100%;
} }
header { header {

View File

@ -1,3 +1,27 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.center {
padding: 30px;
text-align: center;
margin: auto auto;
left: 25%;
position: absolute;
}
@media screen and (max-width: 500px) {
.center {
width: 100%;
left: 0px;
}
}
h1 { h1 {
font-size: 2em; font-size: 2em;
color: #f05a28; color: #f05a28;

View File

@ -18,11 +18,6 @@
</header> </header>
<main> <main>
<aside class="sidebar">
{% block sidebar %}
{% endblock %}
</aside>
{% block main %} {% block main %}
{% endblock %} {% endblock %}
</main> </main>

View File

@ -1,5 +1,7 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block main %} {% block main %}
<generic-form url="/login-form.json"></generic-form>
<generic-form class="center" url="/login-form.json"></generic-form>
{% endblock %} {% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block main %} {% block main %}
<generic-form url="/register-form.json"></generic-form> <generic-form class="center" url="/register-form.json"></generic-form>
{% endblock %} {% endblock %}