From 9311586cea5fd8a3934209898a25ae7c978dd0b6 Mon Sep 17 00:00:00 2001 From: sanbuphy Date: Tue, 27 Jan 2026 11:02:44 +0800 Subject: [PATCH] style: optimize home hero section layout and fix readme link --- README.md | 2 +- docs/.vitepress/theme/style.css | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dbdb4f0..c4365f4 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ # Easy-Vibe : Learn vibe coding from 0 to 1

- 📌 在线阅读 (Read Online) · ✨ 交互式教程 (Interactive Tutorial) + 📌 在线阅读 (Read Online) · ✨ 交互式教程 (Interactive Tutorial)

diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css index 0e7239c..2f5480d 100644 --- a/docs/.vitepress/theme/style.css +++ b/docs/.vitepress/theme/style.css @@ -328,3 +328,15 @@ .section-container { scroll-margin-top: 80px; } + +/* Home Hero Full Screen */ +.VPHomeHero { + min-height: 100vh; + min-height: 100dvh; + display: flex !important; + align-items: center; + justify-content: center; + padding-top: var(--vp-nav-height, 64px) !important; + padding-bottom: 18vh !important; + box-sizing: border-box; +}