Browse Source

统一红色首页栏目标题间距

将红色首页栏目标题 h2 统一增加上 5px、下 10px 内边距。

将所有栏目标题右侧“更多”入口统一为 margin-right 3px、margin-bottom 9px、padding-right 1px,并移除媒体华夏单独的右侧偏移特例。

同步更新首页 CSS 版本号,避免浏览器缓存旧样式。

Validation:

- git diff --staged --check

- curl 首页和新版 CSS,确认输出 screen-red-title-spacing 版本与统一间距规则
非繁 5 months ago
parent
commit
5479de2f0a

+ 10 - 6
WebRoot/main/ffkj-portal/portal-source.css

@@ -356,8 +356,10 @@ body.screen-red-theme .screen-shell .screen-media-panel .media-report-list {
   padding-bottom: 2px;
 }
 
-body.screen-red-theme .screen-shell .screen-media-panel > .section-title > a {
-  margin-right: 36px;
+body.screen-red-theme .screen-shell .section-title > a {
+  margin-right: 3px;
+  margin-bottom: 9px;
+  padding-right: 1px;
 }
 
 body.screen-red-theme .screen-shell .screen-notice-list {
@@ -368,6 +370,12 @@ body.screen-red-theme .screen-shell .section-title {
   border-bottom: 0;
 }
 
+body.screen-red-theme .screen-shell .section-title h2,
+body.screen-red-theme .screen-shell .section-title .section-heading {
+  padding-top: 5px;
+  padding-bottom: 10px;
+}
+
 body.screen-red-theme .screen-shell .section-title a {
   color: inherit;
   text-decoration: none;
@@ -930,10 +938,6 @@ body.screen-red-theme .screen-shell .campus-news-list li:last-child {
     margin-right: 0;
   }
 
-  body.screen-red-theme .screen-shell .screen-media-panel > .section-title > a {
-    margin-right: 0;
-  }
-
   body.screen-red-theme .screen-shell .colorful-panel {
     padding-right: 0;
   }

+ 10 - 6
WebRoot/web/upload/ffkj-template/portal-source.css

@@ -356,8 +356,10 @@ body.screen-red-theme .screen-shell .screen-media-panel .media-report-list {
   padding-bottom: 2px;
 }
 
-body.screen-red-theme .screen-shell .screen-media-panel > .section-title > a {
-  margin-right: 36px;
+body.screen-red-theme .screen-shell .section-title > a {
+  margin-right: 3px;
+  margin-bottom: 9px;
+  padding-right: 1px;
 }
 
 body.screen-red-theme .screen-shell .screen-notice-list {
@@ -368,6 +370,12 @@ body.screen-red-theme .screen-shell .section-title {
   border-bottom: 0;
 }
 
+body.screen-red-theme .screen-shell .section-title h2,
+body.screen-red-theme .screen-shell .section-title .section-heading {
+  padding-top: 5px;
+  padding-bottom: 10px;
+}
+
 body.screen-red-theme .screen-shell .section-title a {
   color: inherit;
   text-decoration: none;
@@ -930,10 +938,6 @@ body.screen-red-theme .screen-shell .campus-news-list li:last-child {
     margin-right: 0;
   }
 
-  body.screen-red-theme .screen-shell .screen-media-panel > .section-title > a {
-    margin-right: 0;
-  }
-
   body.screen-red-theme .screen-shell .colorful-panel {
     padding-right: 0;
   }

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

@@ -9,7 +9,7 @@
 <c:set var="screenPortalCssVersion" value="20260623-news-bg"/>
 <c:set var="screenPortalJsVersion" value="20260623-hero-wheel-return"/>
 <c:if test="${portalThemeClass eq 'screen-red-theme'}">
-	<c:set var="screenPortalCssVersion" value="20260626-screen-red-hero-dots"/>
+	<c:set var="screenPortalCssVersion" value="20260626-screen-red-title-spacing"/>
 	<c:set var="screenPortalJsVersion" value="20260626-screen-red-topic-arrows"/>
 </c:if>
 <!doctype html>