-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
85 lines (78 loc) · 3.27 KB
/
style.css
File metadata and controls
85 lines (78 loc) · 3.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/* 基础字体 */
@font-face {
font-family: "HarmonyOS Sans";
src: url('../plugins/siyuan-ttf-HarmonyOS_Sans_SC-and-Twemoji/HarmonyOS_Sans/HarmonyOS_Sans/HarmonyOS_Sans_Regular.woff') format('woff');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "HarmonyOS Sans";
src: url('../plugins/siyuan-ttf-HarmonyOS_Sans_SC-and-Twemoji/HarmonyOS_Sans/HarmonyOS_Sans/HarmonyOS_Sans_Bold.woff') format('woff');
font-weight: 700;
font-style: normal;
font-display: swap;
}
/* 基础斜体 */
@font-face {
font-family: "HarmonyOS Sans";
src: url('../plugins/siyuan-ttf-HarmonyOS_Sans_SC-and-Twemoji/HarmonyOS_Sans/HarmonyOS_Sans_Italic/HarmonyOS_SansItalic_Regular.woff') format('woff');
font-weight: 400;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "HarmonyOS Sans";
src: url('../plugins/siyuan-ttf-HarmonyOS_Sans_SC-and-Twemoji/HarmonyOS_Sans/HarmonyOS_Sans_Italic/HarmonyOS_SansItalic_Bold.woff') format('woff');
font-weight: 700;
font-style: italic;
font-display: swap;
}
/* 简体中文 */
@font-face {
font-family: 'HarmonyOS Sans SC';
src: url('../plugins/siyuan-ttf-HarmonyOS_Sans_SC-and-Twemoji/HarmonyOS_Sans/HarmonyOS_SansSC/HarmonyOS_SansSC_Regular.woff') format('woff');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'HarmonyOS Sans SC';
src: url('../plugins/siyuan-ttf-HarmonyOS_Sans_SC-and-Twemoji/HarmonyOS_Sans/HarmonyOS_SansSC/HarmonyOS_SansSC_Bold.woff') format('woff');
font-weight: 700;
font-style: normal;
font-display: swap;
}
/* 阿拉伯语 */
@font-face {
font-family: 'HarmonyOS Sans Naskh Arabic';
src: url('../plugins/siyuan-ttf-HarmonyOS_Sans_SC-and-Twemoji/HarmonyOS_Sans/HarmonyOS_Sans_Naskh_Arabic/HarmonyOS_Sans_Naskh_Arabic_Regular.woff') format('woff');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'HarmonyOS Sans Naskh Arabic';
src: url('../plugins/siyuan-ttf-HarmonyOS_Sans_SC-and-Twemoji/HarmonyOS_Sans/HarmonyOS_Sans_Naskh_Arabic/HarmonyOS_Sans_Naskh_Arabic_Bold.woff') format('woff');
font-weight: 700;
font-style: normal;
font-display: swap;
}
/* Twemoji */
@font-face {
font-family: "Twemoji";
src: url("../plugins/siyuan-ttf-HarmonyOS_Sans_SC-and-Twemoji/Twemoji/Twemoji-16.0.1.ttf") format("truetype");
font-weight: 400;
font-style: normal;
font-display: swap;
}
:root {
--b3-font-family: "HarmonyOS Sans", "HarmonyOS Sans SC", "HarmonyOS Sans Naskh Arabic", "Twemoji", "Emojis Additional", "Emojis Reset", BlinkMacSystemFont, Helvetica, "Luxi Sans", "DejaVu Sans", arial, sans-serif, emojis !important;
--b3-font-family-emoji: "Twemoji", "Emojis Additional", emojis !important;
}
:root:lang(zh_CN) {
--b3-font-family: "HarmonyOS Sans", "HarmonyOS Sans SC", "HarmonyOS Sans Naskh Arabic", "Twemoji", "Emojis Additional", "Emojis Reset", BlinkMacSystemFont, Helvetica, "PingFang SC", "Luxi Sans", "DejaVu Sans", arial, "Microsoft Yahei", "Hiragino Sans GB", "Source Han Sans SC", sans-serif, emojis !important;
}
:root:lang(ar_SA) {
--b3-font-family: "HarmonyOS Sans", "HarmonyOS Sans Naskh Arabic", "HarmonyOS Sans SC", "Twemoji", "Emojis Additional", "Emojis Reset", BlinkMacSystemFont, Helvetica, "Luxi Sans", "DejaVu Sans", arial, sans-serif, emojis !important;
}