Adjust footer paddings
This commit is contained in:
parent
e5a1f860f0
commit
4eae0eed4e
|
@ -21,7 +21,7 @@
|
|||
margin-top: auto;
|
||||
width: 100%;
|
||||
background: var(--clr-main-footer-bg);
|
||||
padding: 1rem 1rem 3rem 1rem;
|
||||
padding: 1.5rem 1rem clamp(2rem, calc(100% - 2rem), 3rem);
|
||||
text-align: center;
|
||||
display: grid;
|
||||
gap: 0.3em;
|
||||
|
@ -53,18 +53,4 @@
|
|||
gap: 0.7em;
|
||||
justify-self: center;
|
||||
}
|
||||
|
||||
/* Screen sizes larger than mobile */
|
||||
@media only screen and (min-width: 30rem) {
|
||||
.footer {
|
||||
padding: 1rem 1rem 2rem 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Tablet screen size */
|
||||
@media only screen and (min-width: 43.75rem) {
|
||||
.footer {
|
||||
padding: 1rem;
|
||||
}
|
||||
}
|
||||
</style>
|
Loading…
Reference in New Issue