continue mise en page aside gauche
This commit is contained in:
@@ -136,12 +136,17 @@ body aside.page_content {
|
||||
top: calc(var(--nav-height) + 1px);
|
||||
height: calc(100vh - var(--nav-height));
|
||||
}
|
||||
body aside.page_content > * {
|
||||
margin: var(--gap-unit) 0px;
|
||||
}
|
||||
/* asides elements only have width if they have a child*/
|
||||
body aside.page_content *:first-child {
|
||||
width: 200px;
|
||||
body aside.page_content .table_box {
|
||||
width: calc(var(--aside-left-width) - var(--aside-margin));
|
||||
margin: var(--aside-margin) 0px var(--aside-margin) var(--aside-margin);
|
||||
/*border-box so changing padding has no effect on total width*/
|
||||
box-sizing: border-box;
|
||||
padding: var(--gap-unit);
|
||||
border-left: 1px solid lightgrey;
|
||||
}
|
||||
body aside.page_content .table_box > * {
|
||||
margin-bottom: var(--gap-unit);
|
||||
}
|
||||
|
||||
/*MAIN*/
|
||||
|
||||
Reference in New Issue
Block a user