From 5940668023d350c5df8d1c0c613569e4ebc7c616 Mon Sep 17 00:00:00 2001 From: yiqiu Date: Tue, 16 Dec 2025 16:32:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A7=BB=E5=8A=A8=E7=AB=AF?= =?UTF-8?q?=E5=AF=BC=E8=88=AA=E6=A0=8F=E6=8C=89=E9=92=AE=E9=A1=BA=E5=BA=8F?= =?UTF-8?q?=E5=92=8C=E5=AF=B9=E9=BD=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 按钮位置调整(767px/575px/360px): - 注册按钮(no-login)order 改为 4,放在最右侧 - 汉堡菜单按钮(mobile-menu-toggle)order 改为 3,放在左侧 - nav-right 使用 justify-content: flex-end 让内容靠右排列 注册按钮高度优化: - 767px:line-height 改为 50px(导航栏高度) - 575px:line-height 改为 48px(导航栏高度) - 360px:line-height 改为 44px(导航栏高度) - 所有情况都使用 display: flex 和 align-items: center 垂直居中 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- css/index.css | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/css/index.css b/css/index.css index 2cf8e54..70022be 100644 --- a/css/index.css +++ b/css/index.css @@ -2533,7 +2533,7 @@ html { gap: 0 !important; align-items: center; height: 100% !important; - order: 3; + order: 4; } #index .no-login .nav-text-link, @@ -2546,12 +2546,12 @@ html { font-size: 10px !important; min-width: auto !important; height: 100% !important; - line-height: 28px !important; + line-height: 50px !important; display: flex; align-items: center; } - /* 汉堡菜单按钮样式 - 放在右侧(order: 4) */ + /* 汉堡菜单按钮样式 - 放在左侧(order: 3) */ #index .mobile-menu-toggle { display: flex !important; flex-direction: column; @@ -2562,7 +2562,7 @@ html { justify-content: center; align-items: center; margin-right: 0; - order: 4; + order: 3; } #index .mobile-menu-toggle span { @@ -3075,7 +3075,7 @@ html { gap: 0 !important; align-items: center; height: 100% !important; - order: 3; + order: 4; } #index .no-login .nav-text-link, @@ -3088,12 +3088,12 @@ html { font-size: 10px !important; min-width: auto !important; height: 100% !important; - line-height: 28px !important; + line-height: 48px !important; display: flex; align-items: center; } - /* 汉堡菜单按钮样式 - 放在右侧(order: 4) */ + /* 汉堡菜单按钮样式 - 放在左侧(order: 3) */ #index .mobile-menu-toggle { display: flex !important; flex-direction: column; @@ -3104,7 +3104,7 @@ html { justify-content: center; align-items: center; margin-right: 0; - order: 4; + order: 3; } #index .mobile-menu-toggle span { @@ -3562,7 +3562,7 @@ html { gap: 0 !important; align-items: center; height: 100% !important; - order: 3; + order: 4; } #index .no-login .nav-text-link, @@ -3575,12 +3575,12 @@ html { font-size: 9px !important; min-width: auto !important; height: 100% !important; - line-height: 26px !important; + line-height: 44px !important; display: flex; align-items: center; } - /* 汉堡菜单按钮样式 - 放在右侧(order: 4) */ + /* 汉堡菜单按钮样式 - 放在左侧(order: 3) */ #index .mobile-menu-toggle { display: flex !important; flex-direction: column; @@ -3591,7 +3591,7 @@ html { justify-content: center; align-items: center; margin-right: 0; - order: 4; + order: 3; } #index .mobile-menu-toggle span {