Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 396 Bytes
// Gaps
// Vertically stacked gutters
$gap-sizes: "xs", "s", "m", "l";
// Exclude Flexbox and CSS grids but include CSS Columns!
@each $gap-size in $gap-sizes {
.gap_#{$gap-size}:not(.grid):not(.grid-auto):not(.flex) > *:not(:first-child)
{ margin-top: var(--space-#{$gap-size}) }
}
.gap-custom:not(.grid):not(.grid-auto):not(.flex) > *:not(:first-child) {
margin-top: var(--gap-size)
}