STYLE enhance footer layout and responsiveness with updated spacing and image handling
This commit is contained in:
parent
88ab1e63d5
commit
874c85472d
|
|
@ -1,7 +1,7 @@
|
|||
footer {
|
||||
@apply mx-auto px-12;
|
||||
@apply w-full mx-auto px-12;
|
||||
.branding {
|
||||
@apply w-full mb-12 grid relative pt-64;
|
||||
@apply w-full mb-12 grid relative mt-24 md:mt-32 xl:mt-48;
|
||||
z-index: -1;
|
||||
.square,
|
||||
.rectangle-rotated {
|
||||
|
|
@ -17,12 +17,32 @@ footer {
|
|||
}
|
||||
|
||||
&__shapes {
|
||||
@apply w-full grid gap-4 grid-cols-4 h-full absolute left-0;
|
||||
@apply w-full max-w-full grid gap-2 md:gap-24 xl:gap-32 2xl:gap-48 grid-cols-4 h-full absolute left-0;
|
||||
top: 0px;
|
||||
|
||||
img {
|
||||
@apply h-64 shrink;
|
||||
div.shape {
|
||||
@apply shrink flex flex-col w-full h-full;
|
||||
/* background-color: rgba(219, 234, 254, 0.5); */
|
||||
top: 0;
|
||||
flex-shrink: 1;
|
||||
aspect-ratio: 1/1;
|
||||
justify-self: center;
|
||||
transform-origin: bottom center;
|
||||
position: relative;
|
||||
bottom: 0;
|
||||
}
|
||||
div.square:first-child,
|
||||
div.rectangle-rotated {
|
||||
@apply justify-end;
|
||||
}
|
||||
img {
|
||||
@apply w-full h-fit object-contain;
|
||||
aspect-ratio: 1/1;
|
||||
flex-grow: 0;
|
||||
width: 100%;
|
||||
}
|
||||
img:last-child {
|
||||
@apply object-right;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user