From 329ec34881be1ff7b5632cdbd712a0850c85f784 Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Sat, 06 Jun 2026 18:28:23 +0800
Subject: [PATCH] Restore hero stack visual: full design crop with 3D perspective
---
docs/styles.css | 32 +++++++++++++++++++++++++-------
1 files changed, 25 insertions(+), 7 deletions(-)
diff --git a/docs/styles.css b/docs/styles.css
index a0b71ce..a41b525 100644
--- a/docs/styles.css
+++ b/docs/styles.css
@@ -192,16 +192,30 @@
}
.hero__visual {
- margin: 0;
- line-height: 0;
+ position: relative;
+ min-height: 420px;
+ display: flex;
+ align-items: center;
+ justify-content: flex-end;
}
-.hero__visual img {
+.hero__stack-stage {
+ position: relative;
+ width: 100%;
+ max-width: 620px;
+ margin-left: auto;
+ padding: 12px 0 28px;
+ perspective: 1600px;
+ perspective-origin: 35% 45%;
+}
+
+.hero__stack-img {
display: block;
width: 100%;
- max-width: 560px;
height: auto;
- margin-left: auto;
+ transform: rotateY(-11deg) rotateX(4deg) translateZ(0);
+ transform-origin: 40% 50%;
+ filter: drop-shadow(0 28px 48px rgba(30, 45, 90, 0.14));
}
/* Main content */
@@ -371,9 +385,13 @@
gap: 32px;
}
- .hero__visual img {
- margin-left: 0;
+ .hero__stack-stage {
max-width: 100%;
+ margin-left: 0;
+ }
+
+ .hero__stack-img {
+ transform: rotateY(-7deg) rotateX(3deg);
}
}
--
Gitblit v1.9.3