From e5f436992562ba107d3ee107ca3784735887a3ff Mon Sep 17 00:00:00 2001 From: Aleksandr Date: Fri, 19 Apr 2024 15:47:28 +0700 Subject: [PATCH] #5784 Changes for the hero block --- blocks/hero/hero.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/blocks/hero/hero.css b/blocks/hero/hero.css index f1d6091..da019c3 100644 --- a/blocks/hero/hero.css +++ b/blocks/hero/hero.css @@ -1,7 +1,7 @@ main .hero-container > div { max-width: unset; } - + main .hero-container { padding: 0; } @@ -16,15 +16,17 @@ main .hero-container { max-width: 1200px; margin-left: auto; margin-right: auto; - color: white; + color: #FF9800; + text-shadow: 0 0 5px white; + text-align: center; } .hero picture { position: absolute; z-index: -1; - inset: 0; - object-fit: cover; - box-sizing: border-box; + top: 0; + right: 0; + left: 0; } .hero img {