Jelajahi Sumber

压缩新闻模板头部高度并修正品牌文字颜色

将首页头部红色区域从234px减半到117px,主导航从66px缩到44px;品牌、口号、快捷入口、搜索框和导航文字按比例缩小,品牌链接显式设为白色并去除下划线。\n\nValidation:\n- 头部和导航计算高度分别为117px、44px\n- 品牌文字为rgb(255,255,255),搜索和品牌区域无重叠\n- 1440px视口无横向溢出
非繁 2 bulan lalu
induk
melakukan
31a64a69ea

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

@@ -107,3 +107,22 @@ body.screen-red-theme{--hx-red:#941c1e;--hx-red-dark:#580b0c;--hx-footer-soft:#f
 .news-list li,.plain-list li{font-size:15px;line-height:22.5px;font-weight:400;color:#333}
 .news-list li,.plain-list li{font-size:15px;line-height:22.5px;font-weight:400;color:#333}
 .news-list a,.plain-list a{color:inherit;font-weight:400}
 .news-list a,.plain-list a{color:inherit;font-weight:400}
 .sub-list li strong,.download-row strong{font-size:15px;line-height:22.5px;font-weight:400;color:#333}
 .sub-list li strong,.download-row strong{font-size:15px;line-height:22.5px;font-weight:400;color:#333}
+
+
+/* 首页头部:降低高度并修正品牌文字颜色 */
+@media (min-width:901px){
+.hero-head{height:117px}
+.head-inner{padding-top:30px}
+.brand{display:inline-block;color:#fff;text-decoration:none;font-size:24px;line-height:1.2}
+.brand small{font-size:14px;margin-left:10px}
+.motto{margin-top:6px;gap:14px;font-size:11px;line-height:14px;letter-spacing:3px}
+.top-links{top:8px;font-size:11px;line-height:16px}
+.top-links b{padding:0 8px}
+.search{top:28px;width:180px;height:24px;border-radius:12px;padding:0 10px}
+.search input{font-size:11px;line-height:16px}
+.search button{font-size:11px}
+.slogan{right:12px;bottom:22px;font-size:11px;line-height:1.5;letter-spacing:3px}
+.main-nav{height:44px}
+.main-nav ul{gap:30px}
+.main-nav a{font-size:14px;border-bottom-width:2px}
+}

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

@@ -8,7 +8,7 @@
 	<meta charset="UTF-8">
 	<meta charset="UTF-8">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>${navigation.name}_${website.seoTitle}</title>
 	<title>${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-home-list-333">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-header-compact2">
 </head>
 </head>
 <body class="screen-red-theme">
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>
 	<%@ 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="viewport" content="width=device-width, initial-scale=1">
 	<meta name="description" content="${articleDescription}">
 	<meta name="description" content="${articleDescription}">
 	<title>${articleTitle}_${navigation.name}_${website.seoTitle}</title>
 	<title>${articleTitle}_${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-home-list-333">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-header-compact2">
 </head>
 </head>
 <body class="screen-red-theme">
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>
 	<%@ 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">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>${website.seoTitle}</title>
 	<title>${website.seoTitle}</title>
 	<meta name="description" content="${website.seoDescription}">
 	<meta name="description" content="${website.seoDescription}">
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-home-list-333">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-header-compact2">
 </head>
 </head>
 <body class="screen-red-theme">
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>
 	<%@ 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 charset="UTF-8">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>${navigation.name}_${website.seoTitle}</title>
 	<title>${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-home-list-333">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-header-compact2">
 </head>
 </head>
 <body class="screen-red-theme">
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>
 	<%@ 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 charset="UTF-8">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>站内搜索_${website.seoTitle}</title>
 	<title>站内搜索_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-home-list-333">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-header-compact2">
 </head>
 </head>
 <body class="screen-red-theme">
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>
 	<%@ include file="news-red-header.jsp"%>