From 3aed6771b08eb2736a3e3096d79520f51e738794 Mon Sep 17 00:00:00 2001 From: gouki Date: Sun, 11 Oct 2026 19:32:28 +0000 Subject: [PATCH] fix(theme): widen main container from 960px to 1380px for modern screens --- themes/modern/assets/style.css | 4 ++-- themes/sablog/assets/style.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/modern/assets/style.css b/themes/modern/assets/style.css index 5be72f3..f44c102 100644 --- a/themes/modern/assets/style.css +++ b/themes/modern/assets/style.css @@ -41,7 +41,7 @@ a:hover { /* 页面统一宽度:页头/页脚与主体对齐(默认视图的 .container 也落在这里) */ .container, .m-container { - max-width: 1080px; + max-width: 1380px; margin: 0 auto; padding: 0 20px; } @@ -97,7 +97,7 @@ a:hover { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; - max-width: 1080px; + max-width: 1380px; margin: 0 auto; padding: 36px 20px; } diff --git a/themes/sablog/assets/style.css b/themes/sablog/assets/style.css index 80e10b9..03ed1c5 100644 --- a/themes/sablog/assets/style.css +++ b/themes/sablog/assets/style.css @@ -347,7 +347,7 @@ a:hover { /* 兜底页面(归档/标签云/友链/评论/登录等使用默认布局) */ .container.main-layout { - max-width: 960px; + max-width: 1380px; margin: 0 auto; } .main-layout {