Compare commits

...

8 Commits

Author SHA1 Message Date
Antoine M
6b9d8529a6 FEATURE Handling multiple issue numbers
All checks were successful
continuous-integration/drone/push Build is passing
2025-10-02 10:35:42 +02:00
Antoine M
379fb7fd74 FEATURE Refinign features and tricks 2025-10-02 10:34:43 +02:00
Antoine M
8284a1e7a0 STYLE Refining spacings 2025-10-02 10:34:25 +02:00
Antoine M
54ea90bafd STYLE Refinin alignments 2025-10-02 10:34:15 +02:00
Antoine M
a278d611a2 STYLE Increasing margin y 2025-10-02 10:34:00 +02:00
Antoine M
90665b93e9 FIX svg background causing problem with chapter-section 2025-10-02 10:32:22 +02:00
Antoine M
d477fcbf51 FEATURE Handling a white version of internal-link-icon 2025-10-02 10:31:57 +02:00
Antoine M
36ee728ba2 CHORE synchronising colors accross themes 2025-10-02 10:31:39 +02:00
8 changed files with 69 additions and 29 deletions

View File

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

View File

@ -1,5 +1,5 @@
.chapter-section {
@apply relative lg:flex items-center justify-between gap-8 2xl:gap-12 !my-0;
@apply relative lg:flex items-center justify-between gap-8 2xl:gap-12 !my-16;
@apply py-32 xl:py-32 2xl:py-48 px-4 md:px-12;
@apply max-w-screen-2xl mx-auto;
color: var(--content-box-text-color);
@ -118,3 +118,8 @@
@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,6 +22,7 @@
h6 {
@apply font-light uppercase tracking-wider max-w-4xl !text-5xl;
line-height: 1.2 !important;
@apply !mb-0 !pb-0;
}
h1.has-text-align-center,

View File

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

View File

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

View File

@ -2,8 +2,11 @@
@apply bg-primary text-white py-16 items-center;
&__inner {
@apply lg:grid grid-cols-1 lg:grid-cols-2;
grid-template-columns: 61.8fr 38.2fr;
@apply grid grid-cols-1 gap-x-24 gap-y-20 !py-0;
@screen lg {
grid-template-columns: 61.8fr 38.2fr;
@apply !py-16;
}
}
&__title {
@ -12,4 +15,10 @@
&__subtitle {
@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,4 +35,7 @@ body {
.deligraph-blocks-chapter-section {
@apply !px-0;
svg {
@apply pointer-events-none;
}
}

View File

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