-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Anna Artemova <annartmva@gmail.com>
- Loading branch information
1 parent
856b4ff
commit 5ad45ea
Showing
33 changed files
with
900 additions
and
56 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,77 @@ | ||
.case { | ||
padding-top: 235px; | ||
color: #5e636e; | ||
|
||
@media (max-width: $tablet) { | ||
padding-top: 200px; | ||
} | ||
|
||
@media (max-width: $mobile) { | ||
padding-top: 24px; | ||
} | ||
|
||
.container { | ||
padding-inline: 44px; | ||
} | ||
|
||
h2 { | ||
max-width: 90%; | ||
margin-top: 65px; | ||
margin-bottom: 20px; | ||
font-weight: 700; | ||
font-size: 28px; | ||
line-height: 1.125; | ||
letter-spacing: -0.56px; | ||
color: #253737; | ||
|
||
@media (max-width: $tablet) { | ||
font-size: 24px; | ||
} | ||
|
||
@media (max-width: $mobile) { | ||
margin-top: 32px; | ||
} | ||
} | ||
|
||
p { | ||
margin-block: 14px; | ||
text-wrap: pretty; | ||
} | ||
|
||
ul { | ||
display: grid; | ||
grid-template-columns: repeat(2, 1fr); | ||
gap: 32px 72px; | ||
margin-top: 28px; | ||
|
||
@media (max-width: $mobile) { | ||
grid-template-columns: repeat(1, 1fr); | ||
gap: 24px; | ||
} | ||
|
||
img { | ||
width: 56px; | ||
height: 56px; | ||
border-radius: 4px; | ||
overflow: hidden; | ||
} | ||
|
||
h3 { | ||
margin-top: 16px; | ||
margin-bottom: 0; | ||
font-size: 20px; | ||
font-weight: 600; | ||
line-height: 1.375; | ||
color: #253737; | ||
|
||
@media (max-width: $tablet) { | ||
font-size: 20px; | ||
} | ||
} | ||
|
||
p { | ||
margin-top: 6px; | ||
margin-bottom: 0; | ||
} | ||
} | ||
} |
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,111 @@ | ||
.intro { | ||
width: 100vw; | ||
position: relative; | ||
left: 50%; | ||
right: 50%; | ||
margin-left: -50vw; | ||
margin-right: -50vw; | ||
padding-top: 58px; | ||
padding-bottom: 254px; | ||
background-color: #f7fdfd; | ||
|
||
@media (max-width: $tablet) { | ||
padding-bottom: 200px; | ||
} | ||
|
||
@media (max-width: $mobile) { | ||
padding-top: 32px; | ||
padding-bottom: 32px; | ||
} | ||
|
||
h1 { | ||
text-align: center; | ||
color: #253737; | ||
} | ||
|
||
p { | ||
margin-top: 14px; | ||
margin-inline: auto; | ||
padding-inline: 36px; | ||
text-align: center; | ||
color: #2b383b; | ||
} | ||
} | ||
|
||
.intro__video { | ||
position: absolute; | ||
left: 50%; | ||
bottom: -215px; | ||
transform: translateX(-50%); | ||
width: 100%; | ||
max-width: 800px; | ||
max-height: 443px; | ||
padding: 14px; | ||
border-radius: 12px; | ||
border: 1px solid #e0e6f0; | ||
background-color: white; | ||
|
||
@media (max-width: $tablet) { | ||
bottom: -180px; | ||
max-width: 600px; | ||
} | ||
|
||
@media (max-width: $mobile) { | ||
position: relative; | ||
bottom: 0; | ||
margin-top: 32px; | ||
max-width: 100%; | ||
padding: 8px; | ||
} | ||
|
||
.intro__preview, | ||
.intro__video-content { | ||
position: relative; | ||
width: 100%; | ||
height: 0; | ||
padding-top: 53.5%; | ||
border-radius: 4px; | ||
border: 1px solid #deeded; | ||
overflow: hidden; | ||
} | ||
|
||
img, | ||
iframe { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
img { | ||
object-fit: cover; | ||
} | ||
|
||
.intro__preview-button { | ||
position: absolute; | ||
inset: 0; | ||
color: #cfdefc; | ||
background-color: rgba(0, 0, 0, 0.1); | ||
border: none; | ||
transition: all 0.2s ease-out; | ||
|
||
&:hover, | ||
&:focus { | ||
color: #ffffff; | ||
transform: scale(1.1); | ||
} | ||
|
||
svg { | ||
@media (max-width: $tablet) { | ||
width: 64px; | ||
height: 64px; | ||
} | ||
|
||
@media (max-width: $mobile) { | ||
width: 44px; | ||
height: 44px; | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.