Revert "style: Push the footer to the bottom regardless of the size of maincontent"

This reverts commit c374fb44f6.
This commit is contained in:
Eragon 2023-09-05 22:44:04 +02:00
parent 7c098b2209
commit f194baae00
Signed by: Eragon
GPG Key ID: 087126EBFC725006
9 changed files with 8 additions and 32 deletions

View File

@ -1,5 +1,4 @@
.container {
min-height: 88vh;
margin-left: 110px;
}
@media screen and (max-width:849px) {

View File

@ -1,6 +1,5 @@
footer {
min-height: 10vh;
margin: 20px 0 0 110px;
margin: 20px 0 0 0;
padding: 10px 10%;
text-align: center;
font-size: 11px;
@ -11,9 +10,4 @@ footer {
}
footer p {
margin: 3px 0;
}
@media screen and (max-width:849px) {
footer {
margin-left: 0;
}
}

View File

@ -25,8 +25,6 @@
transition: .15s ease;
}
body {
width: 100vw;
height: 100vh;
margin: 0;
background: var(--background);
color: var(--text);

View File

@ -1,5 +1,4 @@
header {
min-height: 5vh;
margin: 0;
padding: 8px 16px;
background: var(--background);

View File

@ -1,7 +1,6 @@
@import "vars";
.container {
min-height: 88vh;
margin-left: 110px;
@media screen and (max-width: @tiny) {

View File

@ -1,24 +1,14 @@
@import "vars";
/*
Footer
*/
footer {
min-height: 10vh;
margin: 20px 0 0 110px;
padding: 10px 10%;
text-align: center;
font-size: 11px;
font-style: italic;
background: var(--background);
color: var(--text);
margin: 20px 0 0 0; padding: 10px 10%;
text-align: center; font-size: 11px; font-style: italic;
background: var(--background); color: var(--text);
border-top: var(--border);
p {
margin: 3px 0;
}
@media screen and (max-width: @tiny) {
margin-left: 0;
margin: 3px 0;
}
}

View File

@ -17,8 +17,6 @@
}
body {
width: 100vw;
height: 100vh;
margin: 0;
background: var(--background);
color: var(--text);
@ -158,7 +156,7 @@ button, .button, input[type="button"], input[type="submit"] {
left: 50%;
padding: 8px;
position: absolute;
transform: translateY(-200%);
transform: translateY(-100%);
transition: transform 0.3s;
background: var(--links);
color: var(--warn-text);

View File

@ -1,7 +1,6 @@
@import "vars";
header {
min-height: 5vh;
margin: 0; padding: 8px 16px;
background: var(--background); border-bottom: var(--border);

View File

@ -17,9 +17,9 @@
{% block content %}
<div id="main-content"></div>
{% endblock %}
</div>
{% include "base/footer.html" %}
{% include "base/footer.html" %}
</div>
{% include "base/scripts.html" %}
</body>