From 1627ca1dfee3d0638d934372f3011956d7a98129 Mon Sep 17 00:00:00 2001 From: soufiane Date: Mon, 4 Nov 2024 10:28:08 +0100 Subject: [PATCH] wait #7127 @0:15 --- wp-content/themes/CCV/dist/styles/app.css | 12 ++++++------ .../assets/styles/widgets/header-slideshow.styl | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/wp-content/themes/CCV/dist/styles/app.css b/wp-content/themes/CCV/dist/styles/app.css index 1b459aa5..6f32f3bf 100644 --- a/wp-content/themes/CCV/dist/styles/app.css +++ b/wp-content/themes/CCV/dist/styles/app.css @@ -2921,10 +2921,9 @@ body .elementor-section:not(#slideshow-section) { position: absolute; bottom: 9.2vw; left: 6.4vw; - font-size: 2.1875vw; - font-size: 2.1875vw; - max-width: 968px; - width: 60vw; + font-size: 1.615vw; + font-size: 1.615vw; + width: 50.147vw; opacity: 1; } @@ -2950,6 +2949,7 @@ body .elementor-section:not(#slideshow-section) { .header-slideshow .header-slideshow-content { font-size: 31px; font-size: 31px; + max-width: 968px; } } @@ -2971,8 +2971,8 @@ body .elementor-section:not(#slideshow-section) { } .header-slideshow .header-slideshow-content.small-height { - font-size: 31px; - font-size: 31px; + font-size: 19px; + font-size: 19px; } .header-slideshow .header-slideshow-content:not(.showing) { diff --git a/wp-content/themes/CCV/resources/assets/styles/widgets/header-slideshow.styl b/wp-content/themes/CCV/resources/assets/styles/widgets/header-slideshow.styl index 8f58afda..367606c4 100644 --- a/wp-content/themes/CCV/resources/assets/styles/widgets/header-slideshow.styl +++ b/wp-content/themes/CCV/resources/assets/styles/widgets/header-slideshow.styl @@ -94,9 +94,8 @@ $title_bg = rgba(#1A2E5D,0.91) position: absolute constrain(bottom, 9.2vw) left: 6.4vw // Not using constrain because this shouldn't be capped on lower limits - font-size: 2.1875vw // 42px in vw based on 1920px width - max-width: 968px - width: 60vw + font-size: 1.615vw // 42px in vw based on 1920px width + width: 50.147vw opacity: 1 +above(2128px) @@ -104,6 +103,7 @@ $title_bg = rgba(#1A2E5D,0.91) +above($content-max-width) font-size: 31px // Base font size + max-width: 968px +below($breakpoint-slideshow) bottom: 4em @@ -116,7 +116,7 @@ $title_bg = rgba(#1A2E5D,0.91) width: auto &.small-height - font-size: 31px + font-size: 19px &:not(.showing) opacity: 0 !important -- 2.39.5