swaps card click
This commit is contained in:
parent
4d4e5e3411
commit
c135fe6601
3 changed files with 2 additions and 6 deletions
|
|
@ -18,7 +18,7 @@ layout: base
|
||||||
<ul class="grid mt-l-xl" role="list" data-rows="masonry" data-layout="50-50">
|
<ul class="grid mt-l-xl" role="list" data-rows="masonry" data-layout="50-50">
|
||||||
{% set postslist = collections.posts %} {% for post in postslist %}
|
{% set postslist = collections.posts %} {% for post in postslist %}
|
||||||
|
|
||||||
<li class="card flow clickable-card overflow-hidden">
|
<li class="card flow overflow-hidden">
|
||||||
<h2>
|
<h2>
|
||||||
<a href="{{ post.url | url }}">{{ post.data.title }}</a>
|
<a href="{{ post.url | url }}">{{ post.data.title }}</a>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ layout: base
|
||||||
<ul class="wrapper grid mt-l-xl" role="list" data-rows="masonry" data-layout="50-50">
|
<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) %}
|
{% 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>
|
<h3>
|
||||||
<a href="{{ post.url | url }}">{{ post.data.title }}</a>
|
<a href="{{ post.url | url }}">{{ post.data.title }}</a>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
|
||||||
|
|
@ -21,10 +21,6 @@
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card time {
|
|
||||||
opacity: 0.8;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card:hover,
|
.card:hover,
|
||||||
.card:focus-within {
|
.card:focus-within {
|
||||||
border: 4px solid var(--color-primary);
|
border: 4px solid var(--color-primary);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue