Column modifier for offset grid
This commit is contained in:
parent
070d9ef020
commit
f3543edbfe
|
@ -8,7 +8,7 @@
|
||||||
<body class="no-overflow">
|
<body class="no-overflow">
|
||||||
<div id="overlay">
|
<div id="overlay">
|
||||||
</div>
|
</div>
|
||||||
<main class="offset-grid--top--wide side-a">
|
<main class="offset-grid--top--wide--column side-a">
|
||||||
<div>
|
<div>
|
||||||
<h1>
|
<h1>
|
||||||
Cool Stuff
|
Cool Stuff
|
||||||
|
|
|
@ -71,6 +71,13 @@ $offset-amt: 0.33fr;
|
||||||
$left: list.nth($-l,3), $right: list.nth($-l,4));
|
$left: list.nth($-l,3), $right: list.nth($-l,4));
|
||||||
|
|
||||||
@extend %offset-grid;
|
@extend %offset-grid;
|
||||||
|
|
||||||
|
&--column {
|
||||||
|
@extend .offset-grid#{$dir_adj}#{$size_adj};
|
||||||
|
div {
|
||||||
|
grid-area: n / s;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue