@@ -7,7 +7,12 @@
<title>pbl-student</title>
<style>
@charset "utf-8";
-
+ @font-face {
+ font-family: 'Source Han Sans SC';
+ src: url('./static/SourceHanSans-Regular.otf') format('truetype');
+ font-weight: normal;
+ font-style: normal;
+ }
div::-webkit-scrollbar {
/*滚动条整体样式*/
width: 6px;
@@ -27,6 +32,10 @@
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
background-color: rgba(0, 0, 0, 0.1);
}
+ html,
+ body{
+ font-family: 'Source Han Sans SC', sans-serif;
</style>
</head>
@@ -171,10 +171,10 @@ body {
width: 100%;
background: #f2f2f2;
-body {
+/* body {
font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
"Microsoft YaHei", "微软雅黑", Arial, sans-serif;
-}
+} */
#app {
height: 100%;