From 9e373cfbb0bd98480560a00978fd6d51113ffe06 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 15 Apr 2021 20:21:14 +0200 Subject: Fetch pages of sections --- assets/css/_basics.scss | 2 +- assets/css/layouts/_landing.scss | 5 +---- assets/css/layouts/_section.scss | 11 ++++++----- 3 files changed, 8 insertions(+), 10 deletions(-) (limited to 'assets/css') diff --git a/assets/css/_basics.scss b/assets/css/_basics.scss index b739d2a..becf68a 100644 --- a/assets/css/_basics.scss +++ b/assets/css/_basics.scss @@ -31,7 +31,7 @@ html { body { margin: 0; - padding: prop(--dims --outer, $global: true) 0 0; + padding: 0; } pre, diff --git a/assets/css/layouts/_landing.scss b/assets/css/layouts/_landing.scss index aa85679..500849e 100644 --- a/assets/css/layouts/_landing.scss +++ b/assets/css/layouts/_landing.scss @@ -10,7 +10,6 @@ @include layout(namespace()) { display: flex; - box-sizing: border-box; flex-direction: row; align-items: center; @@ -30,9 +29,7 @@ } @include media('<=md') { - flex-direction: column; - align-items: stretch; - justify-content: center; + display: block; @include element('side') { display: none; diff --git a/assets/css/layouts/_section.scss b/assets/css/layouts/_section.scss index 38b20aa..a005ece 100644 --- a/assets/css/layouts/_section.scss +++ b/assets/css/layouts/_section.scss @@ -1,14 +1,15 @@ @include namespace('section') { @include layout(namespace()) { - display: flex; - flex-direction: column; - align-items: stretch; - justify-content: flex-start; + box-sizing: border-box; min-height: 100%; margin-bottom: calc(-1 * #{prop(--dims --outer, $global: true)}); padding-bottom: prop(--dims --outer, $global: true); - @include element('heading') { + @include modifier('no-head') { + padding-top: prop(--dims --outer, $global: true); + } + + @include element('head') { display: flex; position: sticky; z-index: 9000; -- cgit v1.2.3-70-g09d2