-@mixin miniature-rows {
- &:first-child {
- padding-top: 30px;
-
- .section-title {
- border-top: none !important;
- }
- }
-
- .section-title {
- font-size: 24px;
- font-weight: $font-semibold;
- padding-top: 15px;
- margin-bottom: 15px;
- display: flex;
- justify-content: space-between;
-
- &:not(h2) {
- border-top: 1px solid $separator-border-color;
- }
-
- a {
- &:hover, &:focus:not(.focus-visible), &:active {
- text-decoration: none;
- outline: none;
- }
-
- color: pvar(--mainForegroundColor);
- }
- }
-
- &.channel {
- .section-title {
- a {
- display: flex;
- width: fit-content;
- align-items: center;
-
- img {
- @include avatar(28px);
-
- margin-right: 8px;
- }
- }
-
- .followers {
- color: pvar(--greyForegroundColor);
- font-weight: normal;
- font-size: 14px;
- margin-left: 10px;
- position: relative;
- top: 2px;
- }
- }
- }
+// Use margin by default, or padding if $margin is false
+@mixin grid-videos-miniature-margins ($margin: true, $min-margin: 0) {
+ --gridVideosMiniatureMargins: #{pvar(--videosHorizontalMarginContent)};