This commit is contained in:
Cory Dransfeldt 2024-06-27 14:04:24 -07:00
commit 656b9000d9
4 changed files with 14 additions and 7 deletions

View file

@ -18,7 +18,11 @@
overflow: hidden;
aspect-ratio: var(--aspect-ratio-banner);
div.meta-text {
& img {
aspect-ratio: var(--aspect-ratio-banner);
}
& div.meta-text {
color: white;
position: absolute;
left: var(--sizing-sm);
@ -48,11 +52,11 @@
position: absolute;
z-index: 1;
content: '';
bottom: 0;
bottom: 1px;
left: 1px;
box-shadow: inset 0 -70px 75px -40px #000;
width: calc(100% - 2px);
height: 100%;
height: calc(100% - 1px);
}
}

View file

@ -19,6 +19,7 @@ image: https://cdn.coryd.dev/assets/404.jpg
src="https://cdn.coryd.dev/assets/404.jpg?aspect_ratio=1:.5625&width=2048"
alt="{{ alt }}"
class="image-banner"
style="aspect-ratio:1/0.5625"
loading="eager"
decoding="async"
width="768"