cxmo 1 year ago
parent
commit
fd3a910041
4 changed files with 11 additions and 10 deletions
  1. 11 0
      index.html
  2. BIN
      src/fonts/SourceHanSansSC-Regular.ttf
  3. BIN
      src/fonts/SourceHanSerifCN-Regular.ttf
  4. 0 10
      src/styles/global.scss

+ 11 - 0
index.html

@@ -36,6 +36,17 @@
         input[type="password"]::-o-reveal{
             display: none;
         }
+    </style>
+    <!-- 字蛛压缩字体 -->
+    <style>
+        @font-face {
+            font-family: '思源黑体';
+            src: url(./static/css/fonts/SourceHanSansSC-Regular.ttf);
+        }
+        @font-face {
+            font-family: '思源宋体';
+            src: url(./static/css/fonts/SourceHanSerifCN-Regular.ttf);
+        }
     </style>
 	<script>
 		var _hmt = _hmt || [];

BIN
src/fonts/SourceHanSansSC-Regular.ttf


BIN
src/fonts/SourceHanSerifCN-Regular.ttf


+ 0 - 10
src/styles/global.scss

@@ -74,14 +74,4 @@ button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusri
   border-radius: 5px;
   color: #3994fb;
   background-color: #dcecfc;
-}
-
-//字蛛压缩字体
-@font-face {
-    font-family: '思源黑体';
-    src: url(./fonts/SourceHanSansSC-Regular.ttf);
-}
-@font-face {
-    font-family: '思源宋体';
-    src: url(./fonts/SourceHanSerifCN-Regular.ttf);
 }