Compare commits

..

No commits in common. "6b9d8529a605f59b564463d3def40067ce3c5cbd" and "1b579cee4355c744a009c162f15da4d87ed9da17" have entirely different histories.

8 changed files with 29 additions and 69 deletions

View File

@ -28,12 +28,6 @@ a[target='_blank'] {
text-underline-offset: 8px; text-underline-offset: 8px;
transform: translateX(-4px); transform: translateX(-4px);
} }
&--white {
@apply text-white;
&:after {
filter: brightness(0) invert(1);
}
}
} }
.no-external-icon { .no-external-icon {
&:after { &:after {

View File

@ -1,5 +1,5 @@
.chapter-section { .chapter-section {
@apply relative lg:flex items-center justify-between gap-8 2xl:gap-12 !my-16; @apply relative lg:flex items-center justify-between gap-8 2xl:gap-12 !my-0;
@apply py-32 xl:py-32 2xl:py-48 px-4 md:px-12; @apply py-32 xl:py-32 2xl:py-48 px-4 md:px-12;
@apply max-w-screen-2xl mx-auto; @apply max-w-screen-2xl mx-auto;
color: var(--content-box-text-color); color: var(--content-box-text-color);
@ -118,8 +118,3 @@
@apply -rotate-1; @apply -rotate-1;
} }
} }
.chapter-section--width-full.chapter-section--has-background
+ .chapter-section--width-full.chapter-section--has-background {
@apply !-mt-20;
}

View File

@ -22,7 +22,6 @@
h6 { h6 {
@apply font-light uppercase tracking-wider max-w-4xl !text-5xl; @apply font-light uppercase tracking-wider max-w-4xl !text-5xl;
line-height: 1.2 !important; line-height: 1.2 !important;
@apply !mb-0 !pb-0;
} }
h1.has-text-align-center, h1.has-text-align-center,

View File

@ -45,19 +45,7 @@
grid-template-columns: 61.8fr 38.2fr; grid-template-columns: 61.8fr 38.2fr;
} }
.content-meta { .content-meta {
@apply col-span-2 w-full max-w-full mb-0 text-primary; @apply col-span-2 w-full max-w-full mb-0;
.issue-number-group {
@apply flex gap-2;
}
.label {
@apply text-primary sr-only;
}
@apply flex items-center gap-2;
.value {
@apply bg-primary text-white p-4 font-medium uppercase;
}
} }
&__image { &__image {
@apply w-full h-full object-cover; @apply w-full h-full object-cover;
@ -121,11 +109,17 @@
&__post-details { &__post-details {
@apply md:flex gap-8 pt-12; @apply md:flex gap-8 pt-12;
.label { .label {
@apply uppercase font-bold tracking-widest !mb-0 text-primary; @apply uppercase font-bold tracking-widest !mb-0;
} }
.card-revue__parution {
@apply text-primary; .card-revue__issue-number {
@apply flex items-center gap-2;
&__value {
@apply bg-primary text-white p-4 font-bold uppercase;
}
} }
} }
} }

View File

@ -1,5 +1,5 @@
.subscribe-infolettre { .subscribe-infolettre {
@apply relative !text-white lg:px-24 px-4 md:px-12 !my-32; @apply relative !text-white lg:px-24 px-4 md:px-12;
z-index: 5; z-index: 5;
&:after { &:after {

View File

@ -2,11 +2,8 @@
@apply bg-primary text-white py-16 items-center; @apply bg-primary text-white py-16 items-center;
&__inner { &__inner {
@apply grid grid-cols-1 gap-x-24 gap-y-20 !py-0; @apply lg:grid grid-cols-1 lg:grid-cols-2;
@screen lg { grid-template-columns: 61.8fr 38.2fr;
grid-template-columns: 61.8fr 38.2fr;
@apply !py-16;
}
} }
&__title { &__title {
@ -15,10 +12,4 @@
&__subtitle { &__subtitle {
@apply text-white text-6xl; @apply text-white text-6xl;
} }
&__description {
@apply mb-8 lg:mb-16;
}
&__cta {
@apply internal-link-with-icon internal-link-with-icon--white;
}
} }

View File

@ -35,7 +35,4 @@ body {
.deligraph-blocks-chapter-section { .deligraph-blocks-chapter-section {
@apply !px-0; @apply !px-0;
svg {
@apply pointer-events-none;
}
} }

View File

@ -24,6 +24,11 @@
"slug": "carhop-green-light", "slug": "carhop-green-light",
"color": "#f1fcf9" "color": "#f1fcf9"
}, },
{
"name": "Carhop Orange",
"slug": "carhop-orange",
"color": "#ffa630"
},
{ {
"name": "Carhop Blue", "name": "Carhop Blue",
"slug": "carhop-blue", "slug": "carhop-blue",
@ -34,41 +39,26 @@
"slug": "carhop-blue-light", "slug": "carhop-blue-light",
"color": "#eafeff" "color": "#eafeff"
}, },
{
"name": "Carhop Red",
"slug": "carhop-red",
"color": "#ae2154"
},
{
"name": "Carhop Red Light",
"slug": "carhop-red-light",
"color": "#fcf3f8"
},
{
"name": "Carhop Orange",
"slug": "carhop-orange",
"color": "#ffa630"
},
{
"name": "Carhop Orange Light",
"slug": "carhop-orange-light",
"color": "#fff8eb"
},
{ {
"name": "Carhop Purple", "name": "Carhop Purple",
"slug": "carhop-purple", "slug": "carhop-purple",
"color": "#d6c3ff" "color": "#d6c3ff"
}, },
{
"name": "Carhop Purple Light",
"slug": "carhop-purple-light",
"color": "#f8f5ff"
},
{ {
"name": "Carhop Gray", "name": "Carhop Gray",
"slug": "carhop-gray", "slug": "carhop-gray",
"color": "#484D4A" "color": "#484D4A"
}, },
{
"name": "Carhop Yellow",
"slug": "carhop-yellow",
"color": "#0AD3FF"
},
{
"name": "Carhop Red",
"slug": "carhop-red",
"color": "#ae2154"
},
{ {
"name": "Secondary", "name": "Secondary",
"slug": "secondary", "slug": "secondary",