Skip to content

Commit

Permalink
Merge pull request #130 from KirillKapteily/Kirill-footer
Browse files Browse the repository at this point in the history
Fixed tablet and phone
  • Loading branch information
KirillKapteily authored Jan 25, 2025
2 parents 2e44d78 + ae35ed0 commit 10ad999
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<div class="footer__container">
<hr class="hr">
<div class="footer__logo">
<div class="footer__logo m-40">
<span class="footer__logo icon"></span>
<span class="footer__text dm-sans">YACHT ADVENTURES</span>
</div>
Expand Down
42 changes: 42 additions & 0 deletions src/sass/components/footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,45 @@ letter-spacing: 3%;
}
}
}


@media (min-width:768px) and (max-width:1219px) {
.footer__menu{
flex-direction: column;
gap: 24px;

}
}

@media (min-width:320px) and (max-width:480px) {
.footer__menu{
flex-direction: column;
gap: 24px;
align-items:flex-start;
padding-left: 0px;
}

.footer__container{
flex-direction: column;
gap: 24px;
align-items:flex-start;
}

.m-40{
margin-bottom: 40px;
}

.footer__logo{

align-items: center;
}

.footer__social{
margin-top: 40px;
}

.footer__bottom{
margin-top: 0px;
}
}
// footer__menu

0 comments on commit 10ad999

Please sign in to comment.