diff options
Diffstat (limited to 'assets/css/components/_footer.scss')
| -rw-r--r-- | assets/css/components/_footer.scss | 37 |
1 files changed, 21 insertions, 16 deletions
diff --git a/assets/css/components/_footer.scss b/assets/css/components/_footer.scss index 6b483ca..2cc63f5 100644 --- a/assets/css/components/_footer.scss +++ b/assets/css/components/_footer.scss | |||
| @@ -1,30 +1,35 @@ | |||
| 1 | @include namespace('footer') { | 1 | @use 'iro-sass/src/index' as iro; |
| 2 | @include store(( | 2 | @use 'iro-design/src/functions' as fn; |
| 3 | @use 'iro-design/src/mixins' as mx; | ||
| 4 | @use '../functions' as fn2; | ||
| 5 | |||
| 6 | @include iro.props-namespace('footer') { | ||
| 7 | @include iro.props-store(( | ||
| 3 | --colors: ( | 8 | --colors: ( |
| 4 | --fg: prop(--colors --obj, $global: true), | 9 | --fg: fn.global-color(--obj-lo), |
| 5 | --ground: prop(--colors --obj, $global: true), | 10 | --ground: fn.global-color(--obj), |
| 6 | ) | 11 | ) |
| 7 | )); | 12 | ), 'colors'); |
| 13 | |||
| 14 | @include iro.bem-component(iro.props-namespace()) { | ||
| 15 | @include mx.set-font(--mono); | ||
| 8 | 16 | ||
| 9 | @include component(namespace()) { | 17 | position: sticky; |
| 10 | position: sticky; | 18 | top: 100vh; |
| 11 | top: 100vh; | 19 | overflow: hidden; |
| 12 | overflow: hidden; | 20 | color: fn.color(--fg); |
| 13 | color: prop(--colors --fg); | ||
| 14 | font-family: $font-fam--mono; | ||
| 15 | line-height: 1.4; | ||
| 16 | 21 | ||
| 17 | &::after { | 22 | &::after { |
| 18 | content: str-repeat('░', 400); | 23 | content: fn2.str-repeat('░', 400); |
| 19 | display: block; | 24 | display: block; |
| 20 | margin-top: 2px; | 25 | margin-top: 2px; |
| 21 | padding-top: 2px; | 26 | padding-top: 2px; |
| 22 | overflow: hidden; | 27 | overflow: hidden; |
| 23 | border-top: 1px solid prop(--colors --ground); | 28 | border-top: 1px solid fn.color(--ground); |
| 24 | color: prop(--colors --ground); | 29 | color: fn.color(--ground); |
| 25 | } | 30 | } |
| 26 | 31 | ||
| 27 | @include element('ascii') { | 32 | @include iro.bem-elem('ascii') { |
| 28 | display: inline-block; | 33 | display: inline-block; |
| 29 | position: relative; | 34 | position: relative; |
| 30 | left: 50%; | 35 | left: 50%; |
