From 44633cf1ce2bc984e324765812a51d81a50a6569 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Tue, 21 Feb 2023 10:58:24 +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