Files
Website/styles.css
2026-02-07 20:09:31 +00:00

52 lines
672 B
CSS

:root {
--header-size: 100px;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
}
body {
background-color: #000000;
color: #FFFFFF;
font-family: sans-serif;
display: flex;
flex-flow: column;
}
header main footer {
width: 100%;
}
header {
position: fixed;
top: 0;
}
/* Required to set the width and height of the header, as `fixed` elements can't have their size set. */
header > div {
width: 100vw;
height: var(--header-size);
}
main {
flex: 1 1 auto;
margin-top: var(--header-size);
text-align: center;
}
footer {
flex: 0 1 auto;
display: flex;
}
footer > div {
width: 50%;
}