2022-05-08 11:57:02 +02:00
|
|
|
.container {
|
|
|
|
display: grid;
|
|
|
|
grid-template-areas:
|
2024-11-08 11:13:18 +01:00
|
|
|
"header nav nav"
|
|
|
|
"main main main"
|
|
|
|
"footer footer footer";
|
|
|
|
max-width: 40em;
|
2022-05-08 11:57:02 +02:00
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container > header {
|
|
|
|
grid-area: header;
|
2024-11-09 14:21:05 +01:00
|
|
|
margin-top: 4em;
|
|
|
|
margin-bottom: 3em;
|
2022-05-08 11:57:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.container > nav {
|
|
|
|
grid-area: nav;
|
2024-11-09 14:21:05 +01:00
|
|
|
margin-top: 3em;
|
2022-05-08 11:57:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.container > main {
|
|
|
|
grid-area: main;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container > footer {
|
|
|
|
grid-area: footer;
|
|
|
|
margin-top: 2em;
|
|
|
|
margin-bottom: 3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
main img {
|
|
|
|
max-width: 100%;
|
|
|
|
margin-top: 2em;
|
|
|
|
margin-bottom: 3em;
|
2024-11-08 11:13:18 +01:00
|
|
|
}
|