This commit is contained in:
parent
a25a5273c3
commit
6b33b82d4d
|
|
@ -67,6 +67,7 @@
|
||||||
@import './layout/footer.css';
|
@import './layout/footer.css';
|
||||||
@import './layout/section.css';
|
@import './layout/section.css';
|
||||||
@import './layout/gutenberg.css';
|
@import './layout/gutenberg.css';
|
||||||
|
@import './layout/patterns.css';
|
||||||
|
|
||||||
/* ########### PAGES ############ */
|
/* ########### PAGES ############ */
|
||||||
@import './pages/archive-dbmob.css';
|
@import './pages/archive-dbmob.css';
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,10 @@ body.front-end {
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
@apply text-5xl;
|
@apply text-xl md:text-5xl;
|
||||||
|
@media screen and (max-width: 1024px) {
|
||||||
|
@apply !text-4xl;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
|
|
|
||||||
|
|
@ -23,9 +23,9 @@
|
||||||
@apply subtitle-big;
|
@apply subtitle-big;
|
||||||
}
|
}
|
||||||
&--right {
|
&--right {
|
||||||
@apply flex-row-reverse;
|
@apply lg:flex-row-reverse;
|
||||||
.chapter-section__inner {
|
.chapter-section__inner {
|
||||||
@apply flex-row-reverse;
|
@apply lg:flex-row-reverse;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&--has-background {
|
&--has-background {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-box {
|
.content-box {
|
||||||
@apply relative px-4 md:px-8;
|
@apply relative px-2 md:px-8;
|
||||||
|
|
||||||
&--variant-framed {
|
&--variant-framed {
|
||||||
@apply border border-carhop-green-600;
|
@apply border border-carhop-green-600;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
.block-front-header {
|
.block-front-header {
|
||||||
@apply pt-16 pb-32 text-white;
|
@apply pt-16 pb-32 text-white px-2;
|
||||||
background-image: url('../resources/img/shapes/background-shape-C_green.svg');
|
background-image: url('../resources/img/shapes/background-shape-C_green.svg');
|
||||||
|
|
||||||
@apply bg-no-repeat bg-center;
|
@apply bg-no-repeat bg-center;
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
@apply !text-4xl fjalla !tracking-wider font-normal;
|
@apply !text-3xl md:!text-4xl fjalla !tracking-wider font-normal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
.narrative-card {
|
.narrative-card {
|
||||||
@apply p-12 py-16 mx-auto max-w-screen-lg relative;
|
@apply px-6 md:px-12 py-16 mx-auto max-w-screen-lg relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
> * {
|
> * {
|
||||||
|
|
|
||||||
|
|
@ -211,6 +211,15 @@
|
||||||
ul.presse-reviews__years-list {
|
ul.presse-reviews__years-list {
|
||||||
@apply sticky top-0;
|
@apply sticky top-0;
|
||||||
|
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
/* @apply flex items-center gap-4 flex-wrap; */
|
||||||
|
@apply grid grid-cols-2 gap-3;
|
||||||
|
|
||||||
|
li.presse-reviews__year {
|
||||||
|
@apply !mt-0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
li.presse-reviews__year {
|
li.presse-reviews__year {
|
||||||
@apply !list-none border border-primary border-solid text-4xl fjalla;
|
@apply !list-none border border-primary border-solid text-4xl fjalla;
|
||||||
a {
|
a {
|
||||||
|
|
@ -224,17 +233,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
li.presse-reviews__year + li.presse-reviews__year {
|
li.presse-reviews__year + li.presse-reviews__year {
|
||||||
@apply mt-4;
|
@apply mt-4;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1024px) {
|
|
||||||
@apply flex items-center gap-4;
|
|
||||||
|
|
||||||
li.presse-reviews__year {
|
|
||||||
@apply !mt-0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
.wp-block-carhop-blocks-story-timeline {
|
.wp-block-carhop-blocks-story-timeline {
|
||||||
@apply flex gap-12 mx-auto max-w-screen-xl;
|
@apply flex flex-col md:flex-row gap-12 mx-auto max-w-screen-xl;
|
||||||
aside.story-timeline__years {
|
aside.story-timeline__years {
|
||||||
@apply text-white;
|
@apply text-white;
|
||||||
ul {
|
ul {
|
||||||
@apply sticky top-0 left-0 !pt-6;
|
@apply sticky top-0 left-0 !pt-6;
|
||||||
@apply list-none p-0 m-0 flex flex-col gap-4;
|
@apply list-none p-0 m-0 grid grid-cols-2 md:flex flex-col gap-4;
|
||||||
li {
|
li {
|
||||||
@apply list-none bg-white text-primary p-6 border border-primary text-3xl fjalla;
|
@apply list-none bg-white text-primary border border-primary text-3xl fjalla p-0;
|
||||||
a {
|
a {
|
||||||
@apply no-underline;
|
@apply no-underline p-6 block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
.wp-block-buttons.is-style-big-buttons {
|
.wp-block-buttons.is-style-big-buttons {
|
||||||
@apply mx-auto flex flex-col justify-center mt-4 mb-12;
|
@apply mx-auto flex flex-col justify-center mt-4 mb-12;
|
||||||
@apply px-4;
|
@apply px-4;
|
||||||
|
|
||||||
@screen lg {
|
@screen lg {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
@apply px-0;
|
@apply px-0;
|
||||||
|
|
@ -10,6 +11,7 @@
|
||||||
flex-shrink: 1;
|
flex-shrink: 1;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
flex-basis: 100%;
|
flex-basis: 100%;
|
||||||
|
|
||||||
@screen lg {
|
@screen lg {
|
||||||
@apply w-fit;
|
@apply w-fit;
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
|
|
@ -17,7 +19,8 @@
|
||||||
}
|
}
|
||||||
.wp-block-button__link {
|
.wp-block-button__link {
|
||||||
@apply fjalla uppercase text-left flex justify-between items-center bg-white text-primary;
|
@apply fjalla uppercase text-left flex justify-between items-center bg-white text-primary;
|
||||||
@apply text-3xl;
|
@apply text-2xl md:text-3xl;
|
||||||
|
@apply px-4 md:px-10;
|
||||||
&:after {
|
&:after {
|
||||||
@apply content-[''] block w-16 h-16 bg-no-repeat;
|
@apply content-[''] block w-16 h-16 bg-no-repeat;
|
||||||
|
|
||||||
|
|
|
||||||
3
resources/css/layout/patterns.css
Normal file
3
resources/css/layout/patterns.css
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
:where(.wp-block-group.has-background) {
|
||||||
|
@apply !px-2 md:!px-8 !bg-red-500;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user