Skip to content

Commit

Permalink
Merge pull request #35 from MabelM1/footer-update
Browse files Browse the repository at this point in the history
  • Loading branch information
julieg18 authored Jul 9, 2020
2 parents 1e8e654 + c899b57 commit 57120df
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
11 changes: 11 additions & 0 deletions blocks/footer/__text/footer__text.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,14 @@
line-height: 16px;
}
}

@media screen and (max-width: 320px) {
.footer__text {
font-size: 14px;
line-height: 14px;
margin-bottom: 20px;
}
.footer__text:last-child {
margin-bottom: 0;
}
}
16 changes: 15 additions & 1 deletion blocks/footer/footer.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
@import url(./__text/footer__text.css);

.footer {
padding: 100px 40px 40px 40px;
padding: 100px 120px 40px 120px;
display: flex;
justify-content: space-between;
}

@media screen and (max-width: 1280px) {
.footer {
padding: 100px 40px 40px 40px;
}
}

@media screen and (max-width: 1024px) {
.footer {
padding: 84px 40px 40px 40px;
Expand All @@ -17,3 +23,11 @@
padding: 72px 30px 30px 30px;
}
}

@media screen and (max-width: 320px) {
.footer {
flex-direction: column;
align-items: center;
padding: 50px 16px 30px 16px;
}
}

0 comments on commit 57120df

Please sign in to comment.