Compare commits

..

No commits in common. "f379cfa765d3537768ae39ceaccb5920dbfe787e" and "b77435a4f0d60b0fb430de96da43cf85c878797b" have entirely different histories.

5 changed files with 9 additions and 23 deletions

View File

@ -11,22 +11,19 @@ a[target='_blank'] {
} }
.internal-link-with-icon { .internal-link-with-icon {
@apply flex items-center; @apply flex items-center;
transition: transform 0.3s ease-out;
&:after { &:after {
transition: transform 0.3s ease-out; transition: transform 0.3s ease-out;
@apply content-[''] w-10 h-10 ml-2 inline-block; @apply content-[''] w-10 h-10 ml-2 inline-block;
background-image: url('../resources/img/carhop-fleche-lien-externe-full--outline-green.svg'); background-image: url('../resources/img/carhop-fleche-lien-externe-full--outline-green.svg');
transform: rotate(0deg) translateX(0px);
} }
&:hover:after { &:hover:after {
transform: translateX(4px) rotate(45deg); transform: rotate(45deg);
} }
&:hover { &:hover {
filter: brightness(1.2); filter: brightness(1.2);
text-decoration: underline; text-decoration: underline;
text-decoration-thickness: 1px; text-decoration-thickness: 1px;
text-underline-offset: 8px; text-underline-offset: 8px;
transform: translateX(-4px);
} }
} }
.no-external-icon { .no-external-icon {

View File

@ -1,11 +1,10 @@
.chapter-section { .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-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-32;
@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);
min-height: 60vh;
&:first-child { &:first-child {
@apply mt-0; @apply mt-0;
} }
@ -92,7 +91,7 @@
&__background { &__background {
@apply absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 h-full; @apply absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 h-full;
z-index: 0; z-index: -1;
width: calc(100% - 30px); width: calc(100% - 30px);
&--right { &--right {

View File

@ -1,3 +0,0 @@
.wp-block-carhop-blocks-cta {
@apply internal-link-with-icon;
}

View File

@ -1,5 +1,5 @@
.block-revues-precedentes { .block-revues-precedentes {
@apply bg-carhop-blue-50 py-28; @apply bg-carhop-blue-50 py-32;
.block-revues-precedentes__header { .block-revues-precedentes__header {
} }
.swiper-controls, .swiper-controls,
@ -16,6 +16,9 @@
#discover-all-revues { #discover-all-revues {
@apply internal-link-with-icon; @apply internal-link-with-icon;
@apply font-bold text-xl; @apply font-bold text-xl;
/* &:after {
@apply content-[''] absolute inset-0 bg-primary w-full h-full;
} */
} }
} }
@ -36,7 +39,7 @@
} }
&__slider-content { &__slider-content {
@apply py-16 pt-8 md:pt-16 2xl:pt-32 pb-0; @apply py-16 pt-8 md:pt-16 2xl:pt-32;
} }
.card-revue { .card-revue {

View File

@ -26,13 +26,3 @@ body {
.acf-block-fields { .acf-block-fields {
@apply max-w-screen-md mx-auto; @apply max-w-screen-md mx-auto;
} }
.wp-block-carhop-blocks-cta {
&.is-selected::after {
@apply !static;
}
}
.deligraph-blocks-chapter-section {
@apply !px-0;
}