diff options
author | Volpeon <git@volpeon.ink> | 2021-05-14 21:18:14 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-05-14 21:18:14 +0200 |
commit | b80e8510728b4fc605bd5f6b52d82d320acc2c1f (patch) | |
tree | 1135514c2db808cfe03fc4c272f8bbd87e91df79 /assets/css/components/_footer.scss | |
parent | Smaller ASCII art (diff) | |
download | volpeon.ink-b80e8510728b4fc605bd5f6b52d82d320acc2c1f.tar.gz volpeon.ink-b80e8510728b4fc605bd5f6b52d82d320acc2c1f.tar.bz2 volpeon.ink-b80e8510728b4fc605bd5f6b52d82d320acc2c1f.zip |
Moved ASCII fox from page list header to general footer
Diffstat (limited to 'assets/css/components/_footer.scss')
-rw-r--r-- | assets/css/components/_footer.scss | 38 |
1 files changed, 23 insertions, 15 deletions
diff --git a/assets/css/components/_footer.scss b/assets/css/components/_footer.scss index 4e809a4..2bd1fb1 100644 --- a/assets/css/components/_footer.scss +++ b/assets/css/components/_footer.scss | |||
@@ -2,26 +2,34 @@ | |||
2 | @include store(( | 2 | @include store(( |
3 | --colors: ( | 3 | --colors: ( |
4 | --fg: prop(--colors --obj, $global: true), | 4 | --fg: prop(--colors --obj, $global: true), |
5 | --border: prop(--colors --obj-hi, $global: true), | 5 | --ground: prop(--colors --obj, $global: true), |
6 | ) | 6 | ) |
7 | )); | 7 | )); |
8 | 8 | ||
9 | @include component(namespace()) { | 9 | @include component(namespace()) { |
10 | display: flex; | 10 | position: relative; |
11 | position: relative; | 11 | min-height: prop(--dims --outer, $global: true); |
12 | align-items: center; | 12 | margin-top: calc(2 * #{prop(--container --dims --pad-y, $global: true)}); |
13 | justify-content: space-between; | 13 | color: prop(--colors --fg); |
14 | height: prop(--dims --outer, $global: true); | 14 | font-family: $font-fam--mono; |
15 | line-height: 1.4; | ||
15 | 16 | ||
16 | @include element('content') { | 17 | &::after { |
17 | width: 100%; | 18 | content: str-repeat('░', 400); |
18 | height: 100%; | 19 | display: block; |
19 | margin-top: -1px; | 20 | margin-top: 1 / 16 * 2em; |
20 | margin-right: prop(--container --dims --pad-x, $global: true); | 21 | padding-top: 1 / 16 * 2em; |
21 | margin-left: prop(--container --dims --pad-x, $global: true); | 22 | overflow: hidden; |
22 | border-top: 1px solid prop(--colors --border); | 23 | border-top: 1px solid prop(--colors --ground); |
23 | color: prop(--colors --fg); | 24 | color: prop(--colors --ground); |
24 | line-height: prop(--dims --outer, $global: true); | 25 | } |
26 | |||
27 | @include element('ascii') { | ||
28 | display: inline-block; | ||
29 | position: relative; | ||
30 | left: 50%; | ||
31 | overflow: visible; | ||
32 | transform: translateX(-50%); | ||
25 | } | 33 | } |
26 | } | 34 | } |
27 | } | 35 | } |