From 804355d2f44ed743504a21b3d1bbeb5370f3bb38 Mon Sep 17 00:00:00 2001 From: okash1n <48118431+okash1n@users.noreply.github.com> Date: Thu, 29 Jan 2026 03:40:52 +0900 Subject: [PATCH] style: center blog content to footer width --- docs/.vitepress/theme/custom.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/.vitepress/theme/custom.css b/docs/.vitepress/theme/custom.css index 8fee8d1..0e5b947 100644 --- a/docs/.vitepress/theme/custom.css +++ b/docs/.vitepress/theme/custom.css @@ -197,6 +197,15 @@ html body .VPSidebar > div { } } +@media (min-width: 960px) { + .VPContent.has-sidebar .VPPage > div { + max-width: 688px; + margin: 0 auto; + width: 100%; + transform: translateX(calc(var(--vp-sidebar-width) * -0.5)); + } +} + /* Keep divider aligned with the aside and reach the header */ @media (min-width: 960px) { .VPDoc.has-aside .aside::before {