make footer responsive
This commit is contained in:
parent
0dd1689a35
commit
748b0c213e
1 changed files with 13 additions and 3 deletions
|
@ -7,7 +7,8 @@ footer {
|
|||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
gap: 1.3em;
|
||||
gap: .5em 1.3em;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
#footerNav li {
|
||||
|
@ -32,9 +33,11 @@ footer {
|
|||
gap: 1em;
|
||||
}
|
||||
|
||||
@media (width >= 1024px) {
|
||||
.footer-container > :nth-last-child(-n + 2) {
|
||||
text-align: end;
|
||||
}
|
||||
}
|
||||
|
||||
.designCredit {
|
||||
font-size: 1rem;
|
||||
|
@ -63,3 +66,10 @@ footer {
|
|||
.languageSwitch a:hover {
|
||||
background: #d5dbe4;
|
||||
}
|
||||
|
||||
@media (width < 1024px) {
|
||||
.footer-container {
|
||||
grid-template-columns: auto;
|
||||
grid-template-rows: repeat(4, auto);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue