Jelajahi Sumber

调整手机端顶部徽标和文字对齐

手机端徽标Logo向右移动12px,网站名称改为右对齐,并让文字右边缘与Logo右边缘保持一致;桌面端不变。此次仅提交本地版本,暂不发布hxcs。

Validation:
- 本地Microsoft Edge手机Logo较原位置右移12px
- 网站名称text-align为right
- Logo与文字右边缘差值小于0.5px
- 桌面端仍保持271×52px
非繁 2 bulan lalu
induk
melakukan
232f33ed71

+ 3 - 3
WebRoot/main/ffkj-portal/news-red.css

@@ -790,7 +790,7 @@ body.screen-red-theme .screen-footer-philosophy span {
 .brand-logo{display:block;flex:0 0 auto;width:auto;max-width:none;height:52px;object-fit:contain}
 .brand-name{font-size:1em;font-weight:600;line-height:1.2}
 @media (max-width:900px){
-.brand{display:flex;flex-direction:column;align-items:flex-start;max-width:calc(100% - 52px);gap:4px;white-space:normal}
-.brand-logo{width:240px;max-width:100%;height:auto}
-.brand-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:18px}
+.brand{display:inline-flex;flex-direction:column;align-items:flex-end;width:max-content;max-width:calc(100% - 64px);gap:4px;white-space:normal}
+.brand-logo{width:240px;max-width:100%;height:auto;margin-left:12px}
+.brand-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:18px;text-align:right}
 }

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

@@ -10,7 +10,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=20260922-brand-logo-52-m240">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260922-brand-logo-52-m240-r12">
 </head>
 <body class="screen-red-theme screen-list-page">
 	<%@ 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=20260922-brand-logo-52-m240">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260922-brand-logo-52-m240-r12">
 </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=20260922-brand-logo-52-m240">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260922-brand-logo-52-m240-r12">
 </head>
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>

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

@@ -13,7 +13,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=20260922-brand-logo-52-m240">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260922-brand-logo-52-m240-r12">
 </head>
 <body class="screen-red-theme screen-list-page">
 	<%@ 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=20260922-brand-logo-52-m240">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260922-brand-logo-52-m240-r12">
 </head>
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>