From ce682709b407e1c856558cc8063564e8ee070ae2 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Wed, 20 Aug 2025 21:51:03 +0200 Subject: [PATCH] Enable parallax for header images --- static/css/site.css | 4 ++-- templates/post.html.skooma.yue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/static/css/site.css b/static/css/site.css index 7223252..81ac11f 100644 --- a/static/css/site.css +++ b/static/css/site.css @@ -1,5 +1,5 @@ -@import url('https://cdn.jsdelivr.net/gh/darkwiiplayer/css@main/all.css') layer(framework); -@import url('https://cdn.jsdelivr.net/gh/darkwiiplayer/css@main/drop-in.css') layer(framework); +@import url('https://cdn.jsdelivr.net/gh/darkwiiplayer/css@3db9f6c/all.css') layer(framework); +@import url('https://cdn.jsdelivr.net/gh/darkwiiplayer/css@3db9f6c/drop-in.css') layer(framework); blog-post[hidden] { display: none; diff --git a/templates/post.html.skooma.yue b/templates/post.html.skooma.yue index 4117b72..7c7118e 100644 --- a/templates/post.html.skooma.yue +++ b/templates/post.html.skooma.yue @@ -32,7 +32,7 @@ breadcrumb = (href) -> li a :href, href\match('[^/]+$'), tabindex: 0 if src := post.head.cover_image slots.top pageHero cover: 60 - * img :src, style: 'opacity: .4' + * img :src, style: 'opacity: .4', class: "parallax" * h1(post.head.title, style: "view-transition-name: #{post.head.slug}") slots.head * meta property: "og:image", content: src