feat(css/style.css): add #content styling, make main's flex column to fit aside
This commit is contained in:
@@ -52,12 +52,22 @@ header {
|
|||||||
}
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
|
display: flex;
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
aside {
|
||||||
|
width: 20rem;
|
||||||
|
background-color: var(--ctp-base);
|
||||||
|
border-right: 2px solid var(--ctp-mantle);
|
||||||
|
}
|
||||||
|
|
||||||
|
#content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
padding: 1rem;
|
|
||||||
/* background-color: var(--ctp-base); */
|
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
header a {
|
header a {
|
||||||
|
|||||||
Reference in New Issue
Block a user