chore: simplify grid styles
This commit is contained in:
parent
4bba71062f
commit
1223229db2
2 changed files with 1 additions and 4 deletions
|
@ -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>
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue