diff --git a/blocks/quote/quote.css b/blocks/quote/quote.css index 8b13789..e8d1e0b 100644 --- a/blocks/quote/quote.css +++ b/blocks/quote/quote.css @@ -1 +1,37 @@ +.quote-container .quote-wrapper { + max-width: unset; + padding: 0; +} +.quote { + position: relative; + padding: 20px 20px; + min-height: 400px; +} + +.quote h1 { + max-width: 1200px; + margin-left: auto; + margin-right: auto; + color: var(--background-color); +} + +.quote picture { + position: absolute; + z-index: -1; + inset: 0; + object-fit: cover; + box-sizing: border-box; +} + +.quote img { + object-fit: cover; + width: 100%; + height: 100%; +} + +@media (width >= 900px) { + .quote { + padding: 40px 32px; + } +}