From 0963ba816e8d5f2c408e67a4deef14840a3f64fb Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 11 Nov 2021 06:49:46 +0100 Subject: Make footer sticky again, fix blobfox and bunhd URLs --- assets/css/_basics.scss | 13 ++++++++++--- assets/css/components/_post-list.scss | 3 ++- assets/css/scopes/_body.scss | 2 -- 3 files changed, 12 insertions(+), 6 deletions(-) (limited to 'assets') diff --git a/assets/css/_basics.scss b/assets/css/_basics.scss index 71beceb..6da5e88 100644 --- a/assets/css/_basics.scss +++ b/assets/css/_basics.scss @@ -24,12 +24,19 @@ html { font-family: $font-fam--text; font-size: 1em / 16px * $font-size; line-height: $line-height; - scroll-behavior: smooth; + height: 100%; } body { - margin: 0; - padding: 0; + display: flex; + flex-direction: column; + min-height: 100%; + margin: 0; + padding: 0; +} + +main { + font-size: 1 / 16 * 19em; } pre, diff --git a/assets/css/components/_post-list.scss b/assets/css/components/_post-list.scss index 5126589..9b124a6 100644 --- a/assets/css/components/_post-list.scss +++ b/assets/css/components/_post-list.scss @@ -15,6 +15,7 @@ @include component(namespace()) { margin-top: $line-height * 2rem; + font-size: 1rem; @include element('category-header') { margin-top: $line-height * 2rem; @@ -39,7 +40,7 @@ box-shadow: none; @include next-twin-element { - margin-top: 1px; + margin-top: 2px; } } diff --git a/assets/css/scopes/_body.scss b/assets/css/scopes/_body.scss index 46b829b..c11c11f 100644 --- a/assets/css/scopes/_body.scss +++ b/assets/css/scopes/_body.scss @@ -32,8 +32,6 @@ ), 'light'); @include scope(namespace()) { - font-size: 1 / 16 * 19em; - @include element('meta') { display: inline-block; padding: prop(--dims --meta --pad-y) prop(--dims --meta --pad-x); -- cgit v1.2.3-70-g09d2