style(_footer.scss): modificando footer para telas 375px

This commit is contained in:
Ana Carolina Duarte Cavalcante 2022-12-11 12:21:53 -03:00
parent 9508cf89b9
commit f429892dfd

View File

@ -1,17 +1,27 @@
/* _footer.scss */
footer {
margin-top: auto;
}
.footerCheckout {
border-top: 1px solid #000000;
color: $color-gray2;
bottom: 0;
position: absolute;
width: 100%;
&__wrapper {
padding: 16px 0;
margin-left: 16px;
margin-right: 16px;
& .container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 0;
width: 100%;
@media (max-width: $checkout375px) {
flex-direction: column;
align-items:flex-start
}
&::before,
&::after {
content: none;
@ -26,10 +36,17 @@
text-transform: capitalize;
color: #292929;
max-width: 40%;
@media (max-width: $checkout375px) {
order: 2;
margin-top: 16px;
}
@include mq(md, max) {
margin-bottom: 24px;
max-width: 100%;
@media (max-width: $checkout375px) {
margin-bottom: 0;
}
}
}
@ -37,6 +54,9 @@
align-items: center;
display: flex;
justify-self: center;
@media (max-width: $checkout375px) {
order: 1;
}
& ul {
align-items: center;
display: flex;
@ -45,7 +65,6 @@
margin: 0;
@include mq(md, max) {
align-self: center;
// margin-bottom: 12px;
}
& li {
@ -77,7 +96,10 @@
display: flex;
list-style-type: none;
margin: 0;
@media (max-width: $checkout375px) {
order: 3;
margin-top: 16px;
}
li:last-child {
margin-left: 16px;
}