mirror of
https://github.com/vacp2p/vac.dev-experimental-old.git
synced 2025-01-12 06:44:48 +00:00
Change media hover
This commit is contained in:
parent
ebd1a94bdc
commit
8450bf2c70
@ -47,10 +47,12 @@ layout: default
|
|||||||
"
|
"
|
||||||
>
|
>
|
||||||
{% for mediapost in site.data.media %}
|
{% for mediapost in site.data.media %}
|
||||||
<div class="media__card flex flex-col w-full sl:max-w-48 mb-5 sm:mb-0">
|
<div
|
||||||
|
class="media__card flex flex-col w-full sl:max-w-48 mb-5 sm:mb-0 group"
|
||||||
|
>
|
||||||
<img
|
<img
|
||||||
src="{{ mediapost.image }}"
|
src="{{ mediapost.image }}"
|
||||||
class="w-full mb-2"
|
class="w-full mb-2 group-hover:opacity-30"
|
||||||
alt="Media preview image"
|
alt="Media preview image"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
@ -59,7 +61,7 @@ layout: default
|
|||||||
>{{ mediapost.date | date: '%B %d, %Y' }}</time
|
>{{ mediapost.date | date: '%B %d, %Y' }}</time
|
||||||
><a
|
><a
|
||||||
href="{{ mediapost.link }}"
|
href="{{ mediapost.link }}"
|
||||||
class="text-xs lg:text-base font-semibold hover:underline"
|
class="text-xs lg:text-base font-semibold group-hover:underline"
|
||||||
>{{ mediapost.title }}</a
|
>{{ mediapost.title }}</a
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user