From b80e8510728b4fc605bd5f6b52d82d320acc2c1f Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 14 May 2021 21:18:14 +0200 Subject: Moved ASCII fox from page list header to general footer --- assets/css/components/_footer.scss | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) (limited to 'assets/css/components/_footer.scss') 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 @@ @include store(( --colors: ( --fg: prop(--colors --obj, $global: true), - --border: prop(--colors --obj-hi, $global: true), + --ground: prop(--colors --obj, $global: true), ) )); @include component(namespace()) { - display: flex; - position: relative; - align-items: center; - justify-content: space-between; - height: prop(--dims --outer, $global: true); + position: relative; + min-height: prop(--dims --outer, $global: true); + margin-top: calc(2 * #{prop(--container --dims --pad-y, $global: true)}); + color: prop(--colors --fg); + font-family: $font-fam--mono; + line-height: 1.4; - @include element('content') { - width: 100%; - height: 100%; - margin-top: -1px; - margin-right: prop(--container --dims --pad-x, $global: true); - margin-left: prop(--container --dims --pad-x, $global: true); - border-top: 1px solid prop(--colors --border); - color: prop(--colors --fg); - line-height: prop(--dims --outer, $global: true); + &::after { + content: str-repeat('░', 400); + display: block; + margin-top: 1 / 16 * 2em; + padding-top: 1 / 16 * 2em; + overflow: hidden; + border-top: 1px solid prop(--colors --ground); + color: prop(--colors --ground); + } + + @include element('ascii') { + display: inline-block; + position: relative; + left: 50%; + overflow: visible; + transform: translateX(-50%); } } } -- cgit v1.2.3-54-g00ecf