From f2b877283697e99e9032f29b9b6ef5991acb78ef Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Sat, 24 Jan 2026 16:34:53 +0000 Subject: [PATCH] editing banner --- core/templates/core/index.html | 23 ++++++++++++++++++++--- static/css/custom.css | 4 ++++ staticfiles/css/custom.css | 4 ++++ 3 files changed, 28 insertions(+), 3 deletions(-) diff --git a/core/templates/core/index.html b/core/templates/core/index.html index b2b8d8e..51bddb9 100644 --- a/core/templates/core/index.html +++ b/core/templates/core/index.html @@ -2,11 +2,12 @@ {% load i18n static %} {% block content %} +{% get_current_language as CURRENT_LANG %} {% if banners %} + + {% endif %} @@ -273,4 +290,4 @@ -{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/static/css/custom.css b/static/css/custom.css index 48834d9..92270ae 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -128,4 +128,8 @@ footer { [lang="ar"] .ms-auto { margin-right: auto !important; margin-left: 0 !important; +} +/* Carousel transition speed */ +.carousel-item { + transition: transform 1.5s ease-in-out !important; } \ No newline at end of file diff --git a/staticfiles/css/custom.css b/staticfiles/css/custom.css index 48834d9..92270ae 100644 --- a/staticfiles/css/custom.css +++ b/staticfiles/css/custom.css @@ -128,4 +128,8 @@ footer { [lang="ar"] .ms-auto { margin-right: auto !important; margin-left: 0 !important; +} +/* Carousel transition speed */ +.carousel-item { + transition: transform 1.5s ease-in-out !important; } \ No newline at end of file