generated from mate-academy/gulp-template
-
Notifications
You must be signed in to change notification settings - Fork 2.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
ddf7f28
commit 251e62e
Showing
28 changed files
with
753 additions
and
445 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,40 @@ | ||
.button { | ||
border-radius: 40px; | ||
background: #fff; | ||
display: block; | ||
text-decoration: none; | ||
color: #1d1d1d; | ||
margin: 0 auto; | ||
box-sizing: border-box; | ||
width: 100%; | ||
height: 56px; | ||
line-height: 56px; | ||
|
||
text-align: center; | ||
font-family: "Poppins", sans-serif; | ||
font-size: 16px; | ||
font-style: normal; | ||
background-color: #fff; | ||
border-radius: 40px; | ||
padding: 14px; | ||
color: $menu-color; | ||
font-weight: 700; | ||
font-size: 16px; | ||
line-height: 27px; | ||
text-align: center; | ||
text-decoration: none; | ||
cursor: pointer; | ||
|
||
transition: transform $effectDuration; | ||
|
||
@include onTablet { | ||
width: 392px; | ||
} | ||
|
||
@include onDesktop { | ||
width: 324px; | ||
} | ||
|
||
&:active { | ||
box-shadow: 1px 4px 16px rgba(232, 232, 240, 0.64); | ||
} | ||
} | ||
|
||
.button--resize { | ||
margin-bottom: 48px; | ||
|
||
@include onTablet { | ||
width: 100%; | ||
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,62 @@ | ||
.categories { | ||
&__wrapper { | ||
display: grid; | ||
row-gap: 40px; | ||
|
||
@include onTablet { | ||
row-gap: 48px; | ||
} | ||
} | ||
} | ||
|
||
.category { | ||
&__photos { | ||
@include pageGrid; | ||
margin-bottom: 16px; | ||
} | ||
&__link { | ||
position: relative; | ||
&--wide { | ||
@include onTablet { | ||
grid-column: span 4; | ||
} | ||
@include onDesktop { | ||
grid-column: span 8; | ||
} | ||
} | ||
&--square { | ||
height: 0; | ||
padding-bottom: 100%; | ||
|
||
@include onTablet { | ||
grid-column: span 2; | ||
} | ||
@include onDesktop { | ||
grid-column: span 4; | ||
} | ||
} | ||
} | ||
|
||
&__photo { | ||
position: absolute; | ||
width: 100%; | ||
height: 100%; | ||
object-fit: cover; | ||
|
||
transition: transform $effectDuration; | ||
|
||
@include hover(transform, scale(1.05)); | ||
} | ||
|
||
&__description { | ||
text-align: start; | ||
margin: 8px 0 0; | ||
} | ||
|
||
&__title { | ||
margin: 0; | ||
font-weight: 700; | ||
font-size: 24px; | ||
line-height: 140%; | ||
} | ||
} |
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,75 @@ | ||
.grid-container { | ||
@include pageGrid; | ||
--columns: 1; | ||
} | ||
|
||
.contact-us { | ||
&__block { | ||
@include onTablet { | ||
grid-column: span 3; | ||
} | ||
|
||
@include onDesktop { | ||
grid-column: span 5; | ||
} | ||
} | ||
|
||
&__form-field { | ||
box-sizing: border-box; | ||
width: 100%; | ||
height: 48px; | ||
padding: 14px; | ||
margin-bottom: 16px; | ||
border-radius: 40px; | ||
border: none; | ||
resize: none; | ||
background-color: #f8f8fa; | ||
|
||
&::placeholder { | ||
color: #7e7e83; | ||
font-family: "Poppins", sans-serif; | ||
font-size: 14px; | ||
font-style: normal; | ||
font-weight: 400; | ||
line-height: 20px; | ||
} | ||
|
||
&:hover::placeholder { | ||
color: #292929; | ||
} | ||
|
||
&--message { | ||
height: 100%; | ||
border-radius: 16px; | ||
margin-bottom: 32px; | ||
} | ||
} | ||
|
||
&__info { | ||
@include onTablet { | ||
grid-column: span 2; | ||
} | ||
|
||
@include onDesktop { | ||
grid-column: 8 / 10; | ||
} | ||
|
||
&-section { | ||
margin-bottom: 24px; | ||
} | ||
|
||
&-title { | ||
font-size: 14px; | ||
font-style: normal; | ||
font-weight: 400; | ||
margin: 8px 0; | ||
} | ||
|
||
&-link { | ||
font-size: 16px; | ||
font-weight: 500; | ||
text-decoration: none; | ||
color: #fff; | ||
} | ||
} | ||
} |
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,13 @@ | ||
.container { | ||
padding-inline: 20px; | ||
|
||
@include onTablet { | ||
padding-inline: 72px; | ||
} | ||
|
||
@include onDesktop { | ||
max-width: 1260px; | ||
margin-inline: auto; | ||
padding-inline: 120px; | ||
} | ||
} |
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,10 +1,10 @@ | ||
.footer { | ||
height: 200px; | ||
background-image: url(/images/photos/footer-background.jpg); | ||
display: flex; | ||
flex-direction: column; | ||
background-repeat: no-repeat; | ||
background-size: cover; | ||
background-position: 65%; | ||
height: 100vh; | ||
|
||
margin-top: 120px; | ||
@include onTablet { | ||
background-position: center; | ||
} | ||
} |
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
Oops, something went wrong.