From e63be3e571bc449f4f7aadc5a34834a6aa0ffd96 Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Sat, 06 Jun 2026 18:52:08 +0800
Subject: [PATCH] Build hero 3D window stack from real app screenshot
---
docs/styles.css | 28 +++++++++++++---------------
1 files changed, 13 insertions(+), 15 deletions(-)
diff --git a/docs/styles.css b/docs/styles.css
index a0b71ce..3a657a0 100644
--- a/docs/styles.css
+++ b/docs/styles.css
@@ -151,23 +151,19 @@
background: rgba(255, 255, 255, 0.88);
}
-/* Hero — reference layout: copy left, stacked screenshots right */
+/* Hero — copy left, original design visual right (compact, no forced full-screen) */
.hero {
width: 100%;
- min-height: calc(100svh - var(--header-h));
- min-height: calc(100vh - var(--header-h));
- padding: 48px 0 64px;
+ padding: 40px 0 48px;
background: var(--hero-bg);
overflow: hidden;
}
.hero__split {
display: grid;
- grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
- gap: 20px 48px;
+ grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
+ gap: 12px 32px;
align-items: center;
- min-height: calc(100svh - var(--header-h) - 96px);
- min-height: calc(100vh - var(--header-h) - 96px);
}
.hero__copy {
@@ -191,17 +187,20 @@
max-width: 22em;
}
-.hero__visual {
+/* Right art: composited 3D stack from real screenshot (built asset, no extra CSS warp) */
+.hero__art {
margin: 0;
line-height: 0;
+ display: flex;
+ align-items: center;
+ justify-content: flex-end;
}
-.hero__visual img {
+.hero__art img {
display: block;
width: 100%;
- max-width: 560px;
+ max-width: 100%;
height: auto;
- margin-left: auto;
}
/* Main content */
@@ -371,9 +370,8 @@
gap: 32px;
}
- .hero__visual img {
- margin-left: 0;
- max-width: 100%;
+ .hero__art {
+ justify-content: center;
}
}
--
Gitblit v1.9.3