odin-css-exercises/grid/01-grid-layout-1/style.css

48 lines
589 B
CSS
Raw Normal View History

2023-06-09 14:30:21 -07:00
body,
html {
2022-01-12 11:31:06 -08:00
height: 100%;
margin: 0;
}
2022-01-05 10:24:41 -08:00
.container {
text-align: center;
2022-01-12 11:31:06 -08:00
height: 100%;
padding: 16px;
box-sizing: border-box;
2022-01-05 10:24:41 -08:00
}
.container div {
padding: 15px;
font-size: 32px;
font-family: Helvetica;
font-weight: bold;
color: white;
border-radius: 15px;
}
.header {
2023-06-10 10:21:17 -07:00
background-color: #006157;
2022-01-05 10:24:41 -08:00
}
.sidebar {
2023-06-10 10:21:17 -07:00
background-color: #005B94;
2022-01-05 10:24:41 -08:00
}
.nav {
2023-06-10 10:21:17 -07:00
background-color: #642cde;
2022-01-05 10:24:41 -08:00
}
.article {
2023-06-10 10:21:17 -07:00
background-color: #7E1DC3;
2023-06-09 14:30:21 -07:00
}
.footer {
background-color: #393f4d;
2022-01-05 10:24:41 -08:00
}
.article p {
font-size: 18px;
font-family: sans-serif;
color: white;
text-align: left;
2023-06-09 14:30:21 -07:00
}