Files
chaffe-theme/src/scss/flex-blue-background-grid.scss
2025-06-02 17:02:21 -07:00

50 lines
899 B
SCSS

section.blue-background-grid {
background-color: $c-navy;
padding: 4rem;
color: $c-white;
h2 {
@extend .goudy;
@extend .headline-lg;
}
.col {
position: relative;
}
svg {
position: absolute;
width: 25%;
height: auto;
opacity: 0.5;
top: 0;
right: 0;
}
.blocks {
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 2rem;
@include media-breakpoint-up(lg) {
flex-direction: row;
flex-wrap: wrap;
.block {
width: calc(50% - 2rem);
&:first-of-type {
width: 100%;
padding-right: 50%;
}
}
}
h3 {
color: $c-tan;
font-weight: bold;
}
}
}