feat: added twelve-steps

This commit is contained in:
Aliaksei Karzhou
2024-07-02 19:58:53 +03:00
parent 01fc9d9edd
commit 000de26ee4
4 changed files with 317 additions and 0 deletions

View File

@@ -1236,4 +1236,99 @@ h3 {
display: flex;
align-items: center;
justify-content: center;
}
.twelve-steps {
margin: 93px 0 111px;
}
@media (max-width: 768px) {
.twelve-steps {
margin: 60px 0 75px;
}
}
.twelve-steps__title {
margin: 21px 0 31px;
}
@media (max-width: 768px) {
.twelve-steps__title {
margin: 21px 0 24px;
}
}
.twelve-steps__list {
display: flex;
flex-wrap: wrap;
gap: 50px;
}
@media (max-width: 1240px) {
.twelve-steps__list {
gap: 24px;
}
}
@media (max-width: 576px) {
.twelve-steps__list {
gap: 12px;
}
}
.twelve-steps__step {
flex: 0 0 calc(25% - 37.5px);
display: flex;
flex-direction: column;
align-items: flex-start;
}
@media (max-width: 1240px) {
.twelve-steps__step {
flex: 0 0 calc(25% - 18px);
}
}
@media (max-width: 992px) {
.twelve-steps__step {
flex: 0 0 calc(33.3333333333% - 16px);
}
}
@media (max-width: 768px) {
.twelve-steps__step {
flex: 0 0 calc(50% - 12px);
align-items: center;
}
}
@media (max-width: 576px) {
.twelve-steps__step {
flex: 1 1 100%;
}
}
.twelve-steps__step-number {
width: -moz-fit-content;
width: fit-content;
margin: 0 0 17px;
padding: 8px 16px;
font-weight: 700;
font-size: 20px;
line-height: 127%;
text-align: center;
color: #ffffff;
border-radius: 100px;
background-color: #609eff;
}
.twelve-steps__step-title {
margin: 0 0 11px;
font-weight: 600;
font-size: 18px;
line-height: 127%;
color: #4d4d4d;
}
@media (max-width: 768px) {
.twelve-steps__step-title {
text-align: center;
}
}
.twelve-steps__step-text {
font-weight: 400;
font-size: 15px;
line-height: 146%;
color: #878787;
}
@media (max-width: 768px) {
.twelve-steps__step-text {
text-align: center;
}
}

View File

@@ -0,0 +1,89 @@
.twelve-steps {
margin: 93px 0 111px;
@include tablet {
margin: 60px 0 75px;
}
&__title {
margin: 21px 0 31px;
@include tablet {
margin: 21px 0 24px;
}
}
&__list {
display: flex;
flex-wrap: wrap;
gap: 50px;
@include desktop {
gap: 24px;
}
@include mobile {
gap: 12px;
}
}
&__step {
flex: 0 0 calc(100% / 4 - 50px / 4 * 3);
display: flex;
flex-direction: column;
align-items: flex-start;
@include desktop {
flex: 0 0 calc(100% / 4 - 24px / 4 * 3);
}
@include laptop {
flex: 0 0 calc(100% / 3 - 24px / 3 * 2);
}
@include tablet {
flex: 0 0 calc(100% / 2 - 24px / 2);
align-items: center;
}
@include mobile {
flex: 1 1 100%;
}
&-number {
width: fit-content;
margin: 0 0 17px;
padding: 8px 16px;
font-weight: 700;
font-size: 20px;
line-height: 127%;
text-align: center;
color: $white;
border-radius: 100px;
background-color: $blue;
}
&-title {
margin: 0 0 11px;
font-weight: 600;
font-size: 18px;
line-height: 127%;
color: $darkgrey;
@include tablet {
text-align: center;
}
}
&-text {
font-weight: 400;
font-size: 15px;
line-height: 146%;
color: $grey;
@include tablet {
text-align: center;
}
}
}
}

View File

@@ -22,3 +22,4 @@
@import './l-facts';
@import './l-reviews';
@import './l-step-by-step';
@import './l-twelve-steps';