Skip to content

Commit

Permalink
320-changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ElizabethBil committed Oct 5, 2023
1 parent c74d94a commit d851f0e
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 24 deletions.
3 changes: 2 additions & 1 deletion src/css/about.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ padding-top: 80px;
padding-bottom: 62px;
background-image: url(/img/about/about-ornamets-mobile.png);
background-position-x: right;
background-position-y: bottom;
background-position-y: 742px;
background-repeat: no-repeat;
background-size: 248px 393px;
}

@media screen and (min-width: 768px) {
Expand Down
25 changes: 12 additions & 13 deletions src/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,26 +66,25 @@ main {

/* ==== CONTAINER ==== */

.container {
width: 100%;
margin-left: auto;
margin-right: auto;
padding: 0;
}

@media screen and (min-width: 375px) {
.container {
width: 375px;
padding-left: 20px;
padding-right: 20px;
margin: 0 auto;
}
width: 375px;
padding-left: 20px;
padding-right: 20px;
margin: 0 auto;
}
}

@media screen and (max-width: 375px) {

.container {
width: 100%;
}
width: 100%;
margin-left: auto;
margin-right: auto;
padding-left: 20px;
padding-right: 20px;
}
}

@media screen and (min-width: 768px) {
Expand Down
19 changes: 16 additions & 3 deletions src/css/collection.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
margin-bottom: 40px;
}



/* OUR COLLECTION */




.collection-section {
background-image: url(/img/collection/bg-ornament-mob.png);
background-repeat: no-repeat;
background-size: 72px 177px;
background-position-y: 327px;
}

Expand Down Expand Up @@ -55,6 +57,17 @@
text-transform: uppercase;
}

@media screen and (max-width: 374px) {

.collection-section {
background-image: url(/img/collection/bg-ornament-mob.png);
background-repeat: no-repeat;
background-size: 72px 177px;
background-position-y: 516px;
}

}

@media screen and (min-width: 768px) {
.collection-section {
background-image: url(/img/collection/bg-ornament-tab.png);
Expand Down
7 changes: 2 additions & 5 deletions src/css/hero.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,10 @@

.hero-img {
border-radius: 4px;
height: 545px;
flex-shrink: 0;
border-radius: 4px;
background: url(<path-to-image>), lightgray 50% / cover no-repeat;

}

@media screen and (min-width: 375px) {
}

@media screen and (max-width: 767px) {
.hero-svg-star {
Expand Down
11 changes: 11 additions & 0 deletions src/css/order.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
margin-bottom: 80px;
}


.order-title {
line-height: 1.36;
max-width: 350px;
Expand Down Expand Up @@ -145,6 +146,16 @@
}


@media screen and (max-width: 374px) {
.order-form-input {
width: 100%;
}

.order-form-coment {
width: 100%;
}
}



/* ======/MOBILE===== */
Expand Down
4 changes: 2 additions & 2 deletions src/css/testimonials.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


@media screen and (min-width: 375px) {

.testimonials-title {
margin-bottom: 31px;
text-align: left;
Expand Down Expand Up @@ -55,7 +55,7 @@
position: absolute;
top: -24px;
}
}


@media screen and (min-width: 768px) {
.testimonials-title {
Expand Down

0 comments on commit d851f0e

Please sign in to comment.