remove white space before and after footer on single pages (#159)

remove white space before and after footer on single pages with content shorter than would fit into browser window
This commit is contained in:
spi 2023-10-07 01:32:19 +02:00 committed by GitHub
parent c547893371
commit 0f957c9bff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -220,12 +220,17 @@ a.fn-item {
background-color: var(--single-page-bg-color); background-color: var(--single-page-bg-color);
color: var(--single-page-text-color); color: var(--single-page-text-color);
// to remove the white space after the footer on pages shorter
// than actually would fit into the browser window
min-height: calc(100vh - 2em);
// Tweak the .post wrapper style // Tweak the .post wrapper style
.post { .post {
margin-top: 0; margin-top: 0;
border-bottom: none; border-bottom: none;
padding-bottom: 0; padding-bottom: 0;
// to account for the margin of content elements
padding-bottom: 1em;
} }
// Kill that stylish little circle that was on the border // Kill that stylish little circle that was on the border