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:
parent
c547893371
commit
0f957c9bff
1 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue