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

8
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "coryd.dev",
"version": "19.6.11",
"version": "19.6.13",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "coryd.dev",
"version": "19.6.11",
"version": "19.6.13",
"license": "MIT",
"dependencies": {
"@cdransf/api-text": "^1.4.0",
@ -72,6 +72,7 @@
"resolved": "https://registry.npmjs.org/@11ty/eleventy/-/eleventy-3.0.0-alpha.14.tgz",
"integrity": "sha512-SQGvi/0cSrgyjhTocO8nGpivQbZBXnFlVLp1M3H8xcdvpXYgCVHiEYvrY79TnDd9Nxvj5QtsQuCiselJb3X16g==",
"dev": true,
"license": "MIT",
"dependencies": {
"@11ty/dependency-tree": "^3.0.0",
"@11ty/dependency-tree-esm": "^1.0.0",
@ -849,7 +850,8 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/chardet/-/chardet-2.0.0.tgz",
"integrity": "sha512-xVgPpulCooDjY6zH4m9YW3jbkaBe3FKIAvF5sj5t7aBNsVl2ljIE+xwJ4iNgiDZHFQvNIpjdKdVOQvvk5ZfxbQ==",
"dev": true
"dev": true,
"license": "MIT"
},
"node_modules/chokidar": {
"version": "3.6.0",

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "19.6.11",
"version": "19.6.13",
"description": "The source for my personal site. Built using 11ty.",
"type": "module",
"scripts": {

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"