2023-06-10 17:25:16 +00:00
|
|
|
body,
|
|
|
|
html {
|
2022-01-12 22:07:40 +00:00
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2022-01-06 18:14:01 +00:00
|
|
|
.container {
|
|
|
|
text-align: center;
|
2022-01-12 22:07:40 +00:00
|
|
|
height: 100%;
|
|
|
|
padding: 16px;
|
|
|
|
box-sizing: border-box;
|
2022-01-06 18:14:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.container div {
|
|
|
|
padding: 15px;
|
|
|
|
font-size: 32px;
|
|
|
|
font-family: Helvetica;
|
|
|
|
font-weight: bold;
|
|
|
|
color: white;
|
|
|
|
border-radius: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
2023-06-10 17:25:16 +00:00
|
|
|
background-color: #006157;
|
2022-01-06 18:14:01 +00:00
|
|
|
grid-column: 1 / 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar {
|
2023-06-10 17:25:16 +00:00
|
|
|
background-color: #005B94;
|
2022-01-06 18:14:01 +00:00
|
|
|
grid-row: 2 / 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav {
|
2023-06-10 17:25:16 +00:00
|
|
|
background-color: #642cde;
|
2022-01-06 18:14:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.article {
|
2023-06-10 17:25:16 +00:00
|
|
|
background-color: #7E1DC3;
|
2022-01-06 18:14:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.article p {
|
|
|
|
font-size: 18px;
|
|
|
|
font-family: sans-serif;
|
|
|
|
color: white;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
background-color: #393f4d;
|
|
|
|
grid-column: 1 / 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* SOLUTION */
|
|
|
|
|
|
|
|
.container {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 3fr;
|
|
|
|
grid-template-rows: 1fr 1fr 5fr 1fr;
|
|
|
|
gap: 15px;
|
2023-06-10 17:25:16 +00:00
|
|
|
}
|