Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ElizabethBil committed Oct 4, 2023
2 parents b2caa30 + 9da41c3 commit 6a69cd2
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 3 deletions.
79 changes: 76 additions & 3 deletions src/css/footer.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.footer-section {
padding-top: 40px;
border-top: 1px solid rgba(252, 249, 249, 0.1);
}

.footer-list {
display: flex;
flex-wrap: wrap;
Expand All @@ -14,27 +19,41 @@
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 18px;
line-height: 1.28;
text-transform: uppercase;
}

.footer-title {
color: var(--white, #fcf9f9);
font-size: 44px;
line-height: 1.22em;
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-repeat: no-repeat;
background-position: bottom;
padding-bottom: 216px;
background-size: 375px 212px;
}

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

.footer-list-item {
Expand All @@ -43,8 +62,13 @@
}

.footer-title {
/* typography */
font-size: 54px;
line-height: 1.18;

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

.footer-container {
Expand All @@ -53,15 +77,64 @@
}

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

.footer-list {
margin-bottom: 117px;
}

.footer-title {
/* typography */
font-size: 64px;
line-height: 1.15;
/* Box model */
width: 754px;
}
}

@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 6a69cd2

Please sign in to comment.