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 #7 from ElizabethBil/your-order
add your order section html and mobile css
- Loading branch information
Showing
10 changed files
with
154 additions
and
0 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,3 +1,115 @@ | ||
.your-order-section { | ||
max-width: 100%; | ||
background-image: url('../img/order/order-bkg-mobile.jpg'); | ||
background-size: 375px 550px; | ||
background-repeat: no-repeat; | ||
background-position-x: center; | ||
background-position-y: 40px; | ||
} | ||
|
||
@media screen and (min-resolution: 192dpi) and (min-width:375px) { | ||
.your-order-section { | ||
background-image: url('../img/order/[email protected]') | ||
} | ||
} | ||
|
||
.order-bkg-img { | ||
height: 550px; | ||
} | ||
|
||
.order-title { | ||
font-size: 32px; | ||
font-weight: 500; | ||
line-height: 1.36; | ||
letter-spacing: -0.03em; | ||
color: #FCF9F9; | ||
max-width: 320px; | ||
margin-top: 80px; | ||
margin-bottom: 40px; | ||
} | ||
|
||
.order-colored-part { | ||
color: #ECD979; | ||
} | ||
|
||
.order-section-field-wrapper { | ||
margin-bottom: 20px; | ||
} | ||
|
||
.order-form-input { | ||
display: block; | ||
width: 335px; | ||
height: 47px; | ||
padding: 14px 16px; | ||
background-color: transparent; | ||
outline: transparent; | ||
border-radius: 15px; | ||
font-size: 14px; | ||
font-weight: 400; | ||
line-height: normal; | ||
letter-spacing: -0.02em; | ||
border: 1px solid rgba(252, 249, 249, 0.10); | ||
} | ||
|
||
.order-form-input::placeholder { | ||
color: rgba(252, 249, 249, 0.50); | ||
} | ||
|
||
.order-section-textarea-wrapper { | ||
margin-bottom: 40px; | ||
} | ||
|
||
|
||
.order-form-coment { | ||
display: block; | ||
width: 335px; | ||
height: 196px; | ||
padding: 14px 16px; | ||
background-color: transparent; | ||
outline: transparent; | ||
border-radius: 8px; | ||
font-size: 14px; | ||
font-weight: 400; | ||
line-height: normal; | ||
letter-spacing: -0.02em; | ||
border: 1px solid rgba(252, 249, 249, 0.10); | ||
margin-bottom: 40px; | ||
} | ||
|
||
.order-form-coment::placeholder { | ||
color: rgba(252, 249, 249, 0.50); | ||
} | ||
|
||
.order-button { | ||
border: none; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
min-width: 145px; | ||
height: 49px; | ||
padding: 14px 36px; | ||
border-radius: 15px; | ||
border: 1px solid rgba(252, 249, 249, 0.10); | ||
background-color: transparent; | ||
outline: transparent; | ||
font-size: 14px; | ||
font-weight: 600; | ||
letter-spacing: -0.04em; | ||
text-transform: uppercase; | ||
margin-left: auto; | ||
margin-right: auto; | ||
color: var(--white, #FCF9F9); | ||
} | ||
|
||
.order-button-icon { | ||
margin-left: 10px; | ||
} | ||
|
||
.order-content-img { | ||
display: none; | ||
} | ||
|
||
|
||
@media screen and (min-width: 768px) {} | ||
|
||
@media screen and (min-width: 1280px) {} | ||
|
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.
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,42 @@ | ||
<!-- =======Your order section======= --> | ||
<section class="section your-order-section"> | ||
<div class="container order-container"> | ||
<div class="order-bkg-img"></div> | ||
<div class="order-form-wrapper"> | ||
<h2 class="order-title"> | ||
<span class="order-colored-part">Your order</span> is our priority: Personalized approach and | ||
quality of | ||
service | ||
</h2> | ||
<form class="order-form"> | ||
<div class="order-section-field-wrapper"> | ||
<label class="order-form-label" for="user-name"> | ||
<input class="order-form-input" type="text" id="user-name" name="user-name" | ||
pattern="[a-zA-zа-яА-ЯіІїЇєЄ']+" placeholder="Enter your full name" required> | ||
</label> | ||
</div> | ||
<div class="order-section-field-wrapper"> | ||
<label class="order-form-label" for="user-email"> | ||
<input class="order-form-input" type="email" id="user-email" name="user-email" | ||
placeholder="Enter your email" required> | ||
</label> | ||
</div> | ||
<div class="order-section-textarea-wrapper"> | ||
<label class="order-form-textarea" for="user-comment"></label> | ||
<textarea class="order-form-coment" name="user-comment" id="user-comment" | ||
placeholder="Comments"></textarea> | ||
</label> | ||
</div> | ||
<button class="order-button" type="submit"> | ||
Send | ||
<svg class="order-button-icon" width="26" height="10"> | ||
<use href="../img/icons.svg#icon-arrow"></use> | ||
</svg> | ||
</button> | ||
</form> | ||
</div> | ||
<img class="order-content-img" srcset="../img/order/[email protected] 2x" src="../img/order/order-img.jpg" | ||
alt="girl-wearing-embroidered-shirt"> | ||
</div> | ||
</section> | ||
<!-- =======/Your order section======= --> |