From f219341db5ff83a2e86cd4061a5adf5f6c9db954 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Thu, 19 Oct 2023 17:28:48 +0200 Subject: [PATCH] tweaking padding details --- resources/css/blocks/staff-list.css | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/resources/css/blocks/staff-list.css b/resources/css/blocks/staff-list.css index e69de29..3e9f8cf 100644 --- a/resources/css/blocks/staff-list.css +++ b/resources/css/blocks/staff-list.css @@ -0,0 +1,32 @@ +.homegrade-blocks-staff-list { + @apply max-w-screen-xl mx-auto py-8 px-16 xl:px-8; + &__title { + @apply homegrade-title homegrade-title--secondary-small !mt-0; + } + &__subtitle { + @apply homegrade-title homegrade-title--black-large; + } + &__staff-list { + @apply grid md:grid-cols-2 xl:grid-cols-4 gap-x-6 gap-y-16 pt-16; + } +} + +.homegrade-blocks-staff-member { + @apply flex items-center gap-6 !pl-0; + &__member-icon { + @apply bg-white shadowed rounded-2xl w-20 h-20; + @apply shrink-0; + img { + @apply max-w-full max-h-full h-auto; + } + } + &__member-informations { + @apply shrink flex flex-col content-center; + } + &__name { + @apply font-bold text-secondary text-lg; + } + &__position { + @apply !mb-0 font-medium pt-1; + } +}