transvase aside style dans aside css

This commit is contained in:
hugogogo
2021-03-12 13:08:44 +01:00
parent d5de3d34e2
commit 409ec82f3b
5 changed files with 50 additions and 94 deletions

21
styles/aside_left.css Normal file
View File

@@ -0,0 +1,21 @@
/*---------------------------------------------*/
/*ASIDE LEFT*/
/* aside left is for page table of content */
body aside.page_content {
top: calc(var(--nav-height) + 1px);
height: calc(100vh - var(--nav-height));
padding: calc(var(--gap-unit) / 2);
}
/* asides elements only have width if they have a child*/
body aside.page_content .table_box {
min-width: var(--aside-left-width);
margin: var(--aside-margin) auto var(--aside-margin) var(--aside-margin);
padding: var(--gap-unit);
/*for style*/
border-left: 1px solid var(--color-lines-aside-l);
}
/*to put space between elements*/
body aside.page_content .table_box > * {
margin-bottom: var(--gap-unit);
}