Fix footer overlap

This commit is contained in:
Florine W. Dekker 2020-05-03 18:58:08 +02:00
parent 6275618cee
commit 0d30d9d059
Signed by: FWDekker
GPG Key ID: B1B567AF58D6EE0F
4 changed files with 7 additions and 7 deletions

4
.gitignore vendored
View File

@ -114,7 +114,3 @@ dist
.yarn/unplugged .yarn/unplugged
.yarn/build-state.yml .yarn/build-state.yml
.pnp.* .pnp.*
## Custom
build/

BIN
package-lock.json generated

Binary file not shown.

View File

@ -1,6 +1,6 @@
{ {
"name": "@fwdekker/template", "name": "@fwdekker/template",
"version": "0.0.8", "version": "0.0.9",
"description": "The base template for pages on fwdekker.com.", "description": "The base template for pages on fwdekker.com.",
"author": "Felix W. Dekker (https://fwdekker.com)", "author": "Felix W. Dekker (https://fwdekker.com)",
"license": "MIT", "license": "MIT",

View File

@ -3,14 +3,18 @@
--fwdekker-theme-color-dark: #00279d; --fwdekker-theme-color-dark: #00279d;
} }
html, body { html {
height: 100%; height: 100%;
} }
body {
position: relative;
min-height: 100%;
}
#contents { #contents {
padding-top: 5rem; padding-top: 5rem;
padding-bottom: 9rem; /* Vertical footer paddings + 1 */ padding-bottom: 9rem; /* Vertical footer paddings + 1 */
min-height: 100%;
} }
.footer { .footer {