Skip to content

Commit

Permalink
Merge pull request #44 from ElizabethBil/footer
Browse files Browse the repository at this point in the history
update footer
  • Loading branch information
ElizabethBil authored Oct 4, 2023
2 parents 00a14c8 + 3db28a8 commit 9da41c3
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 5 deletions.
50 changes: 45 additions & 5 deletions src/css/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 18px;
line-height: 1.28;
text-transform: uppercase;
}

Expand All @@ -28,14 +28,15 @@
font-size: 44px;
line-height: 1.22;
letter-spacing: -0.03em;
font-weight: 400;

/* Box model */
width: 335px;
margin-bottom: 80px;
}

.footer-section {
background-image: url(../img/footer/bg-footer-mob.png);
background-image: url(/img/footer/bg-footer-mob.png);
background-repeat: no-repeat;
background-position: bottom;
padding-bottom: 216px;
Expand All @@ -44,7 +45,7 @@

@media screen and (min-width: 768px) {
.footer-section {
background-image: url(../img/footer/bg-footer-tab.png);
background-image: url(/img/footer/bg-footer-tab.png);
background-position: top right;
padding-bottom: 0;
background-size: 178px 369px;
Expand All @@ -53,7 +54,6 @@
display: flex;
flex-wrap: nowrap;
gap: 25px;
margin-bottom: 80px;
}

.footer-list-item {
Expand All @@ -68,6 +68,7 @@

/* Box model */
width: 521px;
margin-bottom: 0;
}

.footer-container {
Expand All @@ -77,7 +78,7 @@

@media screen and (min-width: 1280px) {
.footer-section {
background-image: url(../img/footer/bg-footer-1280.png);
background-image: url(/img/footer/bg-footer-1280.png);
background-position: top right;
padding-bottom: 0;
background-size: 336px 363px;
Expand All @@ -97,4 +98,43 @@
}

@media screen and (min-width: 1440px) {
.footer-section {
background-image: url(/img/footer/bg-footer-1440.png);
background-position: top right;
padding-bottom: 0;
background-size: 496px 363px;
}
}

/* ##### Background image x2 ##### */
@media screen and (min-resolution: 192dpi) and (max-width: 767px),
screen and (min-resolution: 2dppx) and (max-width: 767px),
screen and (min-device-pixel-ratio: 2) and (max-width: 767px) {
.collection-section {
background-image: url(/img/footer/[email protected]);
}
}

@media screen and (min-resolution: 192dpi) and (min-width: 768px),
screen and (min-resolution: 2dppx) and (min-width: 768px),
screen and (min-device-pixel-ratio: 2) and (min-width: 768px) {
.collection-section {
background-image: url(/img/footer/[email protected]);
}
}

@media screen and (min-resolution: 192dpi) and (min-width: 1280px),
screen and (min-resolution: 2dppx) and (min-width: 1280px),
screen and (min-device-pixel-ratio: 2) and (min-width: 1280px) {
.collection-section {
background-image: url(/img/footer/[email protected]);
}
}

@media screen and (min-resolution: 192dpi) and (min-width: 1440px),
screen and (min-resolution: 2dppx) and (min-width: 1440px),
screen and (min-device-pixel-ratio: 2) and (min-width: 1440px) {
.collection-section {
background-image: url(/img/footer/[email protected]);
}
}
File renamed without changes

0 comments on commit 9da41c3

Please sign in to comment.