From 23412e0effa27d5d0f79f5796bc4e738cf8cd1fc Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Fri, 03 Mar 2023 16:08:49 +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