2023-07-31 07:16:03 +00:00
|
|
|
/* container for full-page content with sidebar on left */
|
|
|
|
|
|
|
|
.flex-container {
|
|
|
|
display: flex !important;
|
2024-04-07 15:45:36 +00:00
|
|
|
gap: var(--page-spacing);
|
|
|
|
margin-top: var(--page-spacing);
|
2023-07-31 07:16:03 +00:00
|
|
|
}
|
|
|
|
|
2024-04-14 11:39:11 +00:00
|
|
|
/* small options menu on the left, used in settings/admin pages */
|
2023-07-31 07:16:03 +00:00
|
|
|
.flex-container-nav {
|
|
|
|
width: 240px;
|
|
|
|
}
|
|
|
|
|
2024-04-14 11:39:11 +00:00
|
|
|
/* wide sidebar on the right, used in frontpage */
|
|
|
|
.flex-container-sidebar {
|
|
|
|
width: 35%;
|
|
|
|
}
|
|
|
|
|
2023-07-31 07:16:03 +00:00
|
|
|
.flex-container-main {
|
|
|
|
flex: 1;
|
2023-12-24 14:39:02 +00:00
|
|
|
min-width: 0; /* make the "text truncate" work, otherwise the flex axis is not limited and the text just overflows */
|
2023-07-31 07:16:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 767.98px) {
|
|
|
|
.flex-container {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2024-04-14 11:39:11 +00:00
|
|
|
.flex-container-nav,
|
|
|
|
.flex-container-sidebar {
|
|
|
|
order: -1;
|
2023-07-31 07:16:03 +00:00
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|