Skip to content

Commit d10ae45

Browse files
committed
static footer styles responsive completed
1 parent 556a6f6 commit d10ae45

File tree

2 files changed

+47
-7
lines changed

2 files changed

+47
-7
lines changed

front/src/common-app/components/footer/footer.styles.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export const linkList = css`
4646
padding: 0;
4747
margin: 0;
4848
list-style: none;
49+
4950
@media (max-width: 380px) {
5051
text-align: center;
5152
margin-top: 1.2rem;

front/static/styles.css

Lines changed: 46 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,18 @@ form textarea {
513513
background-color: var(--color-dark);
514514
}
515515

516+
@media only screen and (max-width: 728px) {
517+
.footer {
518+
padding: 2rem 4rem 3rem 4rem;
519+
}
520+
}
521+
522+
@media only screen and (max-width: 380px) {
523+
.footer {
524+
height: 35rem;
525+
}
526+
}
527+
516528
.footer__top-container {
517529
padding: 0 2rem;
518530
display: flex;
@@ -521,6 +533,15 @@ form textarea {
521533
align-items: center;
522534
}
523535

536+
@media only screen and (max-width: 380px) {
537+
.footer__top-container {
538+
flex-direction: column-reverse;
539+
align-items: center;
540+
justify-content: center;
541+
height: 22rem;
542+
}
543+
}
544+
524545
.footer__logo {
525546
height: 10rem;
526547
width: 11.2rem;
@@ -531,8 +552,16 @@ form textarea {
531552
margin: 0;
532553
list-style: none;
533554
}
555+
556+
@media only screen and (max-width: 380px) {
557+
.footer__list {
558+
text-align: center;
559+
margin-top: 2.4rem;
560+
}
561+
}
562+
534563
.footer__list__item {
535-
margin-top: 1rem;
564+
margin-top: 0.5rem;
536565
}
537566

538567
.footer__list__item a {
@@ -554,10 +583,11 @@ form textarea {
554583
padding-top: 1rem;
555584
}
556585

557-
.footer__copyright {
558-
color: var(--color-grey-light);
559-
font-weight: 300;
560-
font-size: 1.4rem;
586+
@media only screen and (max-width: 380px) {
587+
.footer__bottom-container {
588+
flex-direction: column;
589+
align-items: center;
590+
}
561591
}
562592

563593
.footer--logo-lemon-container:hover .footer--logo-lemon {
@@ -584,6 +614,9 @@ form textarea {
584614
.footer__icon-list-item {
585615
margin-right: 1.2rem;
586616
}
617+
.footer__icon-list-item:last-of-type {
618+
margin-right: 0;
619+
}
587620

588621
.footer__icon {
589622
height: 2.4rem;
@@ -608,8 +641,14 @@ form textarea {
608641
fill: var(--color-primary-main);
609642
}
610643

644+
.footer__copyright {
645+
color: var(--color-grey-light);
646+
font-weight: 300;
647+
font-size: 1.4rem;
648+
}
649+
611650
@media only screen and (max-width: 578px) {
612-
.footer {
613-
padding: 2rem 2rem;
651+
.footer__copyright {
652+
margin-top: 0.4rem;
614653
}
615654
}

0 commit comments

Comments
 (0)