55 lines
915 B
CSS
55 lines
915 B
CSS
|
body{
|
||
|
--theme-primary-color:black;
|
||
|
--theme-secondary-color:white;
|
||
|
--theme-accent-color:gold;
|
||
|
background-color: var(--theme-primary-color);
|
||
|
color:var(--theme-secondary-color);
|
||
|
width:100vw;
|
||
|
margin:0;
|
||
|
display:flex;
|
||
|
flex-direction: row;
|
||
|
flex-wrap: wrap;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
|
||
|
main,aside{
|
||
|
border:1px solid white;
|
||
|
display:flex;
|
||
|
flex-direction: column;
|
||
|
margin:1.5rem;
|
||
|
padding:1rem;
|
||
|
}
|
||
|
main{
|
||
|
min-width: 40%;
|
||
|
max-width: 60rem;
|
||
|
}
|
||
|
aside{
|
||
|
min-width: 30rem;
|
||
|
}
|
||
|
header,footer{
|
||
|
width:100vw;
|
||
|
display:flex;
|
||
|
flex-direction: row;
|
||
|
flex-wrap: wrap;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
nav{
|
||
|
display:flex;
|
||
|
flex-direction: row;
|
||
|
flex-wrap: wrap;
|
||
|
margin-left:10%;
|
||
|
}
|
||
|
nav>a{
|
||
|
margin:1rem;
|
||
|
}
|
||
|
|
||
|
a,
|
||
|
hr{
|
||
|
color:var(--theme-accent-color);
|
||
|
}
|
||
|
hr{
|
||
|
width:100%;
|
||
|
margin-top:1.5rem;
|
||
|
margin-bottom:1.5rem;
|
||
|
}
|