添加字体支持

This commit is contained in:
2026-03-27 12:18:30 +08:00
parent b3bc2967a8
commit b4298602bf
3 changed files with 140 additions and 14 deletions

View File

@ -18,20 +18,7 @@ const { title = '小帕的小窝' } = Astro.props
<style>
.main {
font-family:
'HarmonyOS Sans SC',
'Noto Sans SC',
system-ui,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Roboto,
Oxygen,
Ubuntu,
Cantarell,
'Open Sans',
'Helvetica Neue',
sans-serif;
font-family: var(--font-sans);
display: flex;
justify-content: center;
align-items: center;