swaps card click

This commit is contained in:
madrilene 2023-01-26 13:39:38 +01:00
parent 4d4e5e3411
commit c135fe6601
3 changed files with 2 additions and 6 deletions

View file

@ -18,7 +18,7 @@ layout: base
<ul class="grid mt-l-xl" role="list" data-rows="masonry" data-layout="50-50">
{% set postslist = collections.posts %} {% for post in postslist %}
<li class="card flow clickable-card overflow-hidden">
<li class="card flow overflow-hidden">
<h2>
<a href="{{ post.url | url }}">{{ post.data.title }}</a>
</h2>

View file

@ -30,7 +30,7 @@ layout: base
<ul class="wrapper grid mt-l-xl" role="list" data-rows="masonry" data-layout="50-50">
{% set postslist = collections.posts %} {% for post in postslist.slice(0, 4) %}
<li class="card flow clickable-card overflow-hidden">
<li class="card flow overflow-hidden">
<h3>
<a href="{{ post.url | url }}">{{ post.data.title }}</a>
</h3>

View file

@ -21,10 +21,6 @@
text-decoration: none;
}
.card time {
opacity: 0.8;
}
.card:hover,
.card:focus-within {
border: 4px solid var(--color-primary);