From 304ebd1f875476fc2b6a7c5435b011c55d735617 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 18 Apr 2021 15:53:42 +0200 Subject: Update --- assets/css/components/_footer.scss | 1 + assets/css/layouts/_landing.scss | 4 ---- assets/css/layouts/_section.scss | 8 ++++++++ 3 files changed, 9 insertions(+), 4 deletions(-) (limited to 'assets/css') diff --git a/assets/css/components/_footer.scss b/assets/css/components/_footer.scss index c127d02..225cd29 100644 --- a/assets/css/components/_footer.scss +++ b/assets/css/components/_footer.scss @@ -17,6 +17,7 @@ @include element('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); 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-70-g09d2