diff options
author | Volpeon <git@volpeon.ink> | 2021-11-11 12:18:04 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-11-11 12:18:04 +0100 |
commit | aa1fefd61a25f432990c6434723878e098328731 (patch) | |
tree | a956649a658869a713ec15af428477557a3960fa | |
parent | Fix page design, improved header design (diff) | |
download | volpeon.ink-aa1fefd61a25f432990c6434723878e098328731.tar.gz volpeon.ink-aa1fefd61a25f432990c6434723878e098328731.tar.bz2 volpeon.ink-aa1fefd61a25f432990c6434723878e098328731.zip |
Body: Don't make bg white
-rw-r--r-- | assets/css/scopes/_body.scss | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/assets/css/scopes/_body.scss b/assets/css/scopes/_body.scss index f1fd0aa..6abaeb0 100644 --- a/assets/css/scopes/_body.scss +++ b/assets/css/scopes/_body.scss | |||
@@ -1,7 +1,6 @@ | |||
1 | @include namespace('body') { | 1 | @include namespace('body') { |
2 | @include store(( | 2 | @include store(( |
3 | --colors: ( | 3 | --colors: ( |
4 | --bg: transparent, | ||
5 | --meta: ( | 4 | --meta: ( |
6 | --fg: prop(--colors --fg-hi, $global: true), | 5 | --fg: prop(--colors --fg-hi, $global: true), |
7 | --bg: prop(--colors --bg-lo, $global: true), | 6 | --bg: prop(--colors --bg-lo, $global: true), |
@@ -13,7 +12,6 @@ | |||
13 | --obj-border: prop(--colors --obj, $global: true), | 12 | --obj-border: prop(--colors --obj, $global: true), |
14 | ), | 13 | ), |
15 | --dims: ( | 14 | --dims: ( |
16 | --space-top: 4rem, | ||
17 | --meta: ( | 15 | --meta: ( |
18 | --pad-x: .6em, | 16 | --pad-x: .6em, |
19 | --pad-y: .2em | 17 | --pad-y: .2em |
@@ -23,27 +21,16 @@ | |||
23 | 21 | ||
24 | @include store(( | 22 | @include store(( |
25 | --colors: ( | 23 | --colors: ( |
26 | --bg: prop(--colors --bg-hi, $global: true), | ||
27 | --meta: ( | 24 | --meta: ( |
28 | --bg: prop(--colors --bg, $global: true), | 25 | --bg: prop(--colors --bg-hi, $global: true), |
29 | ), | 26 | ), |
30 | --code: ( | 27 | --code: ( |
31 | --bg: prop(--colors --accent --faint, $global: true), | 28 | --bg: prop(--colors --accent --faint, $global: true), |
32 | ), | 29 | ), |
33 | --obj-border: prop(--colors --obj-hi, $global: true), | ||
34 | ) | 30 | ) |
35 | ), 'light'); | 31 | ), 'light'); |
36 | 32 | ||
37 | @include store(( | ||
38 | --dims: ( | ||
39 | --space-top: 3rem, | ||
40 | ) | ||
41 | ), 'sm'); | ||
42 | |||
43 | @include scope(namespace()) { | 33 | @include scope(namespace()) { |
44 | margin-top: prop(--dims --space-top); | ||
45 | background-color: prop(--colors --bg); | ||
46 | |||
47 | @include element('meta') { | 34 | @include element('meta') { |
48 | display: inline-block; | 35 | display: inline-block; |
49 | padding: prop(--dims --meta --pad-y) prop(--dims --meta --pad-x); | 36 | padding: prop(--dims --meta --pad-y) prop(--dims --meta --pad-x); |