Update to Eleventy v3 #11

Merged
wonderfulfrog merged 56 commits from feat/11ty-v3 into main 2025-01-27 18:23:38 -08:00
3 changed files with 10 additions and 2 deletions
Showing only changes of commit 636a0f04ea - Show all commits

View file

@ -1,10 +1,13 @@
.media-image {
--aspect-ratio: 0.8;
border: 1px solid var(--color-shadow);
border-radius: var(--spacing-0\.5);
overflow: hidden;
source,
img {
aspect-ratio: var(--aspect-ratio);
border: 1px solid var(--color-shadow);
height: auto;
object-fit: cover;
}

View file

@ -140,6 +140,8 @@ picture {
flex-direction: column;
align-items: center;
margin-inline: 0;
border-radius: var(--spacing-0\.5);
overflow: hidden;
}
figure figcaption {
@ -152,7 +154,6 @@ figure figcaption {
picture source,
picture img {
border-radius: var(--spacing-0\.5);
height: auto;
}

View file

@ -1,7 +1,11 @@
.image-shrink {
max-width: 50%;
border-radius: var(--spacing-0\.5);
overflow: hidden;
}
.image-tiny {
max-width: 25%;
border-radius: var(--spacing-0\.5);
overflow: hidden;
}