chore: styles

This commit is contained in:
Cory Dransfeldt 2024-09-17 19:50:07 -07:00
parent bfbeba9916
commit 04622dbce7
No known key found for this signature in database
7 changed files with 50 additions and 48 deletions

View file

@ -3,19 +3,21 @@
{%- capture alt -%}{{ item.title | escape }} by {{ item.artist }}{%- endcapture -%}
<div class="item">
<div class="meta">
<img
srcset="
https://cdn.coryd.dev{{ item.image }}?class=w50&type=webp 50w,
https://cdn.coryd.dev{{ item.image }}?class=w100&type=webp 100w
"
sizes="(max-width: 450px) 50px, 100px"
src="https://cdn.coryd.dev{{ item.image }}?class=w50&type=webp"
alt="{{ alt }}"
loading="lazy"
decoding="async"
width="64"
height="64"
/>
<a href="{{ item.url }}">
<img
srcset="
https://cdn.coryd.dev{{ item.image }}?class=w50&type=webp 50w,
https://cdn.coryd.dev{{ item.image }}?class=w100&type=webp 100w
"
sizes="(max-width: 450px) 50px, 100px"
src="https://cdn.coryd.dev{{ item.image }}?class=w50&type=webp"
alt="{{ alt }}"
loading="lazy"
decoding="async"
width="64"
height="64"
/>
</a>
<div class="meta-text">
<div class="title">
<a href="{{ item.url }}">{{ item.title }}</a>