Skip to content

Commit

Permalink
Merge pull request #19 from ElizabethBil/your-order
Browse files Browse the repository at this point in the history
  • Loading branch information
ElizabethBil authored Oct 3, 2023
2 parents 2883295 + 1d5a10d commit 2931138
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
25 changes: 14 additions & 11 deletions src/css/order.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
background-size: 375px 550px;
background-repeat: no-repeat;
background-position-x: center;
background-position-y: 40px;
background-position-y: top;
}

@media screen and (min-resolution: 192dpi) and (min-width:375px) {
Expand All @@ -24,7 +24,7 @@
line-height: 1.36;
letter-spacing: -0.03em;
color: #FCF9F9;
max-width: 320px;
max-width: 350px;
margin-bottom: 40px;
}

Expand Down Expand Up @@ -125,10 +125,10 @@
max-width: 100%;
background-image: url('../img/order/order-bkg-tablet.jpg'),
url('../img/order/bkg-element-tablet.png');
background-size: 768px 776px, ;
background-size: 768px 776px, 288px 484px;
background-repeat: no-repeat;
background-position-x: center, left;
background-position-y: 50px, bottom;
background-position-y: top, bottom;
}

.order-bkg-img {
Expand Down Expand Up @@ -197,7 +197,6 @@
text-transform: uppercase;
margin-left: 0;
margin-right: 0;
margin-bottom: 100px;
color: var(--white, #FCF9F9);
}

Expand All @@ -222,11 +221,12 @@

.your-order-section {
max-width: 100%;
background-image: url('../img/order/order-bkg-desktop.jpg');
background-size: 1282px 776px;
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;
background-position-y: 75px;
background-position-x: center, left;
background-position-y: top, bottom;
}

.order-bkg-img {
Expand All @@ -236,6 +236,11 @@

.order-flex-wrapper {
display: flex;
flex-direction: row-reverse;
}

.order-form-wrapper {
margin-left: 50px;
}


Expand Down Expand Up @@ -298,13 +303,11 @@
text-transform: uppercase;
margin-left: 0;
margin-right: 0;
margin-bottom: 100px;
color: var(--white, #FCF9F9);
}

.order-content-img-wrapper {
margin-left: auto;
order: 1;
}

.order-content-img {
Expand Down
4 changes: 2 additions & 2 deletions src/partials/order.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- =======Your order section======= -->
<section class="section your-order-section" id="order-section">
<section class="section your-order-section">
<div class="container order-container">
<div class="order-bkg-img"></div>
<div class="order-flex-wrapper">
Expand All @@ -9,7 +9,7 @@ <h2 class="order-title">
quality of
service
</h2>
<form class="order-form">
<form class="order-form" id="order-section">
<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"
Expand Down

0 comments on commit 2931138

Please sign in to comment.