-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace block current class and import CSS files for blocks
- Loading branch information
1 parent
caf8725
commit 7d7438c
Showing
4 changed files
with
514 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,179 @@ | ||
.features { | ||
&__title h2 { | ||
font-size: 2.125rem; | ||
font-weight: normal; | ||
height: 49px; | ||
letter-spacing: 0.15px; | ||
line-height: 49px; | ||
text-align: center; | ||
margin-top: 64px; | ||
} | ||
|
||
&__wrapper { | ||
padding: 64px 0; | ||
} | ||
} | ||
|
||
.features-wrapper { | ||
&__row { | ||
display: flex; | ||
align-items: center; | ||
flex-direction: column; | ||
margin-bottom: 24px; | ||
|
||
&:last-child { | ||
margin-bottom: 0; | ||
} | ||
} | ||
|
||
&__item { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
margin-bottom: 24px; | ||
|
||
&:last-child { | ||
margin-right: 0; | ||
margin-bottom: 0; | ||
} | ||
|
||
img { | ||
margin-right: 25px; | ||
height: 62px; | ||
width: 55px; | ||
} | ||
|
||
p { | ||
margin: 0; | ||
} | ||
} | ||
} | ||
|
||
.features-wrapper-item { | ||
&__title h1 { | ||
width: 217px; | ||
color: $grey-1; | ||
font-size: 1rem; | ||
letter-spacing: 0; | ||
line-height: 30px; | ||
font-weight: 600; | ||
margin-top: 0; | ||
} | ||
|
||
&__description { | ||
width: 217px; | ||
color: $grey-10; | ||
font-size: 0.875rem; | ||
letter-spacing: 0.15px; | ||
line-height: 24px; | ||
} | ||
} | ||
|
||
@include device-is('tablet') { | ||
.features { | ||
&__title h2 { | ||
margin-top: 80px; | ||
} | ||
&__wrapper { | ||
padding: 80px 0; | ||
} | ||
} | ||
|
||
.features-wrapper { | ||
&__item { | ||
margin-bottom: 40px; | ||
|
||
img { | ||
margin-right: 32px; | ||
height: 73px; | ||
width: 65px; | ||
} | ||
} | ||
} | ||
|
||
.features-wrapper-item { | ||
&__title h1 { | ||
width: 518px; | ||
font-size: 1.25rem; | ||
} | ||
|
||
&__description { | ||
width: 518px; | ||
} | ||
} | ||
} | ||
|
||
@include device-is('desktop') { | ||
.features { | ||
&__title h2 { | ||
margin-top: 80px; | ||
} | ||
|
||
&__wrapper { | ||
padding: 80px 0 84px; | ||
} | ||
} | ||
|
||
.features-wrapper { | ||
&__row { | ||
flex-direction: row; | ||
justify-content: center; | ||
align-items: baseline; | ||
} | ||
|
||
&__item { | ||
display: block; | ||
margin-right: 98px; | ||
text-align: center; | ||
|
||
img { | ||
margin-right: 0; | ||
} | ||
} | ||
} | ||
|
||
.features-wrapper-item { | ||
&__title h1 { | ||
width: 200px; | ||
font-size: 1.25rem; | ||
} | ||
|
||
&__description { | ||
margin-top: 8px; | ||
width: 200px; | ||
} | ||
} | ||
} | ||
|
||
@include device-is('large-screen') { | ||
.features { | ||
&__title h2 { | ||
margin-top: 120px; | ||
} | ||
&__wrapper { | ||
padding: 60px 0; | ||
} | ||
} | ||
|
||
.features-wrapper { | ||
&__item { | ||
margin-right: 76px; | ||
text-align: center; | ||
|
||
img { | ||
height: 73px; | ||
width: 65px; | ||
} | ||
} | ||
} | ||
|
||
.features-wrapper-item { | ||
&__title h1 { | ||
width: 294px; | ||
} | ||
|
||
&__description { | ||
width: 294px; | ||
} | ||
} | ||
} |
Oops, something went wrong.