2024-08-13 17:27:08 +02:00
|
|
|
@import '../styles/colors.scss';
|
|
|
|
@import '../styles/sizes.scss';
|
|
|
|
|
|
|
|
.container {
|
|
|
|
display: grid;
|
2024-08-28 18:05:30 +02:00
|
|
|
|
|
|
|
@media only screen and (max-width: 767px) {
|
|
|
|
gap: 20px;
|
|
|
|
grid-auto-flow: column;
|
|
|
|
grid-auto-columns: 100%;
|
|
|
|
|
|
|
|
overflow-x: auto;
|
|
|
|
overscroll-behavior-inline: contain;
|
|
|
|
|
|
|
|
scroll-snap-type: inline mandatory;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
scroll-snap-align: start;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 768px) {
|
|
|
|
grid-template-columns: 0.75fr 1.5fr 0.75fr;
|
|
|
|
gap: 30px;
|
|
|
|
}
|
2024-08-13 17:27:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.sidesWrap {
|
|
|
|
position: relative;
|
2024-08-19 08:30:22 +02:00
|
|
|
|
|
|
|
// HACK: Stop grid column from growing
|
|
|
|
min-width: 0;
|
2024-08-13 17:27:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.sides {
|
2024-08-28 18:05:30 +02:00
|
|
|
@media only screen and (min-width: 768px) {
|
|
|
|
position: sticky;
|
|
|
|
top: $header-height + $body-vertical-padding;
|
|
|
|
}
|
2024-08-13 17:27:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.files {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
grid-gap: 15px;
|
|
|
|
}
|
2024-08-14 11:20:48 +02:00
|
|
|
.content {
|
2024-08-14 18:59:00 +02:00
|
|
|
padding: 10px;
|
|
|
|
border: 10px solid $overlay-background-color;
|
|
|
|
border-radius: 4px;
|
2024-08-28 18:05:30 +02:00
|
|
|
|
|
|
|
@media only screen and (max-width: 767px) {
|
|
|
|
max-height: calc(100svh - $header-height + $body-vertical-padding * 2);
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
2024-08-14 11:20:48 +02:00
|
|
|
}
|