From 9574cdbbfa3eb5314f9a02c07b26e452ac8ec6c7 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 15 Jul 2025 10:45:35 +0200 Subject: [PATCH] FEATURE Handling classic and photoframe variations --- resources/css/blocks/chapter-section.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/resources/css/blocks/chapter-section.css b/resources/css/blocks/chapter-section.css index 5be4505..b300c77 100644 --- a/resources/css/blocks/chapter-section.css +++ b/resources/css/blocks/chapter-section.css @@ -72,6 +72,21 @@ &--small { @apply !h-12; } + &--classic { + @apply !rounded-none; + } + &--photoframe { + @apply object-cover; + border: 20px solid white; + box-sizing: content-box; + filter: saturate(0); + transition: all 0.3s ease; + + &:hover { + filter: saturate(1); + scale: 1.01; + } + } } &__background { @@ -96,3 +111,9 @@ z-index: 2; } } + +.chapter-section:nth-child(even) { + .chapter-section__cover--photoframe { + @apply -rotate-1; + } +}