generated from mate-academy/gulp-template
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f4d00c
commit 77a14de
Showing
7 changed files
with
236 additions
and
33 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,19 @@ | ||
.button { | ||
display: block; | ||
height: 50px; | ||
font-family: Poppins, sans-serif; | ||
font-size: 15px; | ||
font-weight: 600; | ||
line-height: 50px; | ||
text-align: center; | ||
color: #fff; | ||
text-decoration: none; | ||
background-color: #2060f6; | ||
border-radius: 8px; | ||
transition: 300ms; | ||
|
||
&:hover { | ||
transition: 300ms; | ||
background-color: #143b96; | ||
} | ||
} |
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 |
---|---|---|
@@ -1,18 +1,135 @@ | ||
@use '../utils/mixins' as *; | ||
|
||
.header { | ||
position: relative; | ||
overflow-x: hidden; | ||
background-color: #2c2c2c; | ||
padding: 20px 20px 48px; | ||
border-radius: 0 0 30px 30px; | ||
|
||
@include page-grid; | ||
|
||
&__info-block { | ||
padding: 0 20px 48px; | ||
grid-column: span 2; | ||
|
||
@include page-grid; | ||
|
||
@include for-tablet { | ||
padding: 0 20px 147px; | ||
grid-column: span 6; | ||
} | ||
|
||
@include for-desktop { | ||
display: block; | ||
padding: 120px 0 0; | ||
grid-column: span 6; | ||
} | ||
} | ||
|
||
&__navigation { | ||
padding: 20px 20px 0; | ||
margin-bottom: 48px; | ||
|
||
grid-column: span 2; | ||
|
||
@include for-tablet { | ||
padding: 20px 0 0; | ||
margin-bottom: 56px; | ||
grid-column: span 6; | ||
} | ||
|
||
@include for-desktop { | ||
padding: 48px 0 0; | ||
margin-bottom: 48px; | ||
grid-column: span 12; | ||
} | ||
} | ||
|
||
&__title { | ||
margin-bottom: 32px; | ||
font-family: Poppins, sans-serif; | ||
font-size: 52px; | ||
font-weight: 600; | ||
line-height: 62px; | ||
letter-spacing: -2px; | ||
text-align: left; | ||
color: #fff; | ||
|
||
grid-column: span 2; | ||
|
||
@include for-tablet { | ||
margin-bottom: 24px; | ||
font-size: 64px; | ||
line-height: 68px; | ||
grid-column: span 6; | ||
} | ||
|
||
@include for-desktop { | ||
margin-bottom: 32px; | ||
grid-column: span 4; | ||
} | ||
} | ||
|
||
&__navigation { | ||
margin-bottom: 48px; | ||
&__paragraph { | ||
margin-bottom: 72px; | ||
font-family: 'Open Sans', sans-serif; | ||
font-size: 18px; | ||
font-weight: 400; | ||
line-height: 27px; | ||
text-align: left; | ||
color: #fff; | ||
|
||
grid-column: span 2; | ||
|
||
@include for-tablet { | ||
margin-bottom: 56px; | ||
grid-column: span 4; | ||
} | ||
|
||
@include for-desktop { | ||
margin-bottom: 83px; | ||
grid-column: span 5; | ||
} | ||
} | ||
|
||
&__button { | ||
grid-column: span 2; | ||
|
||
@include for-tablet { | ||
grid-column: span 3; | ||
} | ||
|
||
@include for-desktop { | ||
grid-column: span 3; | ||
} | ||
} | ||
|
||
&__slider-block { | ||
overflow: hidden; | ||
width: 100%; | ||
height: 390px; | ||
|
||
@include for-tablet { | ||
grid-column: span 6; | ||
} | ||
|
||
@include for-desktop { | ||
height: 680px; | ||
grid-column: span 6; | ||
} | ||
} | ||
|
||
&__slider-image { | ||
position: absolute; | ||
left: 0; | ||
border-radius: 30px; | ||
width: 100%; | ||
height: 390px; | ||
object-fit: cover; | ||
|
||
@include for-desktop { | ||
left: auto; | ||
height: 680px; | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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
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