Merge pull request #18 from ButteredCats/fix_footer

Less buggy solution to solving the floating footer problem
This commit is contained in:
Matthew Esposito 2024-01-07 16:54:50 -05:00 committed by GitHub
commit f50872a88c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,8 @@
--popup-goback-background: var(--popup-red);
--popup-goback-text: #222;
--popup-border: 1px solid var(--popup-red);
--footer-height: 30px;
}
@font-face {
@ -112,13 +114,18 @@ pre, form, fieldset, table, th, td, select, input {
body {
background: var(--background);
padding-bottom: var(--footer-height);
font-size: 15px;
position: relative;
}
body.card {
min-height: calc(100vh - 30px);
}
body.fixed_navbar {
min-height: calc(100vh - 90px);
padding-top: 60px;
min-height: calc(100vh - 60px);
position: relative;
}
nav {
@ -314,6 +321,7 @@ body > footer {
align-items: center;
width: 100%;
background: var(--post);
position: absolute;
bottom: 0;
}