fix(watching.css): remove top margin from image banners adjacent to back links for watching focus pages

This commit is contained in:
Cory Dransfeldt 2025-04-06 17:45:11 -07:00
parent 353136b94e
commit 6f74e6d158
No known key found for this signature in database
5 changed files with 9 additions and 5 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "coryd.dev",
"version": "1.2.14",
"version": "1.2.15",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "coryd.dev",
"version": "1.2.14",
"version": "1.2.15",
"license": "MIT",
"dependencies": {
"minisearch": "^7.1.2",

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "1.2.14",
"version": "1.2.15",
"description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module",
"engines": {

View file

@ -26,3 +26,7 @@
}
}
}
.back-link + .watching-focus img {
margin-top: 0;
}

View file

@ -4,7 +4,7 @@ type: dynamic
schema: movie
---
<a class="back-link" href="/watching" title="Go back to the watching index page">{% tablericon "arrow-left" %} Back to watching</a>
<article class="movie-focus">
<article class="watching-focus">
<img
srcset="
{{ globals.cdn_url }}<?= htmlspecialchars($movie["backdrop"]) ?>?class=bannersm&type=webp 256w,

View file

@ -4,7 +4,7 @@ type: dynamic
schema: show
---
<a class="back-link" href="/watching" title="Go back to the watching index page">{% tablericon "arrow-left" %} Back to watching</a>
<article class="watching focus">
<article class="watching-focus">
<img
srcset="
{{ globals.cdn_url }}<?= htmlspecialchars($show["backdrop"]) ?>?class=bannersm&type=webp 256w,