From abd5234113640b2b2144255a3006c4a56d50199a Mon Sep 17 00:00:00 2001 From: Sebin Nyshkim Date: Tue, 8 Jul 2025 00:07:15 +0200 Subject: [PATCH 1/2] fix: :bug: wrong base url during build time --- eleventy.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eleventy.config.js b/eleventy.config.js index 800015d..3cb5c6b 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -19,7 +19,7 @@ const IMAGE_TRANSFORM_OPTS = { } }; -const BASE = env.ELEVENTY_PRODUCTION ? 'https://ref.sebin-nyshkim.net' : 'http://localhost:8080'; +const BASE = env.ELEVENTY_PRODUCTION ? 'https://ref-beta.sebin-nyshkim.net' : 'http://localhost:8080'; // source: https://notes.jays.net/blog/11ty/ async function getImage(type, src, key) { From e2200fa1cc5ca82d03cdcc4503474fb33097b9a6 Mon Sep 17 00:00:00 2001 From: Sebin Nyshkim Date: Tue, 8 Jul 2025 00:08:46 +0200 Subject: [PATCH 2/2] fix: :bug: incorrect nesting when run through lightningcss --- src/layouts/character.webc | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/layouts/character.webc b/src/layouts/character.webc index f404b14..5be8bd5 100644 --- a/src/layouts/character.webc +++ b/src/layouts/character.webc @@ -96,28 +96,30 @@ layout: base.webc } } - footer p:first-child { - text-align: center; - - @media (min-width: 35em) { - text-align: start; - } - } - footer p { + --text-align: center; + margin: 0; - text-align: center; + text-align: var(--text-align); @media (min-width: 35em) { margin: revert; } } - footer p:last-child { - text-align: center; + footer p:first-child { + text-align: var(--text-align); @media (min-width: 35em) { - text-align: end; + --text-align: start; + } + } + + footer p:last-child { + text-align: var(--text-align); + + @media (min-width: 35em) { + --text-align: end; } }