From df06d5adebeedb5edca6264450671792ccbd9d4e Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Mon, 26 Sep 2022 16:19:36 +0800
Subject: [PATCH] 修改
---
src/theme/bigScreen.css | 18 +++++++++++-------
1 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/src/theme/bigScreen.css b/src/theme/bigScreen.css
index 9bda57f..acbd111 100644
--- a/src/theme/bigScreen.css
+++ b/src/theme/bigScreen.css
@@ -1,18 +1,22 @@
+html{font-size:12px; font-size:62.5%; /* 10÷16=62.5% */}
@media screen and (max-width: 1920px) {
- body { font-size: 16px;}
+ html { font-size: 100%;}
+}
+@media screen and (max-width: 1336px) {
+ html { font-size: 80%;}
}
@media screen and (max-width: 1200px) {
- body { font-size: 14px;}
+ html { font-size: 62.5%;}
}
@media screen and (max-width: 1000px) {
- body { font-size: 12px;}
+ html { font-size: 10px;}
}
@media screen and (max-width: 800px) {
- body { font-size: 8px;}
+ html { font-size: 8px;}
}
@media screen and (max-width: 700px) {
- body { font-size: 7px;}
+ html { font-size: 7px;}
}
@media screen and (max-width: 600px) {
- body { font-size: 6px;}
-}
+ html { font-size: 6px;}
+}
\ No newline at end of file
--
Gitblit v1.9.2