59 lines
No EOL
750 B
CSS
59 lines
No EOL
750 B
CSS
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html, body {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: monospace;
|
|
|
|
color: var(--fg);
|
|
background-color: var(--bg);
|
|
}
|
|
|
|
a {
|
|
color: var(--link);
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
}
|
|
|
|
a:visited {
|
|
color: var(--link-visited);
|
|
}
|
|
|
|
header, footer {
|
|
background-color: var(--bg-light);
|
|
height: 100px;
|
|
}
|
|
|
|
header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
header > h1 {
|
|
padding: 0;
|
|
margin: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
header > nav, footer > nav {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
footer > nav {
|
|
height: 100%;
|
|
flex-direction: column;
|
|
}
|
|
|
|
footer > nav > a {
|
|
margin: auto;
|
|
}
|
|
|
|
main {
|
|
min-height: calc(100vh - 200px);
|
|
} |