From da43ff3d7c2fd1f1b480dbbb05d9502a083b85fc Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Sat, 06 Jun 2026 20:03:54 +0800
Subject: [PATCH] Replace hero visual with user-provided reference image
---
docs/styles.css | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/docs/styles.css b/docs/styles.css
index 1c575b7..e3b4730 100644
--- a/docs/styles.css
+++ b/docs/styles.css
@@ -187,21 +187,23 @@
max-width: 22em;
}
-/* Right art: original design pixels — subtle reflection only, capped height */
+/* Right art: user-provided hero visual (black bg removed → white) */
.hero__art {
margin: 0;
line-height: 0;
display: flex;
align-items: center;
justify-content: flex-end;
+ background: var(--hero-bg);
}
.hero__art img {
display: block;
- width: auto;
+ width: 100%;
max-width: 100%;
height: auto;
- max-height: clamp(300px, 42vw, 500px);
+ background: var(--hero-bg);
+ border: 0;
}
/* Main content */
--
Gitblit v1.9.3