From f2ec5fa779bdfba2c5d12f08f5e429b3868cf471 Mon Sep 17 00:00:00 2001 From: Rajneesh Date: Tue, 31 Oct 2023 12:57:10 +0530 Subject: [PATCH 1/3] home carousel --- blocks/carousel/carousel.css | 2 +- .../featured-products-carousel.css | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/blocks/carousel/carousel.css b/blocks/carousel/carousel.css index 4727370fd..de0db08b8 100644 --- a/blocks/carousel/carousel.css +++ b/blocks/carousel/carousel.css @@ -246,7 +246,7 @@ main .carousel-dot-button.selected { } main .carousel-item-text .button-container { - margin-top: 30px; + margin-top: 20px; margin-bottom: 0; max-width: 100%; width: 100%; diff --git a/blocks/featured-products-carousel/featured-products-carousel.css b/blocks/featured-products-carousel/featured-products-carousel.css index 59d2156a7..c82afa774 100644 --- a/blocks/featured-products-carousel/featured-products-carousel.css +++ b/blocks/featured-products-carousel/featured-products-carousel.css @@ -1,3 +1,4 @@ +/* stylelint-disable no-descending-specificity */ main .section.columns-2 .featured-products-carousel-wrapper.mini { display: flex; flex-wrap: wrap; @@ -111,6 +112,25 @@ main .featured-products-carousel-wrapper.mini .carousel-nav-right { order: 3; } +main .featured-products-carousel .carousel-item-text .button-container { + display: block; +} + +main .featured-products-carousel .carousel-item-text .button-container .button { + width: 100%; + white-space: normal; +} + +main .featured-products-carousel .carousel-item-text .button-container .secondary { + margin-left: 0; +} + +@media only screen and (min-width: 992px) { + main .featured-products-carousel .carousel-item-text .button-container { + max-width: 80%; + } +} + @media only screen and (max-width: 991px) { main .section.columns-2 .featured-products-carousel-wrapper.mini { width: 80vw; From 28c20cd97adf2951a876b40289d72d29e3a2209f Mon Sep 17 00:00:00 2001 From: Rajneesh Date: Wed, 1 Nov 2023 16:42:22 +0530 Subject: [PATCH 2/3] button style changes --- .../featured-products-carousel.css | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/blocks/featured-products-carousel/featured-products-carousel.css b/blocks/featured-products-carousel/featured-products-carousel.css index c82afa774..c5cef8b9a 100644 --- a/blocks/featured-products-carousel/featured-products-carousel.css +++ b/blocks/featured-products-carousel/featured-products-carousel.css @@ -116,21 +116,10 @@ main .featured-products-carousel .carousel-item-text .button-container { display: block; } -main .featured-products-carousel .carousel-item-text .button-container .button { - width: 100%; - white-space: normal; -} - main .featured-products-carousel .carousel-item-text .button-container .secondary { margin-left: 0; } -@media only screen and (min-width: 992px) { - main .featured-products-carousel .carousel-item-text .button-container { - max-width: 80%; - } -} - @media only screen and (max-width: 991px) { main .section.columns-2 .featured-products-carousel-wrapper.mini { width: 80vw; From a5057da432a6a4af172b1f296a9cc2f46754075e Mon Sep 17 00:00:00 2001 From: Rajneesh Date: Wed, 1 Nov 2023 18:16:27 +0530 Subject: [PATCH 3/3] title color changes --- styles/styles.css | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/styles/styles.css b/styles/styles.css index 1262678b4..eff75ad2f 100644 --- a/styles/styles.css +++ b/styles/styles.css @@ -2103,19 +2103,9 @@ main .columns-separator-line .columns-wrapper .columns { padding-top: 0; } -.application-note main .picture img { - display: block; - margin: auto; -} - -.image-position-right img { - object-position: right; -} - -.image-position-left img { - object-position: left; -} - -.image-position-center img { - object-position: center; +/* title with green highlight */ +.title-with-green-highlight h2:first-child em, +.title-with-green-highlight h3:first-child em { + font-style: normal; + color: var(--text-green); } \ No newline at end of file