From 944226ce7cce4647d9def0b54e4c4aa6225077d2 Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Sat, 24 Jan 2026 17:03:57 +0000 Subject: [PATCH] Autosave: 20260124-170357 --- core/templates/core/index.html | 29 ++++++++++++++++++++++++----- static/css/custom.css | 18 +++++++++++------- staticfiles/css/custom.css | 18 +++++++++++------- 3 files changed, 46 insertions(+), 19 deletions(-) diff --git a/core/templates/core/index.html b/core/templates/core/index.html index 97cca49..2780766 100644 --- a/core/templates/core/index.html +++ b/core/templates/core/index.html @@ -3,11 +3,10 @@ {% block content %} {% get_current_language as CURRENT_LANG %} - {% if banners %} + + {% endif %} diff --git a/static/css/custom.css b/static/css/custom.css index f2bf94d..5889869 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -82,18 +82,22 @@ body { /* Carousel Adjustments - Minimalist */ .carousel-item { - transition: transform 1.2s ease-in-out; /* Slightly slower for elegance */ + transition: transform 1.2s ease-in-out, opacity 1.2s ease-in-out !important; } -/* Fix for captions in RTL if needed, but B5 RTL usually handles it */ -[dir="rtl"] .carousel-caption { +/* Ensure active slide is visible */ +.carousel-item.active { + display: block !important; + opacity: 1 !important; +} + +/* RTL Support for Carousel */ +[dir="rtl"] .carousel-item { text-align: right; - right: 5%; - left: auto; } -.carousel-caption { - z-index: 10; +[dir="rtl"] .carousel-caption { + right: auto; } footer { diff --git a/staticfiles/css/custom.css b/staticfiles/css/custom.css index f2bf94d..5889869 100644 --- a/staticfiles/css/custom.css +++ b/staticfiles/css/custom.css @@ -82,18 +82,22 @@ body { /* Carousel Adjustments - Minimalist */ .carousel-item { - transition: transform 1.2s ease-in-out; /* Slightly slower for elegance */ + transition: transform 1.2s ease-in-out, opacity 1.2s ease-in-out !important; } -/* Fix for captions in RTL if needed, but B5 RTL usually handles it */ -[dir="rtl"] .carousel-caption { +/* Ensure active slide is visible */ +.carousel-item.active { + display: block !important; + opacity: 1 !important; +} + +/* RTL Support for Carousel */ +[dir="rtl"] .carousel-item { text-align: right; - right: 5%; - left: auto; } -.carousel-caption { - z-index: 10; +[dir="rtl"] .carousel-caption { + right: auto; } footer {