feat: 更多的字体

This commit is contained in:
2024-04-05 07:14:35 +08:00
parent c5d2c040fe
commit edc0a16cad
4 changed files with 26 additions and 19 deletions

View File

@ -1,15 +1,33 @@
/*MiSans*/
@font-face {
font-family: 'MiSans';
src: url('../fonts/MiSans/MiSans-Light.woff2') format('truetype');
font-weight: 200;
}
@font-face {
font-family: 'MiSans';
src: url('../fonts/MiSans/MiSans-Normal.woff2') format('truetype');
font-weight: normal;
font-weight: 400;
}
@font-face {
font-family: 'MiSans';
src: url('../fonts/MiSans/MiSans-Semibold.woff2') format('truetype');
font-weight: 500;
}
@font-face {
font-family: 'MiSans';
src: url('../fonts/MiSans/MiSans-Bold.woff2') format('truetype');
font-weight: bold;
font-weight: 700;
}
@font-face {
font-family: 'MiSans';
src: url('../fonts/MiSans/MiSans-Heavy.woff2') format('truetype');
font-weight: 900;
}
/*MapleMono*/
@ -51,4 +69,8 @@
src: url('../fonts/MapleMono/MapleMono-BoldItalic.woff2') format('truetype');
font-weight: 700;
font-style: italic;
}
body {
font-family: 'MapleMono', 'MiSans', sans-serif;
}