From 9785731f25a61bb9dc3ae15c88ffcfc30811e4d8 Mon Sep 17 00:00:00 2001 From: bietiaop <1527109126@qq.com> Date: Sat, 25 Jan 2025 10:50:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AD=97=E4=BD=93=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- napcat.webui/src/styles/fonts.css | 32 +++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/napcat.webui/src/styles/fonts.css b/napcat.webui/src/styles/fonts.css index 469dee46..a0acd9c1 100644 --- a/napcat.webui/src/styles/fonts.css +++ b/napcat.webui/src/styles/fonts.css @@ -1,14 +1,14 @@ /* HarmonyOS Sans SC */ @font-face { font-family: 'Harmony'; - src: url('/fonts/harmony/HarmonyOS_Sans_SC_Bold.ttf') format('truetype'); + src: url('/webui/fonts/harmony/HarmonyOS_Sans_SC_Bold.ttf') format('truetype'); font-weight: bold; font-style: normal; } @font-face { font-family: 'Harmony'; - src: url('/fonts/harmony/HarmonyOS_Sans_SC_Regular.ttf') format('truetype'); + src: url('/webui/fonts/harmony/HarmonyOS_Sans_SC_Regular.ttf') format('truetype'); font-weight: normal; font-style: normal; } @@ -16,56 +16,56 @@ /* Ubuntu */ @font-face { font-family: 'Ubuntu'; - src: url('/fonts/ubuntu/Ubuntu-Bold.ttf') format('truetype'); + src: url('/webui/fonts/ubuntu/Ubuntu-Bold.ttf') format('truetype'); font-weight: bold; font-style: normal; } @font-face { font-family: 'Ubuntu'; - src: url('/fonts/ubuntu/Ubuntu-Regular.ttf') format('truetype'); + src: url('/webui/fonts/ubuntu/Ubuntu-Regular.ttf') format('truetype'); font-weight: normal; font-style: normal; } @font-face { font-family: 'Ubuntu'; - src: url('/fonts/ubuntu/Ubuntu-Light.ttf') format('truetype'); + src: url('/webui/fonts/ubuntu/Ubuntu-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; } @font-face { font-family: 'Ubuntu'; - src: url('/fonts/ubuntu/Ubuntu-BoldItalic.ttf') format('truetype'); + src: url('/webui/fonts/ubuntu/Ubuntu-BoldItalic.ttf') format('truetype'); font-weight: bold; font-style: italic; } @font-face { font-family: 'Ubuntu'; - src: url('/fonts/ubuntu/Ubuntu-Italic.ttf') format('truetype'); + src: url('/webui/fonts/ubuntu/Ubuntu-Italic.ttf') format('truetype'); font-weight: normal; font-style: italic; } @font-face { font-family: 'Ubuntu'; - src: url('/fonts/ubuntu/Ubuntu-LightItalic.ttf') format('truetype'); + src: url('/webui/fonts/ubuntu/Ubuntu-LightItalic.ttf') format('truetype'); font-weight: 300; font-style: italic; } @font-face { font-family: 'Ubuntu'; - src: url('/fonts/pingfang/Ubuntu-Medium.ttf') format('truetype'); + src: url('/webui/fonts/ubuntu/Ubuntu-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; } @font-face { font-family: 'Ubuntu'; - src: url('/fonts/pingfang/Ubuntu-MediumItalic.ttf') format('truetype'); + src: url('/webui/fonts/ubuntu/Ubuntu-MediumItalic.ttf') format('truetype'); font-weight: 500; font-style: italic; } @@ -73,21 +73,21 @@ /* LibreBaskerville */ @font-face { font-family: 'Libre Baskerville'; - src: url('/fonts/LibreBaskerville/LibreBaskerville-Bold.ttf') format('truetype'); + src: url('/webui/fonts/LibreBaskerville/LibreBaskerville-Bold.ttf') format('truetype'); font-weight: bold; font-style: normal; } @font-face { font-family: 'Libre Baskerville'; - src: url('/fonts/LibreBaskerville/LibreBaskerville-Regular.ttf') format('truetype'); + src: url('/webui/fonts/LibreBaskerville/LibreBaskerville-Regular.ttf') format('truetype'); font-weight: normal; font-style: normal; } @font-face { font-family: 'Libre Baskerville'; - src: url('/fonts/LibreBaskerville/LibreBaskerville-Italic.ttf') format('truetype'); + src: url('/webui/fonts/LibreBaskerville/LibreBaskerville-Italic.ttf') format('truetype'); font-weight: normal; font-style: italic; } @@ -95,17 +95,17 @@ /* NotoSerifSC */ @font-face { font-family: 'Noto Serif SC'; - src: url('/fonts/NotoSerifSC-VariableFont_wght.ttf') format('truetype'); + src: url('/webui/fonts/NotoSerifSC-VariableFont_wght.ttf') format('truetype'); } /* Outfit */ @font-face { font-family: 'Outfit'; - src: url('/fonts/Outfit-VariableFont_wght.ttf') format('truetype'); + src: url('/webui/fonts/Outfit-VariableFont_wght.ttf') format('truetype'); } /* FiraCode */ @font-face { font-family: 'Fira Code'; - src: url('/fonts/FiraCode-VariablFont_wght.ttf') format('truetype'); + src: url('/webui/fonts/FiraCode-VariablFont_wght.ttf') format('truetype'); }