Browse Source

add chinese font family

Change-Id: I0820dbe78552ddf50dde776ea19b207ef3a7ecaf
wangtianqi 4 years ago
parent
commit
745db1558d
2 changed files with 5 additions and 1 deletions
  1. 4 0
      threejs/lessons/zh_cn/lang.css
  2. 1 1
      threejs/lessons/zh_cn/langinfo.hanson

+ 4 - 0
threejs/lessons/zh_cn/lang.css

@@ -0,0 +1,4 @@
+:root {
+    --article-font-family: "PingFang SC, Microsoft YaHei";
+    --headline-font-family: "PingFang SC, Microsoft YaHei";
+}

+ 1 - 1
threejs/lessons/zh_cn/langinfo.hanson

@@ -1,7 +1,7 @@
 {
   language: '中文',
   langCode: 'zh_cn',   // if not specified will use folder
-  defaultExampleCaption: "点击在新标签页中打开",
+  defaultExampleCaption: "点击此处在新标签页中打开",
   title: 'Three.js 基础',
   description: 'Three.js 基础学习',
   link: 'http://threejsfundamentals.org/',