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 branch 'main' of https://github.com/ElizabethBil/project-13
- Loading branch information
Showing
2 changed files
with
33 additions
and
29 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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
|
||
.your-order-section { | ||
max-width: 100%; | ||
background-image: url('./img/order/order-bkg-mobile.jpg'); | ||
background-image: url('/img/order/order-bkg-mobile.jpg'); | ||
background-size: 375px 550px; | ||
background-repeat: no-repeat; | ||
background-position-x: center; | ||
|
@@ -12,7 +12,7 @@ | |
|
||
@media screen and (min-resolution: 192dpi) and (min-width:375px) { | ||
.your-order-section { | ||
background-image: url('./img/order/[email protected]'); | ||
background-image: url('/img/order/[email protected]'); | ||
} | ||
} | ||
|
||
|
@@ -48,6 +48,7 @@ | |
letter-spacing: -0.02em; | ||
background-color: transparent; | ||
outline: transparent; | ||
color: #FCF9F9; | ||
border: 1px solid rgba(252, 249, 249, 0.10); | ||
transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1); | ||
} | ||
|
@@ -80,6 +81,7 @@ | |
background-color: transparent; | ||
outline: transparent; | ||
resize: none; | ||
color: #FCF9F9; | ||
border: 1px solid rgba(252, 249, 249, 0.10); | ||
margin-bottom: 40px; | ||
} | ||
|
@@ -135,8 +137,8 @@ | |
|
||
@media screen and (min-resolution: 192dpi) and (min-width:768px) { | ||
.your-order-section { | ||
background-image: url('./img/order/[email protected]'), | ||
url('./img/order/[email protected]'); | ||
background-image: url('/img/order/[email protected]'), | ||
url('/img/order/[email protected]'); | ||
} | ||
} | ||
|
||
|
@@ -145,8 +147,8 @@ | |
|
||
.your-order-section { | ||
max-width: 100%; | ||
background-image: url('./img/order/order-bkg-tablet.jpg'), | ||
url('./img/order/bkg-element-tablet.png'); | ||
background-image: url('/img/order/order-bkg-tablet.jpg'), | ||
url('/img/order/bkg-element-tablet.png'); | ||
background-size: 768px 776px, 288px 484px; | ||
background-repeat: no-repeat; | ||
background-position-x: center, left; | ||
|
@@ -196,6 +198,11 @@ | |
.bkg-ornament-placeholder { | ||
height: 79px; | ||
} | ||
|
||
.order-button { | ||
padding: 14px 39px; | ||
|
||
} | ||
} | ||
|
||
|
||
|
@@ -205,8 +212,8 @@ | |
|
||
@media screen and (min-resolution: 192dpi) and (min-width:1280px) { | ||
.your-order-section { | ||
background-image: url('./img/order/[email protected]'), | ||
url('./img/order/[email protected]'); | ||
background-image: url('/img/order/[email protected]'), | ||
url('/img/order/[email protected]'); | ||
} | ||
} | ||
|
||
|
@@ -215,8 +222,8 @@ | |
|
||
.your-order-section { | ||
max-width: 100%; | ||
background-image: url('./img/order/order-bkg-desktop.jpg'), | ||
url('./img/order/bkg-element-desktop.png'); | ||
background-image: url('/img/order/order-bkg-desktop.jpg'), | ||
url('/img/order/bkg-element-desktop.png'); | ||
background-size: 1282px 776px, 288px 484px; | ||
background-repeat: no-repeat; | ||
background-position-x: center, left; | ||
|
@@ -261,17 +268,17 @@ | |
|
||
@media screen and (min-resolution: 192dpi) and (min-width:1440px) { | ||
.your-order-section { | ||
background-image: url('./img/order/[email protected]'), | ||
url('./img/order/[email protected]'); | ||
background-image: url('/img/order/[email protected]'), | ||
url('/img/order/[email protected]'); | ||
} | ||
} | ||
|
||
|
||
@media screen and (min-width: 1440px) { | ||
|
||
.your-order-section { | ||
background-image: url('./img/order/order-bkg-desktop-1440.jpg'), | ||
url('./img/order/bkg-element-desktop-1440.png'); | ||
background-image: url('/img/order/order-bkg-desktop-1440.jpg'), | ||
url('/img/order/bkg-element-desktop-1440.png'); | ||
background-size: 1440px 776px, 323px 484px; | ||
} | ||
|
||
|
@@ -284,11 +291,6 @@ | |
margin-left: 0; | ||
} | ||
|
||
.order-button { | ||
padding: 14px 39px; | ||
|
||
} | ||
|
||
} | ||
|
||
|
||
|
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 |
---|---|---|
|
@@ -23,25 +23,27 @@ <h2 class="section-title order-title"> | |
</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 class="order-form-textarea" for="user-comment"> | ||
<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="13"> | ||
<use href="./img/icons.svg#icon-arrow"></use> | ||
<use href="/img/icons.svg#icon-arrow"></use> | ||
</svg> | ||
</button> | ||
</form> | ||
</div> | ||
<img class="order-content-img" srcset="./img/order/order-img-tablet.jpg 638w, | ||
./img/order/[email protected] 1276w, | ||
./img/order/order-img-desktop.jpg 524w, | ||
./img/order/[email protected] 1048w" | ||
sizes="(min-width: 1440px) 524px, (min-width: 1280px) 524px, (min-width: 768px) 638x" | ||
src="../img/order/order-img-tablet.jpg" alt="girl-wearing-embroidered-shirt"> | ||
<img class="order-content-img" srcset=" | ||
./img/order/order-img-tablet.jpg 638w, | ||
./img/order/[email protected] 1276w, | ||
./img/order/order-img-desktop.jpg 524w, | ||
./img/order/[email protected] 1048w | ||
" sizes="(min-width: 1280px) 524px, (min-width:768px) 638px" src="./img/order/order-img-tablet.jpg" | ||
alt="girl-wearing-embroidered-shirt"> | ||
|
||
</div> | ||
<div class="bkg-ornament-placeholder "></div> | ||
|