58 lines
746 B
CSS
58 lines
746 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%;
|
|
}
|
|
|
|
|
|
|
|
#imaText { /* The text directly after "I'm a" */
|
|
color: #5a91ff;
|
|
}
|