From 77536cfa95b1e3c5e60f94dce3a53aa2e93f121a Mon Sep 17 00:00:00 2001
From: zhangxiaoxu123 <819527061@qq.com>
Date: 星期三, 14 九月 2022 17:35:54 +0800
Subject: [PATCH] echarts添加显示隐藏按钮
---
src/assets/css/main.css | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/src/assets/css/main.css b/src/assets/css/main.css
index 13ac0ae..db64327 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;
@@ -38,7 +44,7 @@
.content {
width: auto;
height: 100%;
- padding: 10px;
+ /*padding: 10px;*/
overflow-y: scroll;
box-sizing: border-box;
}
@@ -214,7 +220,7 @@
*/
h1,h2,h3,h4,h5,h6 {
- font-size: 1rem;
+ font-size: 0.09375rem /* 24/256 */;
font-weight: normal;
}
@@ -526,6 +532,6 @@
@media screen and (min-width: 2560px) {
html {
- font-size: 10px!important;
+ font-size: 256px!important;
}
}
--
Gitblit v1.9.1