Skip to content

Commit

Permalink
Update quote.css
Browse files Browse the repository at this point in the history
  • Loading branch information
amoghdaryapurkar authored Oct 28, 2024
1 parent 9ad4e59 commit 7b91acf
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions blocks/quote/quote.css
Original file line number Diff line number Diff line change
@@ -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;
}
}

0 comments on commit 7b91acf

Please sign in to comment.