Browse Source

按整体比例放大新闻模板头部字体和控件

按头部整体221px与原161px的比例缩放顶部红色块和主导航:红色块161px、导航60px;品牌、口号、快捷入口、搜索框及导航字号和间距同步放大。\n\nValidation:\n- 头部整体仍为221px,红色区161px、导航60px\n- 品牌33px、导航19px、搜索框248x33px\n- 首页为第一项,导航文字纯黑\n- 选中红线与灰色底线间距为0px,1440px无横向溢出
非繁 2 months ago
parent
commit
e6a7d38bc6

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

@@ -149,3 +149,22 @@ body.screen-red-theme{--hx-red:#941c1e;--hx-red-dark:#580b0c;--hx-footer-soft:#f
 .main-nav a{height:100%;display:flex;align-items:center;color:#000;border-bottom:2px solid transparent}
 .main-nav a{height:100%;display:flex;align-items:center;color:#000;border-bottom:2px solid transparent}
 .main-nav a.active,.main-nav a:hover{color:#000;border-bottom-color:var(--red)}
 .main-nav a.active,.main-nav a:hover{color:#000;border-bottom-color:var(--red)}
 }
 }
+
+
+/* 头部整体等比放大:按221/161比例同步调整红色区和导航 */
+@media (min-width:901px){
+.hero-head{height:161px}
+.head-inner{padding-top:41px}
+.brand{display:inline-block;color:#fff;text-decoration:none;font-size:33px;line-height:1.2}
+.brand small{font-size:19px;margin-left:14px}
+.motto{margin-top:8px;gap:19px;font-size:15px;line-height:19px;letter-spacing:4px}
+.top-links{top:11px;font-size:15px;line-height:22px}
+.top-links b{padding:0 11px}
+.search{top:38px;width:248px;height:33px;border-radius:17px;padding:0 14px}
+.search input{font-size:15px;line-height:22px}
+.search button{font-size:15px}
+.slogan{right:16px;bottom:30px;font-size:15px;line-height:1.5;letter-spacing:4px}
+.main-nav{height:60px}
+.main-nav ul{gap:41px}
+.main-nav a{font-size:19px;border-bottom-width:3px}
+}

+ 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-header-total-221">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-scale-137">
 </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-header-total-221">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-scale-137">
 </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-header-total-221">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-scale-137">
 </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-header-total-221">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-scale-137">
 </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-header-total-221">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-scale-137">
 </head>
 </head>
 <body class="screen-red-theme">
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>
 	<%@ include file="news-red-header.jsp"%>