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 {