From d38ff9c9dc56fd5b9a346e0736dd7692a4d89667 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Mon, 30 Jun 2025 17:52:45 +0200 Subject: [PATCH] FEATURE Refining component aspect --- resources/css/blocks/team-authors.css | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/resources/css/blocks/team-authors.css b/resources/css/blocks/team-authors.css index 5fc3f1b..e0c9442 100644 --- a/resources/css/blocks/team-authors.css +++ b/resources/css/blocks/team-authors.css @@ -1,21 +1,21 @@ .team-authors { - h2 { - } + @apply max-w-screen-xl px-12 mx-auto py-24; .author-card { - @apply bg-white p-12 border border-carhop-green-700; + @apply bg-white p-12 border border-carhop-green-700 flex flex-col; - &__thumbnail { + &__profile-picture { @apply w-full h-32 object-cover mb-6 border border-carhop-green-700 relative; - img { - @apply absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 object-cover object-center bg-carhop-green-100; - width: calc(100% - 16px); - height: calc(100% - 16px); + /* img { + @apply object-cover object-center; object-fit: cover; object-position: center; - } + width: calc(100% - 16px); + height: calc(100% - 16px); + } */ } + &__name { @apply text-2xl font-medium mb-4; } @@ -35,7 +35,7 @@ @apply pt-12; &__title { - @apply text-4xl font-medium mb-4; + @apply text-4xl font-medium mb-4 uppercase pb-10; } &__list {