Skip to content

Commit

Permalink
feat: 🎸 字体fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Zichun627 committed Jan 3, 2024
1 parent 2ffcdf4 commit 22bdbeb
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 8 deletions.
Binary file added public/fonts/Roboto-Bold.ttf
Binary file not shown.
Binary file added public/fonts/Roboto-BoldItalic.ttf
Binary file not shown.
Binary file added public/fonts/Roboto-Medium.ttf
Binary file not shown.
Binary file added public/fonts/Roboto-MediumItalic.ttf
Binary file not shown.
Binary file added public/fonts/Roboto-Regular.ttf
Binary file not shown.
Binary file added public/fonts/SourceHanSansSC-Bold-Min.ttf
Binary file not shown.
Binary file added public/fonts/SourceHanSansSC-Medium-Min.ttf
Binary file not shown.
Binary file added public/fonts/SourceHanSansSC-Normal-Min.ttf
Binary file not shown.
16 changes: 8 additions & 8 deletions src/style/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,35 @@
font-family: 'Roboto';
font-style: normal;
font-weight: normal;
src: url('https://g.alicdn.com/cm-design/mw-vendor/1.6.11/Roboto-Regular.ttf') format('truetype');
src: url('/fonts/Roboto-Regular.ttf') format('truetype');
}

@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: bold;
src: url('https://g.alicdn.com/cm-design/mw-vendor/1.6.11/Roboto-Bold.ttf') format('truetype');
src: url('/fonts/Roboto-Bold.ttf') format('truetype');
}

@font-face {
font-family: 'Roboto';
font-style: italic;
font-weight: bold;
src: url('https://g.alicdn.com/cm-design/mw-vendor/1.6.11/Roboto-BoldItalic.ttf') format('truetype');
src: url('/fonts/Roboto-BoldItalic.ttf') format('truetype');
}

@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 500;
src: url('https://g.alicdn.com/cm-design/mw-vendor/1.6.11/Roboto-Medium.ttf') format('truetype');
src: url('/fonts/Roboto-Medium.ttf') format('truetype');
}

@font-face {
font-family: 'Roboto';
font-style: italic;
font-weight: 500;
src: url('https://g.alicdn.com/cm-design/mw-vendor/1.6.11/Roboto-MediumItalic.ttf') format('truetype');
src: url('/fonts/Roboto-MediumItalic.ttf') format('truetype');
}


Expand All @@ -39,14 +39,14 @@ src: url('https://g.alicdn.com/cm-design/mw-vendor/1.6.11/Roboto-MediumItalic.tt
font-family: 'SourceHanSans';
font-style: normal;
font-weight: normal;
src: url('https://g.alicdn.com/cm-design/mw-vendor/1.6.11/SourceHanSansSC-Normal-Min.ttf') format('truetype');
src: url('/fonts/SourceHanSansSC-Normal-Min.ttf') format('truetype');
}

@font-face {
font-family: 'SourceHanSans';
font-style: normal;
font-weight: 500;
src: url('https://g.alicdn.com/cm-design/mw-vendor/1.6.11/SourceHanSansSC-Medium-Min.ttf') format('truetype');
src: url('/fonts/SourceHanSansSC-Medium-Min.ttf') format('truetype');
}


Expand All @@ -55,7 +55,7 @@ src: url('https://g.alicdn.com/cm-design/mw-vendor/1.6.11/Roboto-MediumItalic.tt
font-family: 'SourceHanSans';
font-style: normal;
font-weight: bold;
src: url('https://g.alicdn.com/cm-design/mw-vendor/1.6.11/SourceHanSansSC-Bold-Min.ttf') format('truetype');
src: url('/fonts/SourceHanSansSC-Bold-Min.ttf') format('truetype');
}


0 comments on commit 22bdbeb

Please sign in to comment.