summaryrefslogtreecommitdiffstats
path: root/assets/css/scopes
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-11-11 12:06:25 +0100
committerVolpeon <git@volpeon.ink>2021-11-11 12:06:25 +0100
commit528c1dacea31f0e2cc79c65917df16e6e20d5f06 (patch)
tree274b2207965cf4752dbe6c518cfe0237939d1fcb /assets/css/scopes
parentShow profiles on home page again; general updates (diff)
downloadvolpeon.ink-528c1dacea31f0e2cc79c65917df16e6e20d5f06.tar.gz
volpeon.ink-528c1dacea31f0e2cc79c65917df16e6e20d5f06.tar.bz2
volpeon.ink-528c1dacea31f0e2cc79c65917df16e6e20d5f06.zip
Fix page design, improved header design
Diffstat (limited to 'assets/css/scopes')
-rw-r--r--assets/css/scopes/_body.scss12
1 files changed, 12 insertions, 0 deletions
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 @@
1@include namespace('body') { 1@include namespace('body') {
2 @include store(( 2 @include store((
3 --colors: ( 3 --colors: (
4 --bg: transparent,
4 --meta: ( 5 --meta: (
5 --fg: prop(--colors --fg-hi, $global: true), 6 --fg: prop(--colors --fg-hi, $global: true),
6 --bg: prop(--colors --bg-lo, $global: true), 7 --bg: prop(--colors --bg-lo, $global: true),
@@ -12,6 +13,7 @@
12 --obj-border: prop(--colors --obj, $global: true), 13 --obj-border: prop(--colors --obj, $global: true),
13 ), 14 ),
14 --dims: ( 15 --dims: (
16 --space-top: 4rem,
15 --meta: ( 17 --meta: (
16 --pad-x: .6em, 18 --pad-x: .6em,
17 --pad-y: .2em 19 --pad-y: .2em
@@ -21,6 +23,7 @@
21 23
22 @include store(( 24 @include store((
23 --colors: ( 25 --colors: (
26 --bg: prop(--colors --bg-hi, $global: true),
24 --meta: ( 27 --meta: (
25 --bg: prop(--colors --bg, $global: true), 28 --bg: prop(--colors --bg, $global: true),
26 ), 29 ),
@@ -31,7 +34,16 @@
31 ) 34 )
32 ), 'light'); 35 ), 'light');
33 36
37 @include store((
38 --dims: (
39 --space-top: 3rem,
40 )
41 ), 'sm');
42
34 @include scope(namespace()) { 43 @include scope(namespace()) {
44 margin-top: prop(--dims --space-top);
45 background-color: prop(--colors --bg);
46
35 @include element('meta') { 47 @include element('meta') {
36 display: inline-block; 48 display: inline-block;
37 padding: prop(--dims --meta --pad-y) prop(--dims --meta --pad-x); 49 padding: prop(--dims --meta --pad-y) prop(--dims --meta --pad-x);