Skip to content

Commit 0c0c322

Browse files
Ketan-Karkifarhaanbukhsh
authored andcommitted
fix: adjust cube hover effects and improve layout
1 parent a58e8d6 commit 0c0c322

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/_includes/landing/keynotes.njk

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,32 @@
44
<div class="black-han-sans-regular md:justify-center md:text-center pt-28 pb-8 md:pt-24 font-normal text-4xl lg:text-5xl text-[#000000] text-center lg:text-left">
55
Key Note Speakers
66
</div>
7-
<div class="lg:flex xl:flex lg:scale-[0.80] xl:scale-100 pt-36 lg:pl-2 mb-3 xl:pl-12 hidden md:hidden">
8-
<div class="group relative motion-safe:transform motion-safe:translate-y-0 motion-safe:hover:-translate-y-24 transition duration-700 ease-in-out" data-cube="1">
7+
<div class="lg:flex xl:flex lg:scale-[0.80] xl:scale-100 pt-36 lg:pl-2 xl:pl-12 hidden md:hidden">
8+
<div class="group relative motion-safe:transform motion-safe:translate-y-0 motion-safe:hover:translate-y-24 transition duration-700 ease-in-out" data-cube="1">
99
{% call cube(dimen=200, bg="purple") -%}
1010
<div class="flex items-center justify-center w-full h-full">
1111
<img src="{{ env.baseUrl }}img/logo.png" alt="PyCon India Logo" class="w-3/4 h-3/4 object-contain">
1212
</div>
1313
{%- endcall %}
1414
<p>Announcing Soon!</p>
1515
</div>
16-
<div class="group relative motion-safe:transform motion-safe:hover:translate-y-44 transition duration-700 ease-in-out motion-safe:translate-y-20 translate-x-0 ml-7 z-10" data-cube="2">
16+
<div class="group relative motion-safe:transform motion-safe:hover:-translate-y-12 transition duration-700 ease-in-out motion-safe:translate-y-20 translate-x-0 ml-7 z-10" data-cube="2">
1717
{% call cube(dimen=200, bg="lime") -%}
1818
<div class="flex items-center justify-center w-full h-full">
1919
<img src="{{ env.baseUrl }}img/logo.png" alt="PyCon India Logo" class="w-3/4 h-3/4 object-contain">
2020
</div>
2121
{%- endcall %}
2222
<p>Announcing Soon!</p>
2323
</div>
24-
<div class="group relative motion-safe:transform motion-safe:translate-y-0 motion-safe:hover:-translate-y-12 transition duration-700 ease-in-out ml-7" data-cube="3">
24+
<div class="group relative motion-safe:transform motion-safe:translate-y-0 motion-safe:hover:translate-y-12 transition duration-700 ease-in-out ml-7" data-cube="3">
2525
{% call cube(dimen=200, bg="purple") -%}
2626
<div class="flex items-center justify-center w-full h-full">
2727
<img src="{{ env.baseUrl }}img/logo.png" alt="PyCon India Logo" class="w-3/4 h-3/4 object-contain">
2828
</div>
2929
{%- endcall %}
3030
<p>Announcing Soon!</p>
3131
</div>
32-
<div class="group relative motion-safe:transform motion-safe:hover:translate-y-44 transition duration-700 ease-in-out motion-safe:translate-y-20 ml-7" data-cube="4">
32+
<div class="group relative motion-safe:transform motion-safe:hover:-translate-y-12 transition duration-700 ease-in-out motion-safe:translate-y-20 ml-7" data-cube="4">
3333
{% call cube(dimen=200, bg="lime") -%}
3434
<div class="flex items-center justify-center w-full h-full">
3535
<img src="{{ env.baseUrl }}img/logo.png" alt="PyCon India Logo" class="w-3/4 h-3/4 object-contain">

0 commit comments

Comments
 (0)