emmas.place/style/style.css

42 lines
403 B
CSS
Raw Normal View History

:root {
}
*, *::before, *::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 16px;
}
body {
height: 100vh;
width: auto;
}
main {
display: grid;
grid-template-columns: 1fr 2fr;
grid-template-rows: 1fr 2fr 1fr;
}
header {
grid-column: 1/3;
grid-row: 1/2;
}
footer {
grid-column: 1/3;
grid-row: 4/5;
}
nav {
grid-column: 1/2;
}
section {
grid-column: 2/3;
}