Browse Source

放大手机端三横线并调整边距

手机端三横线按钮放大为50×46px、线段30×3px,距离右侧边线20px;同步调整标语位置保持80px间距。\n\nValidation:\n- 390px和900px右边距均为20px\n- 标语与按钮间距均为80px\n- 无文字重叠或横向溢出
非繁 2 months ago
parent
commit
333c43096d

+ 10 - 0
WebRoot/main/ffkj-portal/news-red.css

@@ -289,3 +289,13 @@ body.screen-red-theme{--hx-red:#941c1e;--hx-red-dark:#580b0c;--hx-footer-soft:#f
 @media (max-width:900px){
 .slogan{right:104px}
 }
+
+
+/* 手机端三横线放大并保留右侧20px边距 */
+@media (max-width:900px){
+.mobile-nav-toggle{top:15px;right:20px;width:50px;height:46px;gap:6px;padding:8px 10px}
+.mobile-nav-toggle span{width:30px;height:3px}
+.mobile-nav-toggle.is-open span:nth-child(1){transform:translateY(9px) rotate(45deg)}
+.mobile-nav-toggle.is-open span:nth-child(3){transform:translateY(-9px) rotate(-45deg)}
+.slogan{right:132px}
+}

+ 1 - 1
WebRoot/web/upload/ffkj-template/news-red-catalog.jsp

@@ -8,7 +8,7 @@
 	<meta charset="UTF-8">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-mobile-slogan-gap80b">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-mobile-toggle-20">
 </head>
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>

+ 1 - 1
WebRoot/web/upload/ffkj-template/news-red-details.jsp

@@ -7,7 +7,7 @@
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="description" content="${articleDescription}">
 	<title>${articleTitle}_${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-mobile-slogan-gap80b">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-mobile-toggle-20">
 </head>
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>

+ 1 - 1
WebRoot/web/upload/ffkj-template/news-red-index.jsp

@@ -12,7 +12,7 @@
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>${website.seoTitle}</title>
 	<meta name="description" content="${website.seoDescription}">
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-mobile-slogan-gap80b">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-mobile-toggle-20">
 </head>
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>

+ 1 - 1
WebRoot/web/upload/ffkj-template/news-red-list.jsp

@@ -15,7 +15,7 @@
 	<meta charset="UTF-8">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-mobile-slogan-gap80b">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-mobile-toggle-20">
 </head>
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>

+ 1 - 1
WebRoot/web/upload/ffkj-template/news-red-search.jsp

@@ -8,7 +8,7 @@
 	<meta charset="UTF-8">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>站内搜索_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-mobile-slogan-gap80b">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-mobile-toggle-20">
 </head>
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>