FEATURE handlign new variations and styles
This commit is contained in:
parent
fe35017cba
commit
fdf5da229e
|
|
@ -1,6 +1,6 @@
|
|||
.chapter-section {
|
||||
@apply relative flex flex-col lg:flex-row items-center justify-between gap-8 2xl:gap-12 !my-16;
|
||||
@apply py-32 xl:py-32 2xl:py-48 px-4 md:px-20;
|
||||
@apply py-16 md:py-32 xl:py-32 2xl:py-48 px-8 md:px-20;
|
||||
@apply max-w-screen-2xl mx-auto;
|
||||
color: var(--content-box-text-color);
|
||||
min-height: 60vh;
|
||||
|
|
@ -101,9 +101,6 @@
|
|||
@apply absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 h-full;
|
||||
z-index: 0;
|
||||
@apply w-full;
|
||||
@screen md {
|
||||
width: calc(100% - 30px);
|
||||
}
|
||||
|
||||
&--right {
|
||||
transform: scaleX(-1);
|
||||
|
|
@ -134,6 +131,22 @@
|
|||
} */
|
||||
}
|
||||
|
||||
&--backgrounded {
|
||||
.chapter-section__background {
|
||||
@screen md {
|
||||
width: calc(100% - 30px);
|
||||
}
|
||||
}
|
||||
}
|
||||
&--framed {
|
||||
.chapter-section__background {
|
||||
width: calc(100% - 30px);
|
||||
@screen md {
|
||||
width: calc(100% - 30px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> *:not(.chapter-section__background) {
|
||||
z-index: 2;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user