Skip to content

Commit

Permalink
Merge pull request #209 from lkhrs/issue206
Browse files Browse the repository at this point in the history
Keep footer at bottom of viewport
  • Loading branch information
lkhrs authored Oct 20, 2024
2 parents 7969fbc + dd1a6b1 commit 891f8f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion simple.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ progress {
-moz-appearance: none;
}

html, body {
height: 100%;
}

html {
/* Set the font globally */
font-family: var(--sans-font);
Expand All @@ -75,6 +79,7 @@ body {
line-height: 1.5;
display: grid;
grid-template-columns: 1fr min(45rem, 90%) 1fr;
grid-template-rows: min-content 1fr auto;
margin: 0;
}
body > * {
Expand Down Expand Up @@ -111,7 +116,7 @@ main {

body > footer {
margin-top: 4rem;
padding: 2rem 1rem 1.5rem 1rem;
padding: 2rem 1rem;
color: var(--text-light);
font-size: 0.9rem;
text-align: center;
Expand Down
2 changes: 1 addition & 1 deletion simple.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 891f8f0

Please sign in to comment.