2020-09-23 07:20:18 -04:00
|
|
|
.container {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
|
2021-06-20 06:53:10 -04:00
|
|
|
.left-sidebar {
|
|
|
|
max-width: var(--left-sidebar-max-width);
|
|
|
|
}
|
2020-09-23 07:20:18 -04:00
|
|
|
|
2021-06-20 06:53:10 -04:00
|
|
|
.right-sidebar {
|
|
|
|
max-width: var(--right-sidebar-max-width);
|
2020-09-23 07:20:18 -04:00
|
|
|
|
2021-06-20 06:53:10 -04:00
|
|
|
/// Display right sidebar when min-width: lg
|
|
|
|
@include respond(lg) {
|
|
|
|
display: block;
|
2020-09-23 07:20:18 -04:00
|
|
|
}
|
2021-06-20 06:53:10 -04:00
|
|
|
}
|
2020-09-23 07:20:18 -04:00
|
|
|
|
2021-06-20 06:53:10 -04:00
|
|
|
&.extended {
|
|
|
|
@include respond(md) {
|
|
|
|
max-width: 1024px;
|
|
|
|
--left-sidebar-max-width: 25%;
|
|
|
|
--right-sidebar-max-width: 30%;
|
|
|
|
}
|
2020-09-23 07:20:18 -04:00
|
|
|
|
2021-06-20 06:53:10 -04:00
|
|
|
@include respond(lg) {
|
|
|
|
max-width: 1280px;
|
|
|
|
--left-sidebar-max-width: 20%;
|
|
|
|
--right-sidebar-max-width: 30%;
|
2020-09-23 07:20:18 -04:00
|
|
|
}
|
|
|
|
|
2021-06-20 06:53:10 -04:00
|
|
|
@include respond(xl) {
|
2020-09-23 07:20:18 -04:00
|
|
|
max-width: 1536px;
|
2021-06-20 06:53:10 -04:00
|
|
|
--left-sidebar-max-width: 15%;
|
|
|
|
--right-sidebar-max-width: 25%;
|
2020-09-23 07:20:18 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.compact {
|
2021-06-20 06:53:10 -04:00
|
|
|
@include respond(md) {
|
|
|
|
--left-sidebar-max-width: 25%;
|
|
|
|
max-width: 768px;
|
2020-09-23 07:20:18 -04:00
|
|
|
}
|
|
|
|
|
2021-06-20 06:53:10 -04:00
|
|
|
@include respond(lg) {
|
|
|
|
max-width: 1024px;
|
|
|
|
--left-sidebar-max-width: 20%;
|
2020-09-23 07:20:18 -04:00
|
|
|
}
|
|
|
|
|
2021-06-20 06:53:10 -04:00
|
|
|
@include respond(xl) {
|
|
|
|
max-width: 1280px;
|
2020-09-23 07:20:18 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
&.column {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.on-phone--column {
|
2021-06-20 06:53:10 -04:00
|
|
|
flex-direction: column;
|
|
|
|
@include respond(md) {
|
|
|
|
flex-direction: unset;
|
2020-09-23 07:20:18 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.align-items--flex-start {
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.grow {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.do-not-shrink {
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.do-not-overflow {
|
|
|
|
min-width: 0;
|
|
|
|
flex-shrink: 1;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.full-width {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
main.main {
|
|
|
|
min-width: 0;
|
|
|
|
max-width: 100%;
|
|
|
|
flex-grow: 1;
|
|
|
|
padding-top: var(--main-top-padding);
|
|
|
|
}
|
|
|
|
|
2020-12-24 05:06:58 -05:00
|
|
|
.main-container {
|
|
|
|
min-height: 100vh;
|
2021-06-20 06:53:10 -04:00
|
|
|
align-items: flex-start;
|
2021-06-21 12:44:54 -04:00
|
|
|
padding: 0 15px;
|
|
|
|
column-gap: var(--section-separation);
|
2021-06-20 06:53:10 -04:00
|
|
|
|
|
|
|
@include respond(md) {
|
|
|
|
padding: 0 20px;
|
|
|
|
}
|
|
|
|
}
|