diff options
author | Volpeon <git@volpeon.ink> | 2021-05-16 14:45:16 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-05-16 14:45:16 +0200 |
commit | 349cbedd7f2132151ed6a170cc53453b0fba363a (patch) | |
tree | 92fb94b1fa4b816e82a49b59ff956034ba50f620 /assets/css/layouts | |
parent | Small design adjustments (diff) | |
download | volpeon.ink-349cbedd7f2132151ed6a170cc53453b0fba363a.tar.gz volpeon.ink-349cbedd7f2132151ed6a170cc53453b0fba363a.tar.bz2 volpeon.ink-349cbedd7f2132151ed6a170cc53453b0fba363a.zip |
Design
Diffstat (limited to 'assets/css/layouts')
-rw-r--r-- | assets/css/layouts/_section.scss | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/assets/css/layouts/_section.scss b/assets/css/layouts/_section.scss index 36c84a7..7c1cc9b 100644 --- a/assets/css/layouts/_section.scss +++ b/assets/css/layouts/_section.scss | |||
@@ -1,10 +1,17 @@ | |||
1 | @include namespace('section') { | 1 | @include namespace('section') { |
2 | @include store(( | 2 | @include store(( |
3 | --colors: ( | 3 | --colors: ( |
4 | --border: prop(--colors --obj-hi, $global: true), | 4 | --border: prop(--colors --obj-hi, $global: true), |
5 | --body-bg: transparent, | ||
5 | ) | 6 | ) |
6 | )); | 7 | )); |
7 | 8 | ||
9 | @include store(( | ||
10 | --colors: ( | ||
11 | --body-bg: prop(--colors --bg-hi, $global: true), | ||
12 | ) | ||
13 | ), 'light'); | ||
14 | |||
8 | @include layout(namespace()) { | 15 | @include layout(namespace()) { |
9 | position: relative; | 16 | position: relative; |
10 | 17 | ||
@@ -15,6 +22,10 @@ | |||
15 | padding-bottom: prop(--dims --outer, $global: true); | 22 | padding-bottom: prop(--dims --outer, $global: true); |
16 | } | 23 | } |
17 | 24 | ||
25 | @include modifier('body') { | ||
26 | background-color: prop(--colors --body-bg); | ||
27 | } | ||
28 | |||
18 | @include modifier('no-head') { | 29 | @include modifier('no-head') { |
19 | padding-top: prop(--dims --outer, $global: true); | 30 | padding-top: prop(--dims --outer, $global: true); |
20 | } | 31 | } |