From e7d6404ab184a5f6a8645bd0ac90b3676b8c5efc Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 25 Dec 2020 13:22:37 +0100 Subject: Improved CSS definitions, more fine-grained content build script --- assets/css/layouts/_container.scss | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'assets/css/layouts') diff --git a/assets/css/layouts/_container.scss b/assets/css/layouts/_container.scss index 9159f5a..b5dee3c 100644 --- a/assets/css/layouts/_container.scss +++ b/assets/css/layouts/_container.scss @@ -1,20 +1,20 @@ .l-container { - padding-left: 2rem; - padding-right: 2rem; + padding-left: 2rem; + padding-right: 2rem; - &--narrow { - margin-left: auto; - margin-right: auto; - max-width: $content-width; - } + &--content { + margin-left: auto; + margin-right: auto; + max-width: $content-width; + } - &--pad-v { - padding-top: $line-height * 2rem; - padding-bottom: $line-height * 2rem; - } + &--pad-v { + padding-top: $line-height * 2rem; + padding-bottom: $line-height * 2rem; + } - @media (max-width: $breakpoint-sm) { - padding-left: 1rem; - padding-right: 1rem; - } + @media (max-width: map-get($breakpoints, "sm")) { + padding-left: 1rem; + padding-right: 1rem; + } } -- cgit v1.2.3-70-g09d2