chore: simplify grid styles

This commit is contained in:
Cory Dransfeldt 2024-02-05 14:44:28 -08:00
parent 4bba71062f
commit 1223229db2
No known key found for this signature in database
2 changed files with 1 additions and 4 deletions

View file

@ -16,7 +16,7 @@
{% assign alt = item.alt | strip %}
<a href="{{ item.url | stripUtm }}" title="{{ alt | escape }}">
<div class="item__wrapper">
<div class="item__cover{% if item.subtext %} gradient{% endif %}"></div>
{% if item.subtext %}<div class="item__cover"></div>{% endif %}
<div class="item__meta-text">
{% if item.title %}
<div class="header">{{ item.title }}</div>

View file

@ -64,9 +64,6 @@
width: 100%;
height: 100%;
border-radius: var(--rounded-sm);
}
.media__grid .item__cover.gradient {
background-image: linear-gradient(180deg,transparent 0,rgba(0,0,0,.15) 70%,rgba(0,0,0,.75));
}