2025 Design Refresh #5

Merged
wonderfulfrog merged 3 commits from feat/design-refresh-2025 into main 2025-05-30 13:40:43 -07:00
2 changed files with 11 additions and 12 deletions
Showing only changes of commit 93a560da12 - Show all commits

View file

@ -7,26 +7,25 @@
grid-gap: var(--spacing-2);
li {
border: 1px solid var(--color-shadow);
overflow: hidden;
aspect-ratio: var(--aspect-ratio);
display: grid;
position: relative;
overflow: hidden;
a {
display: block;
color: var(--color-white);
picture {
border-radius: 0;
height: 100%;
border-radius: 0;
}
img {
aspect-ratio: var(--aspect-ratio);
border-radius: 0;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}
}
.text-only {
aspect-ratio: var(--aspect-ratio);

View file

@ -7,7 +7,7 @@
.wrapper {
container-type: inline-size;
width: 90vw;
width: clamp(16rem, 90vw, 80ch);
width: clamp(16rem, 90vw, 72ch);
margin-left: auto;
margin-right: auto;
padding-left: 0.5rem;