style: 对话中文字体&小象样式

This commit is contained in:
2026-04-01 14:53:26 +08:00
parent 691a8a720d
commit 2bb85db532
5 changed files with 41 additions and 20 deletions

View File

@@ -20,12 +20,13 @@
* General Sans BoldItalic
* General Sans Variable (Variable font)
* General Sans VariableItalic (Variable font)
* Misans-Regular
*
*/
@font-face {
font-family: 'Regular';
src:url('../fonts/GeneralSans-Regular.otf') format('opentype');
src: url('../fonts/GeneralSans-Regular.otf') format('opentype');
font-weight: 400;
font-display: swap;
font-style: normal;
@@ -33,7 +34,7 @@
@font-face {
font-family: 'Medium';
src:url('../fonts/GeneralSans-Medium.otf') format('opentype'),
src: url('../fonts/GeneralSans-Medium.otf') format('opentype'),
url('../fonts/GeneralSans-MediumItalic.otf') format('opentype');
font-weight: 500;
font-display: swap;
@@ -42,7 +43,7 @@
@font-face {
font-family: 'SemiBold';
src:url('../fonts/GeneralSans-Semibold.otf') format('opentype'),
src: url('../fonts/GeneralSans-Semibold.otf') format('opentype'),
url('../fonts/GeneralSans-SemiboldItalic.otf') format('opentype');
font-weight: 600;
font-display: swap;
@@ -51,7 +52,7 @@
@font-face {
font-family: 'Bold';
src:url('../fonts/GeneralSans-Bold.otf') format('opentype'),
src: url('../fonts/GeneralSans-Bold.otf') format('opentype'),
url('../fonts/GeneralSans-BoldItalic.otf') format('opentype');
font-weight: 700;
font-display: swap;
@@ -60,7 +61,7 @@
@font-face {
font-family: 'Migra-Extrabold';
src:url('../fonts/Migra-Extrabold.otf') format('opentype'),
src: url('../fonts/Migra-Extrabold.otf') format('opentype'),
url('../fonts/Migra-Extrabold.ttf') format('truetype'),
url('../fonts/Migra-Extrabold.woff') format('woff'),
url('../fonts/Migra-Extrabold.woff2') format('woff2');
@@ -71,7 +72,7 @@
@font-face {
font-family: 'LBold';
src:url('../fonts/MazzardL-Bold.otf') format('opentype');
src: url('../fonts/MazzardL-Bold.otf') format('opentype');
font-weight: 700;
font-display: swap;
font-style: normal;
@@ -79,15 +80,22 @@
@font-face {
font-family: 'MBold';
src:url('../fonts/MazzardM-Bold.otf') format('opentype');
src: url('../fonts/MazzardM-Bold.otf') format('opentype');
font-weight: 700;
font-display: swap;
font-style: normal;
}
@font-face {
font-family: 'MSemiBold';
src:url('../fonts/MazzardL-SemiBold.otf') format('opentype');
src: url('../fonts/MazzardL-SemiBold.otf') format('opentype');
font-weight: 700;
font-display: swap;
font-style: normal;
}
}
@font-face {
font-family: 'MisansRegular';
src: url('../fonts/MiSans-Regular.ttf') format('truetype');
font-style: normal;
font-weight: 330;
}