Files
housesof/src/style/atoms/_box-cta.scss

48 lines
953 B
SCSS

.box-cta {
display: flex;
align-items: center;
margin: 0 auto;
width: 260px;
height: 88px;
padding: 24px 32px 24px 48px;
background-color: $color-primary-tertiary20;
border-radius: 12px;
text-decoration: none;
@include bp (sm) {
flex-direction: column;
width: 144px;
height: 176px;
padding: 24px 16px;
}
.icon {
width: 36px;
height: 36px;
flex-shrink: 0;
@include bp (sm) {
margin: auto 0;
width: 48px;
height: 48px;
}
img {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
}
}
span {
display: block;
color: $color-secondary-light;
text-align: left;
margin-left: 24px;
@include bp (sm) {
margin-left: 0;
text-align: center;
}
}
}