Skip to content

Commit

Permalink
Merge pull request #16 from MariaYefimenko/footer-new
Browse files Browse the repository at this point in the history
Footer new
  • Loading branch information
MariaYefimenko committed Nov 2, 2023
2 parents d0c53cd + c01217b commit 75ff7ad
Showing 1 changed file with 28 additions and 29 deletions.
57 changes: 28 additions & 29 deletions src/css/footer.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
.footer-container {
display: flex;
flex-wrap: wrap;
.footer {
background-image: url(../img/background/bg-footer-mobile.png);
background-position: bottom;
background-repeat: no-repeat;
background-size: auto;
border-top: 1px solid rgba(252, 249, 249, 0.10);
padding-bottom: 212px;
padding-top: 40px;
}

.footer-container {
display: flex;
flex-wrap: wrap;
}

.footer-list {
display: flex;
flex-wrap: wrap;
row-gap: 25px;
margin-bottom: 40px;
margin-bottom: 40px;
}

.footer-list-item {
Expand All @@ -23,6 +27,15 @@
flex-basis: 50%;
}

.footer-link {
transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-link:focus,
.footer-link:hover {
color: #ECD979;
}

.footer-slogan {
font-size: 44px;
line-height: 1.23;
Expand All @@ -37,20 +50,23 @@
letter-spacing: -0.03em;
}

/* @media (min-device-pixel-ratio: 2),
@media (min-device-pixel-ratio: 2),
(min-resolution: 192dpi),
(min-resolution: 2dppx) {
.footer-container {
.footer {
background-image: url(../img/background/bg-footer-mobile-2x.png);
background-position: bottom;
background-repeat: no-repeat;
background-size: auto;
}
} */
}

@media screen and (min-width: 768px) {
.container {
max-width: 768px;
}

.footer-container {
.footer {
background-image: url(../img/background/bg-footer-tablet.png);
background-position: right;
background-repeat: no-repeat;
Expand Down Expand Up @@ -81,24 +97,16 @@
}
}

/* @media (min-device-pixel-ratio: 2),
(min-resolution: 192dpi),
(min-resolution: 2dppx) {
.footer-container {
background-image: url(../img/background/bg-footer-tablet-2x.png);
}
} */

@media screen and (min-width: 1110px) {
.container {
max-width: 1110px;
}
}

.footer-container {
.footer {
background-image: url(../img/background/bg-footer-deskt.png);
background-position: right top;
background-position: right;
background-repeat: no-repeat;
background-size: 280px 340px;
background-size: contain;
}

.footer-list {
Expand All @@ -116,12 +124,3 @@
line-height: 1.16;
}
}

/* @media (min-device-pixel-ratio: 2),
(min-resolution: 192dpi),
(min-resolution: 2dppx) {
.footer-container {
background-image: url(../img/background/bg-footer-deskt-2x.png);
}
} */

0 comments on commit 75ff7ad

Please sign in to comment.