From ae4d7ea450b02a3aaf96be3d60136ff6e1583011 Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Sat, 24 Jan 2026 16:59:04 +0000 Subject: [PATCH] banner update --- core/templates/core/index.html | 25 ++----------------------- static/css/custom.css | 17 ++++++----------- staticfiles/css/custom.css | 17 ++++++----------- 3 files changed, 14 insertions(+), 45 deletions(-) diff --git a/core/templates/core/index.html b/core/templates/core/index.html index aba3174..97cca49 100644 --- a/core/templates/core/index.html +++ b/core/templates/core/index.html @@ -7,7 +7,7 @@ {% if banners %} - - {% endif %} diff --git a/static/css/custom.css b/static/css/custom.css index 6171ce3..f2bf94d 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -80,21 +80,16 @@ body { margin-bottom: 40px; } -/* Carousel Adjustments */ +/* Carousel Adjustments - Minimalist */ .carousel-item { - transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out; + transition: transform 1.2s ease-in-out; /* Slightly slower for elegance */ } -.carousel-item.active { - display: block !important; - opacity: 1 !important; -} - -/* Ensure captions are visible in RTL */ +/* Fix for captions in RTL if needed, but B5 RTL usually handles it */ [dir="rtl"] .carousel-caption { - right: 5% !important; - left: auto !important; - text-align: right !important; + text-align: right; + right: 5%; + left: auto; } .carousel-caption { diff --git a/staticfiles/css/custom.css b/staticfiles/css/custom.css index 6171ce3..f2bf94d 100644 --- a/staticfiles/css/custom.css +++ b/staticfiles/css/custom.css @@ -80,21 +80,16 @@ body { margin-bottom: 40px; } -/* Carousel Adjustments */ +/* Carousel Adjustments - Minimalist */ .carousel-item { - transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out; + transition: transform 1.2s ease-in-out; /* Slightly slower for elegance */ } -.carousel-item.active { - display: block !important; - opacity: 1 !important; -} - -/* Ensure captions are visible in RTL */ +/* Fix for captions in RTL if needed, but B5 RTL usually handles it */ [dir="rtl"] .carousel-caption { - right: 5% !important; - left: auto !important; - text-align: right !important; + text-align: right; + right: 5%; + left: auto; } .carousel-caption {