summaryrefslogtreecommitdiff
path: root/scss/layout/grid.scss
diff options
context:
space:
mode:
authorJoe Carstairs <118172583+jcarstairs-scottlogic@users.noreply.github.com>2024-01-19 09:16:42 +0000
committerGitHub <noreply@github.com>2024-01-19 09:16:42 +0000
commit0cb6960f0c65c0d791ccdee2f5bc2e2b910cfb76 (patch)
tree503e1129a999fe834d2a7b98a4e82bf07264f49f /scss/layout/grid.scss
parent0b2fbe3f5b9e2fcf0da2b320af504d5cca759045 (diff)
Uses SCSS partials (#64)
Diffstat (limited to 'scss/layout/grid.scss')
-rw-r--r--scss/layout/grid.scss30
1 files changed, 0 insertions, 30 deletions
diff --git a/scss/layout/grid.scss b/scss/layout/grid.scss
deleted file mode 100644
index 25cdd95..0000000
--- a/scss/layout/grid.scss
+++ /dev/null
@@ -1,30 +0,0 @@
-:is(
- header,
- footer,
- nav,
- :is(main, article) > section:not(:is(section, header) :is(section, header))
-):not(.section--full-width) {
- padding-inline: calc(var(--grid-padding) + 0.5 * (100vw - var(--grid-total-width)));
-}
-
-.grid-span-1 {
- width: var(--grid-column-width);
-}
-
-/* On screens narrower than 16rem, there is only one column. */
-
-.grid-span-2 {
- width: var(--grid-column-width);
-}
-
-.grid-span-3 {
- width: var(--grid-column-width);
-}
-
-.width-prose {
- width: var(--prose-width);
-}
-
-.grid-span-full {
- width: var(--grid-total-width);
-}