From f3543edbfede9ce5f679a4ea301bb9ed8d9abd0d Mon Sep 17 00:00:00 2001 From: Emilia Date: Wed, 2 Aug 2023 12:13:15 -0400 Subject: [PATCH] Column modifier for offset grid --- src/cool-stuff/index.html | 2 +- src/scss/waltuh/layouts/_grid.scss | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/cool-stuff/index.html b/src/cool-stuff/index.html index 2927f5d..c9ec58f 100644 --- a/src/cool-stuff/index.html +++ b/src/cool-stuff/index.html @@ -8,7 +8,7 @@
-
+

Cool Stuff diff --git a/src/scss/waltuh/layouts/_grid.scss b/src/scss/waltuh/layouts/_grid.scss index b7ccd56..a620444 100644 --- a/src/scss/waltuh/layouts/_grid.scss +++ b/src/scss/waltuh/layouts/_grid.scss @@ -71,6 +71,13 @@ $offset-amt: 0.33fr; $left: list.nth($-l,3), $right: list.nth($-l,4)); @extend %offset-grid; + + &--column { + @extend .offset-grid#{$dir_adj}#{$size_adj}; + div { + grid-area: n / s; + } + } } } }