update css

This commit is contained in:
tree🌴 2023-04-28 14:51:43 +02:00
parent f20a4a14a5
commit 3ad8839204

View file

@ -65,7 +65,7 @@
<div class="" id="sponsors"> <div class="" id="sponsors">
<div class="middle-pane-medium pt-16 mx-auto pb-32"> <div class="middle-pane-medium pt-16 mx-auto pb-32">
<div class="section-header" on:mouseenter={animateText}>Partners</div> <div class="section-header" on:mouseenter={animateText}>Partners</div>
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6 gap-2 mb-12"> <div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-2 mb-12">
{#each data.config.partners as partner} {#each data.config.partners as partner}
<div class="partner-item text-center items-center p-2" on:mouseenter={animateSection(40)}> <div class="partner-item text-center items-center p-2" on:mouseenter={animateSection(40)}>
<div><a href={partner.web}><img src="/partners/{partner.img}" class="partner-img aspect-[16/11] w-full h-full object-contain {partner.padding ? `p-${partner.padding}` : ''}" /></a></div> <div><a href={partner.web}><img src="/partners/{partner.img}" class="partner-img aspect-[16/11] w-full h-full object-contain {partner.padding ? `p-${partner.padding}` : ''}" /></a></div>