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