You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
615 B
CSS
47 lines
615 B
CSS
|
|
:root{
|
|
--lh: 1.35;
|
|
}
|
|
|
|
body{
|
|
line-height: var(--lh);
|
|
|
|
display: grid;
|
|
grid-template-columns: 2fr 1fr;
|
|
|
|
gap: 6em;
|
|
}
|
|
|
|
main{
|
|
padding: 6em;
|
|
padding-right: 0;
|
|
}
|
|
|
|
main p{
|
|
border: thin solid lightgrey;
|
|
box-sizing: border-box;
|
|
border-radius: 1em;
|
|
padding: 4em;
|
|
height: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
aside{
|
|
font-size: 0.8em;
|
|
box-sizing: border-box;
|
|
padding: 2em 0;
|
|
padding-left: 0;
|
|
padding-right: 6em;
|
|
height: 100vh;
|
|
overflow: auto;
|
|
}
|
|
|
|
aside li{
|
|
padding: 2em 0;
|
|
}
|
|
|
|
h2{
|
|
font-weight: bold;
|
|
} |