diff --git a/assets/style.css b/assets/style.css index 3ba2b1a..7c9d55a 100644 --- a/assets/style.css +++ b/assets/style.css @@ -102,7 +102,8 @@ nav > div { margin-left: -2px } #lang-switch { position: absolute; top: -3px; right: 0 } -footer { background: var(--white); padding: 22pt; line-height: 1 !important; letter-spacing: 1.5rem } +#content { position: relative; padding-bottom: calc(22pt + 40pt + 22pt) } +footer { background: var(--white); padding: 22pt; line-height: 1 !important; letter-spacing: 1.5rem; position: fixed; left: 0; right: 0; bottom: 0 } .headline { padding-left: 179pt } .content-footer { display:flex; justify-content: space-between } @@ -110,6 +111,7 @@ footer { background: var(--white); padding: 22pt; line-height: 1 !important; let @media (max-width: 750px) { #menu { overflow-y: scroll; } + #content { padding-bottom: calc(11pt + 22pt + 11pt) } footer { font-size: 22pt !important; letter-spacing: 0 !important; padding: 11pt !important } .headline { padding-left: 79pt } .headline h4 { max-width: calc(100dvw - 22pt - 37pt - 37pt - 37pt - 22pt) } diff --git a/site/snippets/footer.php b/site/snippets/footer.php index fbafc75..ee40ff1 100644 --- a/site/snippets/footer.php +++ b/site/snippets/footer.php @@ -19,7 +19,7 @@ - + diff --git a/site/snippets/header.php b/site/snippets/header.php index 5a7b4d1..a02e828 100644 --- a/site/snippets/header.php +++ b/site/snippets/header.php @@ -12,7 +12,7 @@
-