1
0
Fork 0
forked from ilot/ilot-io

templates/page.tmpl: fix sticky footer

This commit is contained in:
Antoine Martin 2024-09-16 17:40:10 -04:00
parent 94a8b58355
commit e8602aa59d
Signed by: ayakael
GPG key ID: D62A472A4AA7D541
2 changed files with 9 additions and 29 deletions

View file

@ -9,42 +9,18 @@ a {
}
/* Sticky footer styles
-------------------------------------------------- */
html {
position: relative;
min-height: 100%;
}
body {
/* Margin bottom by footer height */
margin-bottom: 60px;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
padding-bottom: 15px;
background-color: #f5f5f5;
}
/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */
body > .container {
padding: 80px 15px 15px;
main > .container {
padding: 60px 15px 15px;
}
.pagedate {
font-size: 14px;
}
.footer > .container {
padding-right: 15px;
padding-left: 15px;
}
textarea {
width: 100%;
}