Skip to content
Permalink
8238af286c
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
71 lines (62 sloc) 1.25 KB
html{
background-color: black;
}
.container {
display: grid;
grid-template-areas:
"header header header"
"nav content side"
"footer footer footer";
grid-template-columns: 200px 1fr 200px;
grid-template-rows: 110px 1fr 110px;
grid-gap: 10px;
height: 100vh;
text-transform: uppercase;
text-align: center;
font-family: Arial, Helvetica, sans-serif;
font-weight: bolder;
font-size: 45px;
}
header {
grid-area: header;
background-color: #83caff;
}
nav {
grid-area: nav;
margin-left: 0.5rem;
background-color: #cc99cc;
}
main {
grid-area: content;
background-color: #ffcccc;
}
aside {
grid-area: side;
margin-right: 0.5rem;
background-color: #cc99cc;
}
footer {
grid-area: footer;
background-color: #83caff;
}
@media (max-width: 769px) {
.container {
font-size: 30px;
grid-template-areas:
"header"
"nav"
"content"
"side"
"footer";
grid-template-columns: 1fr;
grid-template-rows:
110px /* Header */
75px /* Menu */
1fr /* Content */
75px /* Sidebar */
100px; /* Footer */
}
nav, aside {
margin: 0;
}
}