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;
|
|
|
|
margin-top: 3em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container > nav {
|
|
|
|
grid-area: nav;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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
|
|
|
}
|