From 528c1dacea31f0e2cc79c65917df16e6e20d5f06 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 11 Nov 2021 12:06:25 +0100 Subject: Fix page design, improved header design --- assets/css/scopes/_body.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'assets/css/scopes') diff --git a/assets/css/scopes/_body.scss b/assets/css/scopes/_body.scss index c11c11f..f1fd0aa 100644 --- a/assets/css/scopes/_body.scss +++ b/assets/css/scopes/_body.scss @@ -1,6 +1,7 @@ @include namespace('body') { @include store(( --colors: ( + --bg: transparent, --meta: ( --fg: prop(--colors --fg-hi, $global: true), --bg: prop(--colors --bg-lo, $global: true), @@ -12,6 +13,7 @@ --obj-border: prop(--colors --obj, $global: true), ), --dims: ( + --space-top: 4rem, --meta: ( --pad-x: .6em, --pad-y: .2em @@ -21,6 +23,7 @@ @include store(( --colors: ( + --bg: prop(--colors --bg-hi, $global: true), --meta: ( --bg: prop(--colors --bg, $global: true), ), @@ -31,7 +34,16 @@ ) ), 'light'); + @include store(( + --dims: ( + --space-top: 3rem, + ) + ), 'sm'); + @include scope(namespace()) { + margin-top: prop(--dims --space-top); + background-color: prop(--colors --bg); + @include element('meta') { display: inline-block; padding: prop(--dims --meta --pad-y) prop(--dims --meta --pad-x); -- cgit v1.2.3-70-g09d2