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