From af05e32db2509aec4319d3b96a332585486feb37 Mon Sep 17 00:00:00 2001 From: Amolith Date: Fri, 11 Aug 2023 12:06:32 -0700 Subject: [PATCH] add WIP pure-CSS scroll indicator --- themes/secluded/assets/scss/_header.scss | 18 ++++++++++++++++++ themes/secluded/layouts/partials/header.html | 1 + 2 files changed, 19 insertions(+) diff --git a/themes/secluded/assets/scss/_header.scss b/themes/secluded/assets/scss/_header.scss index 36e8ad0..a67c2fa 100644 --- a/themes/secluded/assets/scss/_header.scss +++ b/themes/secluded/assets/scss/_header.scss @@ -1,3 +1,21 @@ +/* +body { + background: linear-gradient(to right top, $button-border 50%, $button-background 50%); + background-size: 100% calc(100% - 100vh + #{5px}); + background-repeat: no-repeat; +} + +body:before { + content:''; + position: fixed; + top: 5px; + bottom: 0; + width: 100%; + z-index: -1; + background: $light; +} + */ + .title-wrapper { max-width: 800px; margin: 0 auto; diff --git a/themes/secluded/layouts/partials/header.html b/themes/secluded/layouts/partials/header.html index b76a677..867b55a 100644 --- a/themes/secluded/layouts/partials/header.html +++ b/themes/secluded/layouts/partials/header.html @@ -1,3 +1,4 @@ +
{{ $.Site.Title }}