From 474b742dc3d665dd8507136949dba0bb494546fa Mon Sep 17 00:00:00 2001 From: selfrelease Date: Tue, 4 Aug 2026 18:41:38 +0800 Subject: [PATCH] =?UTF-8?q?ux:=20=E6=8A=95=E8=B5=84=E4=BA=BA=E9=A3=8E?= =?UTF-8?q?=E6=A0=BC=E5=BA=94=E7=94=A8=E5=8D=A1=E7=89=87=E9=87=8D=E6=96=B0?= =?UTF-8?q?=E8=AE=BE=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 重新设计卡片为投资人风格布局 - 优化字体、间距、阴影、圆角 - 调整背景纹理和极光效果 Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- index.html | 241 ++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 222 insertions(+), 19 deletions(-) diff --git a/index.html b/index.html index 78b80fa..d09a283 100644 --- a/index.html +++ b/index.html @@ -926,6 +926,202 @@ :root[data-theme="light"] .bg-emerald-400 { background: oklch(0.6 0.2 150) !important; } :root[data-theme="light"] .from-indigo-500 { --tw-gradient-from: oklch(0.5 0.24 275) !important; } :root[data-theme="light"] .to-violet-500 { --tw-gradient-to: oklch(0.54 0.2 230) !important; } + + /* ===== Investor-facing portfolio refresh ===== */ + body { + font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif; + background: var(--bg-base); + } + body::before { + background-size: 64px 64px; + opacity: 0.55; + mask-image: linear-gradient(to bottom, black, transparent 75%); + } + .aurora { + opacity: 0.32; + filter: blur(90px) saturate(0.8); + } + .glass-header { + border-radius: 0.5rem; + box-shadow: 0 12px 40px var(--header-shadow), inset 0 1px 0 var(--glass-inset); + } + .brand-mark { + border-radius: 0.35rem !important; + background: var(--text-heading); + color: var(--bg-base); + box-shadow: none; + } + .brand-mark::after { display: none; } + .portfolio-overview { + display: grid; + grid-template-columns: minmax(0, 1fr) auto; + align-items: end; + gap: 2rem; + margin-bottom: 1.75rem; + padding-bottom: 1.25rem; + border-bottom: 1px solid var(--glass-border); + } + .portfolio-kicker { + margin-bottom: 0.35rem; + color: var(--text-muted); + font-size: 0.68rem; + font-weight: 700; + letter-spacing: 0.12em; + text-transform: uppercase; + } + .portfolio-title { + color: var(--text-heading); + font-size: clamp(1.7rem, 4vw, 2.65rem); + line-height: 1.05; + font-weight: 800; + letter-spacing: 0; + text-wrap: balance; + } + .portfolio-metrics { + display: grid; + grid-template-columns: repeat(3, auto); + gap: 1.75rem; + } + .portfolio-metric strong { + display: block; + color: var(--text-heading); + font-size: 1.35rem; + line-height: 1; + font-weight: 750; + font-variant-numeric: tabular-nums; + } + .portfolio-metric span { + display: block; + margin-top: 0.35rem; + color: var(--text-muted); + font-size: 0.65rem; + white-space: nowrap; + } + .carousel-wrapper { padding: 0 2.25rem; } + .group-title, + .mobile-group-title { + display: flex; + align-items: center; + gap: 0.6rem; + color: var(--text-secondary); + font-size: 0.7rem; + font-weight: 700; + letter-spacing: 0.04em; + border-bottom: 0; + } + .group-title::before, + .mobile-group-title::before { + content: ""; + width: 1.35rem; + height: 2px; + background: var(--text-heading); + opacity: 0.65; + } + .portal-card { + min-width: 0; + border-radius: 0.45rem !important; + border-color: var(--glass-border); + background: color-mix(in oklch, var(--glass-bg) 86%, transparent); + box-shadow: inset 0 1px 0 var(--glass-inset); + backdrop-filter: blur(16px) saturate(1.1); + -webkit-backdrop-filter: blur(16px) saturate(1.1); + transform: none !important; + color: inherit; + text-decoration: none; + transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease; + } + .portal-card::before { + display: none; + } + .portal-card::after { display: none; } + .portal-card:hover { + border-color: color-mix(in oklch, var(--accent) 42%, var(--glass-border)); + background: var(--glass-bg-hover); + box-shadow: 0 16px 38px var(--glass-shadow); + text-decoration: none; + } + .portal-card h3, + .portal-card p, + .portal-card span { text-decoration: none; } + .animate-fade-in { + animation: investorCardIn 0.42s var(--ease-smooth) forwards; + } + @keyframes investorCardIn { + from { opacity: 0; transform: translateY(10px); } + to { opacity: 1; transform: translateY(0); } + } + .card-index { + color: var(--text-muted); + font-size: 0.64rem; + font-weight: 700; + font-variant-numeric: tabular-nums; + } + .icon-wrap { + width: 2rem !important; + height: 2rem !important; + border-radius: 0.35rem !important; + color: var(--accent); + background: color-mix(in oklch, var(--accent) 12%, transparent); + border: 1px solid color-mix(in oklch, var(--accent) 20%, transparent); + box-shadow: none; + } + .icon-wrap::after { display: none; } + .icon-wrap svg { width: 1rem; height: 1rem; } + .portal-card:hover .icon-wrap { transform: none; box-shadow: none; } + .card-title { + color: var(--text-heading); + font-size: 0.95rem; + line-height: 1.3; + font-weight: 750; + text-wrap: balance; + } + .card-purpose { + color: var(--text-secondary); + font-size: 0.72rem; + line-height: 1.45; + font-weight: 500; + } + .card-footer { + margin-top: auto; + padding-top: 0.75rem; + border-top: 1px solid var(--glass-border); + } + .tag-pill { + padding: 0 !important; + border: 0; + border-radius: 0; + color: var(--text-muted); + background: transparent; + font-size: 0.62rem !important; + font-weight: 650; + } + .launch-link { + width: 1.75rem; + height: 1.75rem; + padding: 0 !important; + justify-content: center; + border-radius: 0.3rem !important; + color: var(--text-heading); + background: transparent; + border-color: var(--glass-border); + } + .portal-card:hover .launch-link { + transform: translateX(2px); + color: var(--bg-base); + background: var(--text-heading); + } + .carousel-btn, + .theme-toggle, + .help-btn { + border-radius: 0.35rem !important; + } + .carousel-dot { border-radius: 1px; height: 3px; } + .carousel-dot.active { border-radius: 1px; } + @media (max-width: 768px) { + .portfolio-overview { grid-template-columns: 1fr; gap: 1.25rem; } + .portfolio-metrics { width: 100%; justify-content: space-between; gap: 1rem; } + .mobile-app-list .portal-card { min-height: 158px; } + } @@ -946,7 +1142,7 @@