Update Project view cards

This commit is contained in:
Timothée Goguely 2024-09-17 18:08:41 +02:00
parent 93642fb9b2
commit 36146497ec
2 changed files with 137 additions and 28 deletions

View file

@ -15,15 +15,21 @@
color: currentColor;
}
.card__meta {
font-size: var(--text-sm);
margin-bottom: var(--space-16);
}
.card__images {
position: relative;
width: 100%;
border: 4px solid var(--color-grey-50);
border-radius: var(--rounded-2xl);
overflow: hidden;
margin: var(--space-16) 0;
margin-bottom: var(--space-16);
max-height: 13.75rem; /* 220px */
}
.card__images::after {
.card__images[data-count]::after {
content: '+'attr(data-count);
position: absolute;
bottom: var(--space-8);