{% for banner in banners %}
@@ -15,7 +15,7 @@
{% for banner in banners %}
-
+
@@ -49,27 +49,6 @@
{% endif %}
-
-
{% 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 {