From 304ebd1f875476fc2b6a7c5435b011c55d735617 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 18 Apr 2021 15:53:42 +0200 Subject: Update --- assets/css/layouts/_landing.scss | 4 ---- assets/css/layouts/_section.scss | 8 ++++++++ 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'assets/css/layouts') diff --git a/assets/css/layouts/_landing.scss b/assets/css/layouts/_landing.scss index d1169dd..500849e 100644 --- a/assets/css/layouts/_landing.scss +++ b/assets/css/layouts/_landing.scss @@ -10,12 +10,8 @@ @include layout(namespace()) { display: flex; - box-sizing: border-box; flex-direction: row; align-items: center; - min-height: 100%; - margin-bottom: calc(-1 * #{prop(--dims --outer, $global: true)}); - padding-bottom: prop(--dims --outer, $global: true); @include element('banner') { width: 70%; diff --git a/assets/css/layouts/_section.scss b/assets/css/layouts/_section.scss index 0ad9a61..3450858 100644 --- a/assets/css/layouts/_section.scss +++ b/assets/css/layouts/_section.scss @@ -6,6 +6,13 @@ )); @include layout(namespace()) { + @include modifier('fullscreen') { + box-sizing: border-box; + min-height: 100%; + margin-bottom: calc(-1 * #{prop(--dims --outer, $global: true)}); + padding-bottom: prop(--dims --outer, $global: true); + } + @include modifier('no-head') { padding-top: prop(--dims --outer, $global: true); } @@ -25,6 +32,7 @@ content: ''; width: 100%; height: 100%; + margin-top: -1px; margin-right: prop(--dims --outer-spacing, $global: true); margin-left: prop(--dims --outer-spacing, $global: true); border-top: 1px solid prop(--colors --border); -- cgit v1.2.3-54-g00ecf