generated from goitacademy/vanilla-app-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from ElizabethBil/Danil-hero-branch
hero-danil
- Loading branch information
Showing
9 changed files
with
177 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,150 @@ | ||
@media screen and (min-width: 768px) {} | ||
@media screen and (max-width: 374px) { | ||
.hero-icon-img { | ||
display: none; | ||
} | ||
|
||
@media screen and (min-width: 1280px) {} | ||
.hero-title { | ||
color: var(--white, #fcf9f9); | ||
font-family: Manrope; | ||
font-size: 44px; | ||
font-style: normal; | ||
font-weight: 400; | ||
line-height: 1.22; | ||
letter-spacing: -0.02em; | ||
margin-top: 30px; | ||
margin-bottom: 20px; | ||
} | ||
|
||
@media screen and (min-width: 1440px) {} | ||
.hero-title-span { | ||
color: var(--white, #ecd979); | ||
} | ||
|
||
.hero-button { | ||
display: inline-flex; | ||
height: 49px; | ||
width: auto; | ||
padding: 14px 36px; | ||
justify-content: center; | ||
align-items: center; | ||
gap: 10px; | ||
flex-shrink: 0; | ||
border-radius: 15px; | ||
border: 1px solid rgba(252, 249, 249, 0.1); | ||
background-color: transparent; | ||
margin-bottom: 20px; | ||
margin-left: 70px; | ||
} | ||
|
||
.hero-btn-text { | ||
color: var(--white, #fcf9f9); | ||
font-family: Manrope; | ||
font-size: 14px; | ||
font-style: normal; | ||
font-weight: 600; | ||
line-height: normal; | ||
letter-spacing: -0.04em; | ||
text-transform: uppercase; | ||
} | ||
|
||
.hero-svg { | ||
width: 26px; | ||
height: 10px; | ||
} | ||
|
||
.hero-img { | ||
margin-top: 20px; | ||
border-radius: 4px; | ||
width: 335px; | ||
height: 545px; | ||
} | ||
} | ||
|
||
@media screen and (min-width: 375px) { | ||
.hero-icon-img { | ||
display: none; | ||
} | ||
|
||
.hero-title { | ||
color: var(--white, #fcf9f9); | ||
font-family: Manrope; | ||
font-size: 44px; | ||
font-style: normal; | ||
font-weight: 400; | ||
line-height: 1.22; | ||
letter-spacing: -0.02em; | ||
margin-top: 30px; | ||
margin-bottom: 20px; | ||
width: 335px; | ||
} | ||
|
||
.hero-title-span { | ||
color: var(--white, #ecd979); | ||
} | ||
|
||
.hero-button { | ||
display: inline-flex; | ||
height: 49px; | ||
width: auto; | ||
padding: 14px 36px; | ||
justify-content: center; | ||
align-items: center; | ||
gap: 10px; | ||
flex-shrink: 0; | ||
border: none; | ||
border-radius: 15px; | ||
border: 1px solid rgba(252, 249, 249, 0.1); | ||
background-color: transparent; | ||
margin-bottom: 20px; | ||
margin-left: 70px; | ||
} | ||
|
||
.hero-btn-text { | ||
color: var(--white, #fcf9f9); | ||
font-family: Manrope; | ||
font-size: 14px; | ||
font-style: normal; | ||
font-weight: 600; | ||
line-height: normal; | ||
letter-spacing: -0.04em; | ||
text-transform: uppercase; | ||
} | ||
|
||
.hero-svg { | ||
width: 26px; | ||
height: 10px; | ||
} | ||
|
||
.hero-img { | ||
margin-top: 20px; | ||
border-radius: 4px; | ||
width: 335px; | ||
height: 545px; | ||
} | ||
} | ||
|
||
@media screen and (min-width: 768px) { | ||
.hero-icon-img { | ||
display: flex; | ||
} | ||
|
||
.hero-title { | ||
color: var(--white, #fcf9f9); | ||
font-family: Manrope; | ||
font-size: 54px; | ||
font-style: normal; | ||
font-weight: 400; | ||
line-height: 1.18; | ||
letter-spacing: -0.02em; | ||
width: 549px; | ||
} | ||
|
||
.hero-title-span { | ||
color: var(--white, #ecd979); | ||
} | ||
} | ||
|
||
@media screen and (min-width: 1280px) { | ||
} | ||
|
||
@media screen and (min-width: 1440px) { | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,29 @@ | ||
<section class="hero-section container"> | ||
<div class="hero"> | ||
<h1 class="hero-title"> | ||
Reviving the traditional<span class="hero-title-span"> Ukrainian </span | ||
>artistry in every stitch. | ||
</h1> | ||
<button class="hero-button"> | ||
<p class="hero-btn-text">Order</p> | ||
<svg class="hero-svg"> | ||
<use class="hero-send-arrow" href="./img/icons.svg#icon-arrow"></use> | ||
</svg> | ||
</button> | ||
<img | ||
srcset="./img/hero/[email protected] 2x" | ||
src="./img/hero/girl.jpg" | ||
alt="Girl in an vyshyvanka" | ||
class="hero-img" | ||
/> | ||
</div> | ||
<div class="hero-icon-img"> | ||
<svg class="hero-svg-star"> | ||
<use class="hero-star"></use> | ||
</svg> | ||
<p class="hero-star-text"></p> | ||
<svg class="hero-svg-elipse"> | ||
<use class="hero-elipse-icon"></use> | ||
</svg> | ||
</div> | ||
</section> |