Skip to content

Commit 546f56a

Browse files
committed
chore: Update boostlook.css from boostlook repository
1 parent 5400e79 commit 546f56a

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

static/css/boostlook.css

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -725,8 +725,9 @@ html:has(.boostlook) {
725725
font-stretch: 62.5% 100%;
726726
/* Variable font weight range */
727727
font-variation-settings: "wght" 400, "wdth" 62.5;
728-
font-display: swap;
729-
src: url("/static/font/notosans.woff2") format("woff2"),
728+
font-display: block;
729+
src: url("../font/NotoSansDisplay.ttf") format("truetype"),
730+
url("/static/font/notosans.woff2") format("woff2"),
730731
url("../../../../tools/boostlook/notosans.woff2") format("woff2"),
731732
url("https://cppalliance.org/fonts/NotoSansDisplay.ttf") format("truetype");
732733
/* Metric overrides to reduce CLS on swap */
@@ -744,8 +745,9 @@ html:has(.boostlook) {
744745
font-stretch: 62.5% 100%;
745746
/* Variable font weight range */
746747
font-variation-settings: "wght" 400, "wdth" 62.5;
747-
font-display: swap;
748-
src: url("/static/font/notosans_ext.woff2") format("woff2"),
748+
font-display: block;
749+
src: url("../font/NotoSansDisplay-Italic.ttf") format("truetype"),
750+
url("/static/font/notosans_ext.woff2") format("woff2"),
749751
url("../../../../tools/boostlook/notosans_ext.woff2") format("woff2"),
750752
url("https://cppalliance.org/fonts/NotoSansDisplay-Italic.ttf") format("truetype");
751753
/* Metric overrides to reduce CLS on swap */
@@ -763,8 +765,9 @@ html:has(.boostlook) {
763765
font-stretch: 62.5% 100%;
764766
/* Variable font weight range */
765767
font-variation-settings: "wght" 400, "wdth" 62.5;
766-
font-display: swap;
767-
src: url("/static/font/notosans_mono.woff") format("woff"),
768+
font-display: block;
769+
src: url("../font/NotoSansMono.ttf") format("truetype"),
770+
url("/static/font/notosans_mono.woff") format("woff"),
768771
url("../../../../tools/boostlook/notosans_mono.woff") format("woff"),
769772
url("https://cppalliance.org/fonts/NotoSansMono.ttf") format("truetype");
770773
/* Metric overrides to reduce CLS on swap */
@@ -781,8 +784,9 @@ html:has(.boostlook) {
781784
font-weight: 400;
782785
/* Fixed weight for specific use cases */
783786
font-stretch: 62.5% 100%;
784-
font-display: swap;
785-
src: url("/static/font/notosans_mono.woff") format("woff"),
787+
font-display: block;
788+
src: url("../font/NotoSansMono.ttf") format("truetype"),
789+
url("/static/font/notosans_mono.woff") format("woff"),
786790
url("../../../../tools/boostlook/notosans_mono.woff") format("woff"),
787791
url("https://cppalliance.org/fonts/NotoSansMono.ttf") format("truetype");
788792
/* Metric overrides to reduce CLS on swap */

0 commit comments

Comments
 (0)