@import '_mixins';
@import '_miniature';
-.videos {
- display: grid;
- column-gap: calc(10px + .2%);
- grid-template-columns: repeat(
- auto-fill,
- minmax(
- var(--miniature-min-width, #{$video-thumbnail-width}),
- 1fr
- )
- );
-
- @media screen and (min-width: #{breakpoint(xxl)}) {
- --miniature-min-width: 300px;
- }
-}
-
.videos-header {
display: flex;
justify-content: space-between;
font-weight: $font-semibold;
margin-bottom: 20px;
margin-top: -10px;
- padding-top: 20px;
// make the element span a full grid row within .videos grid
grid-column: 1 / -1;
&:not(:first-child) {
+ margin-top: .5rem;
+ padding-top: 20px;
border-top: 1px solid $separator-border-color;
}
}
-:host-context(.main-col:not(.expanded)) .margin-content {
- @include adapt-margin-content-width($fluid: true);
+.margin-content {
+ @include fluid-videos-miniature-layout;
}
@media screen and (max-width: $mobile-view) {
flex-direction: column;
align-items: center;
height: auto;
+ margin-bottom: 10px;
.title-page {
margin-bottom: 10px;