From 5fb522db4d6bc1237f895bdaf322dbd1533199e9 Mon Sep 17 00:00:00 2001 From: soufiane Date: Tue, 28 Jan 2025 20:55:08 +0100 Subject: [PATCH] wait #7286 @0:20 --- wp-content/themes/CCV/dist/styles/app.css | 15 +++++++++++++++ .../assets/styles/widgets/link-carousel.styl | 6 ++++++ 2 files changed, 21 insertions(+) diff --git a/wp-content/themes/CCV/dist/styles/app.css b/wp-content/themes/CCV/dist/styles/app.css index 235dcadb..e1c8be14 100644 --- a/wp-content/themes/CCV/dist/styles/app.css +++ b/wp-content/themes/CCV/dist/styles/app.css @@ -3333,6 +3333,12 @@ body .elementor-section:not(#slideshow-section) { } } +@media only screen and (max-width: 1574px) { + .link-carousel { + margin: 0 64px; + } +} + .link-carousel-item { height: auto !important; display: flex; @@ -3370,6 +3376,15 @@ body .elementor-section:not(#slideshow-section) { font-weight: 100; } +@media only screen and (max-width: 767px) { + .link-carousel-item-title { + padding: 2em 1em 0; + font-size: 19px; + font-size: 19px; + line-height: 30px; + } +} + .link-carousel-prev, .link-carousel-next { position: absolute; diff --git a/wp-content/themes/CCV/resources/assets/styles/widgets/link-carousel.styl b/wp-content/themes/CCV/resources/assets/styles/widgets/link-carousel.styl index 483a0b74..47a2fcdb 100644 --- a/wp-content/themes/CCV/resources/assets/styles/widgets/link-carousel.styl +++ b/wp-content/themes/CCV/resources/assets/styles/widgets/link-carousel.styl @@ -7,6 +7,8 @@ margin: 0 auto; +above(1919px) padding-bottom: 100px + +below(1575px) + margin: 0 64px &-item height: auto !important // Needed to make equal heights, otherwise Swiper's 100% height breaks this @@ -43,6 +45,10 @@ line-height: 40px transition: background-color 0.2s ease-out font-weight: 100 + +below(768px) + padding: 2em 1em 0 + font-size: 19px + line-height: 30px &-prev, &-next position: absolute -- 2.39.5