From: Mark Otto Date: Tue, 14 Jul 2026 19:16:47 +0000 (-0700) Subject: v6: Simple homepage (#42672) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7fa0280e5561fa39d40745b7199f74b9abc4bb84;p=thirdparty%2Fbootstrap.git v6: Simple homepage (#42672) * New, simpler homepage for v6 * comment out for now * linter --- diff --git a/package.json b/package.json index e3a6a81166..bb37e06bbc 100644 --- a/package.json +++ b/package.json @@ -113,9 +113,9 @@ "watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm-run-all js-lint js-compile\"", "watch-js-docs": "nodemon --watch site/src/assets/ --ext js --exec \"npm run js-lint\"", "astro-clean": "rm -rf site/.astro site/node_modules/.astro", - "astro-dev": "astro dev --root site", + "astro-dev": "astro dev --root site --port ${PORT:-9001}", "astro-build": "astro build --root site && rm -rf _site && cp -r site/dist _site && pagefind --site _site", - "astro-preview": "astro preview --root site", + "astro-preview": "astro preview --root site --port 9001", "spellcheck": "cspell --config .cspell.json \"**/*.{md,mdx}\"" }, "peerDependencies": { diff --git a/scss/_badge.scss b/scss/_badge.scss index 7fdb38d885..97af8926ec 100644 --- a/scss/_badge.scss +++ b/scss/_badge.scss @@ -4,8 +4,9 @@ $badge-tokens: () !default; +// stylelint-disable custom-property-no-missing-var-function, scss/dollar-variable-default + // scss-docs-start badge-tokens -// stylelint-disable-next-line scss/dollar-variable-default $badge-tokens: defaults( ( --badge-padding-x: .625em, @@ -37,6 +38,8 @@ $badge-variants: ( ) !default; // scss-docs-end badge-variants +// stylelint-enable custom-property-no-missing-var-function, scss/dollar-variable-default + @layer components { .badge { @include tokens($badge-tokens); @@ -64,6 +67,11 @@ $badge-variants: ( } } + // stylelint-disable-next-line selector-no-qualifying-type + a.badge { + text-decoration: none; + } + // Quick fix for badges in buttons .btn .badge { position: relative; @@ -87,4 +95,9 @@ $badge-variants: ( } } // scss-docs-end badge-variant-loop + + .badge-lg { + --badge-padding-x: 1rem; + --badge-padding-y: .5rem; + } } diff --git a/scss/_config.scss b/scss/_config.scss index 580f0cc131..835db32721 100644 --- a/scss/_config.scss +++ b/scss/_config.scss @@ -269,7 +269,7 @@ $font-sizes: defaults( "line-height": 1.5 ), "lg": ( - "font-size": clamp(1.25rem, 1rem + .625vw, 1.5rem), + "font-size": clamp(1.125rem, 1rem + .625vw, 1.25rem), "line-height": 1.5 ), "xl": ( diff --git a/scss/content/_prose.scss b/scss/content/_prose.scss index 0408e9baaa..a144b17a9f 100644 --- a/scss/content/_prose.scss +++ b/scss/content/_prose.scss @@ -103,6 +103,7 @@ $prose-tokens: defaults( @include transition(.1s text-decoration-color ease-in-out); &:hover { + color: var(--link-hover-color); text-decoration-color: var(--link-hover-color); } } diff --git a/site/src/components/footer/Footer.astro b/site/src/components/footer/Footer.astro index 7040d8363c..57436c4c5c 100644 --- a/site/src/components/footer/Footer.astro +++ b/site/src/components/footer/Footer.astro @@ -4,17 +4,13 @@ import { getConfig } from '@libs/config' import { getVersionedDocsPath } from '@libs/path' --- -