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