From 09637502e8374ba5a1f408a9a231a0ec1eb96ee4 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 18 Apr 2021 20:40:38 +0200 Subject: Update --- assets/css/layouts/_container.scss | 16 ++++++---------- assets/css/layouts/_section.scss | 6 +++--- 2 files changed, 9 insertions(+), 13 deletions(-) (limited to 'assets/css/layouts') diff --git a/assets/css/layouts/_container.scss b/assets/css/layouts/_container.scss index 0f569e4..ae23042 100644 --- a/assets/css/layouts/_container.scss +++ b/assets/css/layouts/_container.scss @@ -1,19 +1,15 @@ @include namespace('container') { @include store(( --dims: ( - --pad-x: 3rem + --pad-x: 2rem, + --pad-y: 4rem, ) )); @include store(( --dims: ( - --pad-x: 2rem - ) - ), 'md'); - - @include store(( - --dims: ( - --pad-x: 4% + --pad-x: 1rem, + --pad-y: 3rem, ) ), 'sm'); @@ -30,8 +26,8 @@ } @include modifier('pad-y') { - padding-top: prop(--dims --spacing-y, $global: true); - padding-bottom: prop(--dims --spacing-y, $global: true); + padding-top: prop(--dims --pad-y); + padding-bottom: prop(--dims --pad-y); } } } diff --git a/assets/css/layouts/_section.scss b/assets/css/layouts/_section.scss index 3450858..70ace4c 100644 --- a/assets/css/layouts/_section.scss +++ b/assets/css/layouts/_section.scss @@ -2,7 +2,7 @@ @include store(( --colors: ( --border: prop(--colors --obj-hi, $global: true), - ) + ), )); @include layout(namespace()) { @@ -33,8 +33,8 @@ width: 100%; height: 100%; margin-top: -1px; - margin-right: prop(--dims --outer-spacing, $global: true); - margin-left: prop(--dims --outer-spacing, $global: true); + margin-right: prop(--container --dims --pad-x, $global: true); + margin-left: prop(--container --dims --pad-x, $global: true); border-top: 1px solid prop(--colors --border); } } -- cgit v1.2.3-70-g09d2