Compare commits

..

3 Commits

Author SHA1 Message Date
Antoine M
707eb95ef6 STYLE introducing the animation component
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-30 15:35:06 +02:00
Antoine M
36cd92b3e4 STYLE Aligning the cta go on the bottom for each card with a flex fix 2025-09-30 15:30:13 +02:00
Antoine M
c5cae43428 STYLE introducing the animation css component 2025-09-30 15:29:34 +02:00
2 changed files with 11 additions and 2 deletions

View File

@ -0,0 +1,9 @@
/**
* Animation for the hover top
*/
.animate-hover-top {
@apply transition-all duration-300 ease-out;
&:hover {
@apply translate-y-[-6px];
}
}

View File

@ -1,5 +1,5 @@
.article-card { .article-card {
@apply bg-white border border-primary p-6 relative; @apply bg-white border border-primary p-6 relative !flex flex-col;
&:after { &:after {
@apply content-[''] absolute inset-0 border-primary w-full h-full pointer-events-none; @apply content-[''] absolute inset-0 border-primary w-full h-full pointer-events-none;
@ -47,6 +47,6 @@
} }
} }
.cta--go { .cta--go {
@apply text-primary; @apply text-primary mt-auto;
} }
} }