style(website): full-height layout

This commit is contained in:
Elian Doran
2025-09-27 01:11:12 +03:00
parent cfe71a3426
commit 10f7837a7f

View File

@@ -26,6 +26,13 @@ body {
margin: 0; margin: 0;
line-height: 1.5; line-height: 1.5;
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
min-height: 100vh;
}
main {
min-height: calc(100vh - 80px);
display: flex;
flex-direction: column;
} }
body { body {
@@ -40,11 +47,16 @@ a {
.content-wrapper { .content-wrapper {
max-width: 1200px; max-width: 1200px;
width: 100%;
margin: auto; margin: auto;
} }
section { section {
padding: 3em 0; padding: 3em 0;
flex-grow: 1;
display: flex;
justify-content: center;
align-items: stretch;
} }
section h2 { section h2 {