From 03d492698cf97287c39b0472ea6ad0e5862924a5 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 12 May 2021 18:18:19 +0200 Subject: Brought back ASCII fox --- assets/css/components/_ascii.scss | 25 +++++++++++++++++++++++++ assets/css/components/_post-list.scss | 1 + 2 files changed, 26 insertions(+) create mode 100644 assets/css/components/_ascii.scss (limited to 'assets/css/components') diff --git a/assets/css/components/_ascii.scss b/assets/css/components/_ascii.scss new file mode 100644 index 0000000..b32cbfd --- /dev/null +++ b/assets/css/components/_ascii.scss @@ -0,0 +1,25 @@ +@include namespace('ascii') { + @include store(( + --colors: ( + --fg: prop(--colors --fg-hi, $global: true), + --border: prop(--colors --fg-hi, $global: true), + ) + )); + + @include component(namespace()) { + padding-left: 0; + overflow: hidden; + border-left: 0; + color: prop(--colors --fg); + font-size: 1rem; + + &::after { + content: str-repeat('░', 120); + display: block; + margin-top: 1 / 16 * 2em; + padding-top: 1 / 16 * 2em; + border-top: 1px solid prop(--colors --border); + color: prop(--colors --fg); + } + } +} diff --git a/assets/css/components/_post-list.scss b/assets/css/components/_post-list.scss index bc41849..dc56724 100644 --- a/assets/css/components/_post-list.scss +++ b/assets/css/components/_post-list.scss @@ -44,6 +44,7 @@ @include element('post-title') { color: prop(--colors --post --idle-fg); + //font-size: 1 / 16 * 17em; font-weight: normal; } -- cgit v1.2.3-70-g09d2