From a1b29f23dacd16014747c101916d90afafc42378 Mon Sep 17 00:00:00 2001 From: Pyth3rEx Date: Tue, 24 Mar 2026 21:23:10 +0100 Subject: [PATCH 1/2] fix: replace modern CSS syntax incompatible with sass-3.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - rgb(r g b / a%) → rgba(r, g, b, a) on .find-match - @media (width >= N) → @media (min-width: N) on .post-toc --- _sass/custom.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_sass/custom.scss b/_sass/custom.scss index a4fae33..861858d 100644 --- a/_sass/custom.scss +++ b/_sass/custom.scss @@ -572,7 +572,7 @@ summary.series-header { } .find-match { - background: rgb(204 34 0 / 25%); + background: rgba(204, 34, 0, 0.25); color: $text; border-radius: 1px; } @@ -595,7 +595,7 @@ summary.series-header { border-left: 2px solid $bg-border; padding-left: 1rem; - @media (width >= 1200px) { + @media (min-width: 1200px) { display: block; } From 004201097992b9dd2297af3d88d9c5e0c341df05 Mon Sep 17 00:00:00 2001 From: Pyth3rEx Date: Tue, 24 Mar 2026 21:27:14 +0100 Subject: [PATCH 2/2] ci: use ruby/setup-ruby in deploy workflow instead of jekyll-build-pages actions/jekyll-build-pages@v1 bundles sass-3.7.4 which rejects modern CSS color-function and media-feature-range syntax required by stylelint. Switch to ruby/setup-ruby with the project Gemfile (Jekyll 4.3) which ships sass-embedded and handles both correctly. --- .github/workflows/jekyll.yml | 13 +++++++++---- _sass/custom.scss | 4 ++-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index e19eb97..7b03021 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -24,11 +24,16 @@ jobs: - name: Setup Pages uses: actions/configure-pages@v5 - - name: Build with Jekyll - uses: actions/jekyll-build-pages@v1 + - name: Setup Ruby + uses: ruby/setup-ruby@v1 with: - source: ./ - destination: ./_site + ruby-version: "3.3" + bundler-cache: true + + - name: Build with Jekyll + run: bundle exec jekyll build --destination ./_site + env: + JEKYLL_ENV: production - name: Upload artifact uses: actions/upload-pages-artifact@v3 diff --git a/_sass/custom.scss b/_sass/custom.scss index 861858d..a4fae33 100644 --- a/_sass/custom.scss +++ b/_sass/custom.scss @@ -572,7 +572,7 @@ summary.series-header { } .find-match { - background: rgba(204, 34, 0, 0.25); + background: rgb(204 34 0 / 25%); color: $text; border-radius: 1px; } @@ -595,7 +595,7 @@ summary.series-header { border-left: 2px solid $bg-border; padding-left: 1rem; - @media (min-width: 1200px) { + @media (width >= 1200px) { display: block; }