From: Mark Otto Date: Mon, 14 Apr 2025 16:59:34 +0000 (-0700) Subject: Tweak docs layout and font-sizes, try out Inter X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d30d9bfd96dfaec4551709a98012f24795796d2b;p=thirdparty%2Fbootstrap.git Tweak docs layout and font-sizes, try out Inter --- diff --git a/scss/_root.scss b/scss/_root.scss index 99f2969973..4ea0235a27 100644 --- a/scss/_root.scss +++ b/scss/_root.scss @@ -39,6 +39,7 @@ // Note: Custom variable values only support SassScript inside `#{}`. // Fonts + font-feature-settings: "liga" 1, "calt" 1; /* fix for Chrome */ // Note: Use `inspect` for lists so that quoted items keep the quotes. // See https://github.com/sass/sass/issues/2383#issuecomment-336349172 @@ -51,7 +52,7 @@ @if $font-size-root != null { --#{$prefix}root-font-size: #{$font-size-root}; } - --#{$prefix}body-font-family: #{inspect($font-family-base)}; + --#{$prefix}body-font-family: Inter, #{inspect($font-family-base)}; @include rfs($font-size-base, --#{$prefix}body-font-size); --#{$prefix}body-font-weight: #{$font-weight-base}; --#{$prefix}body-line-height: #{$line-height-base}; diff --git a/site/src/components/DocsSidebar.astro b/site/src/components/DocsSidebar.astro index c36ea79bc8..1cbc0f6507 100644 --- a/site/src/components/DocsSidebar.astro +++ b/site/src/components/DocsSidebar.astro @@ -28,7 +28,7 @@ const sidebar = getData('sidebar') )} */} {group.title} -