26 lines
401 B
CSS
26 lines
401 B
CSS
/*=============*/
|
|
/* The Sidebar */
|
|
/*=============*/
|
|
|
|
.with-sidebar {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.with-sidebar > * {
|
|
--space: var(--s1);
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin: calc(var(--space) / 2 * -1);
|
|
}
|
|
|
|
.with-sidebar > * > * {
|
|
margin: calc(var(--space) / 2);
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.with-sidebar > * > :last-child {
|
|
flex-basis: 0;
|
|
flex-grow: 999;
|
|
min-width: calc(50% - var(--space));
|
|
}
|