From 0a8b339fd4fd1e549522bc40ff24a854c59f26ab Mon Sep 17 00:00:00 2001
From: 付延余 <f-yanyu@outlook.com>
Date: 星期日, 24 四月 2022 10:21:14 +0800
Subject: [PATCH] 人事人才

---
 src/assets/css/main.css |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/assets/css/main.css b/src/assets/css/main.css
index ec0c398..17bbd0a 100644
--- a/src/assets/css/main.css
+++ b/src/assets/css/main.css
@@ -1,8 +1,13 @@
+@font-face {
+  font-family: 'sFont';
+  src: url("fonts/SOURCEHANSANSCN-LIGHT.ttf");
+}
 * {
     margin: 0;
     padding: 0;
-    font-size: 2.4rem;
+    font-size: .0938rem;
     font-weight: lighter;
+    font-family: 'sFont';
 }
 
 html,
@@ -13,6 +18,7 @@
     height: 100%;
     overflow: hidden;
 }
+
 
 body {
     font-family: 'Source Han Sans CN','PingFang SC', "Helvetica Neue", Helvetica, "microsoft yahei", arial, STHeiTi, sans-serif;
@@ -214,7 +220,7 @@
  */
 
 h1,h2,h3,h4,h5,h6 {
-  font-size: 1rem;
+  font-size: 0.09375rem  /* 24/256 */;
   font-weight: normal;
 }
 

--
Gitblit v1.9.1