From d9934d5a6a21cb008dd7d5d2d371ee2906d8773f Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Sat, 06 Jun 2026 23:20:33 +0800
Subject: [PATCH] Move views screen shortcut next to Colored containers item
---
docs/styles.css | 563 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 556 insertions(+), 7 deletions(-)
diff --git a/docs/styles.css b/docs/styles.css
index 65b8f05..18719d0 100644
--- a/docs/styles.css
+++ b/docs/styles.css
@@ -151,12 +151,10 @@
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;
}
@@ -166,8 +164,6 @@
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,13 +187,14 @@
max-width: 22em;
}
-/* Right art: pixels from user's original design (vertical crop only — stack + reflection intact) */
+/* 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 {
@@ -205,6 +202,495 @@
width: 100%;
max-width: 100%;
height: auto;
+ background: var(--hero-bg);
+ border: 0;
+}
+
+/* Second screen — 5 view modes */
+.views {
+ padding: 56px 0 64px;
+ background: #ffffff;
+}
+
+.views__split {
+ display: grid;
+ grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
+ gap: 28px 48px;
+ align-items: center;
+}
+
+.views__gallery {
+ display: grid;
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ gap: 12px;
+ max-width: 500px;
+ justify-self: start;
+}
+
+.views__shot {
+ margin: 0;
+ border-radius: 12px;
+ overflow: hidden;
+ line-height: 0;
+ background: #f5f5f7;
+ box-shadow: 0 10px 28px rgba(30, 45, 90, 0.1);
+ border: 1px solid rgba(0, 0, 0, 0.06);
+}
+
+.views__shot img {
+ display: block;
+ width: 100%;
+ height: auto;
+}
+
+.views__headline {
+ margin: 0;
+ font-size: clamp(1.85rem, 3.8vw, 2.7rem);
+ font-weight: 800;
+ letter-spacing: -0.04em;
+ line-height: 1.12;
+ color: #000;
+}
+
+.views__lead {
+ margin: 22px 0 0;
+ font-size: clamp(0.98rem, 1.55vw, 1.1rem);
+ line-height: 1.75;
+ color: #6e6e73;
+ max-width: 26em;
+}
+
+.views__rule {
+ margin: 30px 0 22px;
+ border: 0;
+ height: 1px;
+ background: linear-gradient(90deg, rgba(99, 102, 241, 0.5), rgba(99, 102, 241, 0.06));
+}
+
+.views__label {
+ margin: 0 0 16px;
+ font-size: 0.94rem;
+ color: #86868b;
+}
+
+.views__modes {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+ display: grid;
+ gap: 12px;
+}
+
+.views__modes li {
+ position: relative;
+ padding-left: 22px;
+ font-size: 1.04rem;
+ font-weight: 500;
+ color: #1d1d1f;
+}
+
+.views__modes li::before {
+ content: "";
+ position: absolute;
+ left: 0;
+ top: 0.58em;
+ width: 8px;
+ height: 8px;
+ border-radius: 50%;
+ background: var(--accent);
+}
+
+.views__modes-row {
+ display: flex;
+ align-items: center;
+ gap: 14px 20px;
+ flex-wrap: wrap;
+}
+
+.views__modes-row__label {
+ flex-shrink: 0;
+}
+
+.views__shortcut {
+ display: inline-flex;
+ flex-direction: column;
+ gap: 6px;
+ padding: 12px 18px;
+ border-radius: 14px;
+ background: #f5f5f7;
+ border: 1px solid var(--border);
+}
+
+.views__shortcut-label {
+ font-size: 0.8rem;
+ color: #86868b;
+}
+
+.views__shortcut-keys {
+ font-size: 1.02rem;
+ font-weight: 650;
+ letter-spacing: 0.01em;
+}
+
+/* Third screen — tag management */
+.tags {
+ padding: 56px 0 64px;
+ background: #ffffff;
+}
+
+.tags__split {
+ display: grid;
+ grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
+ gap: 28px 48px;
+ align-items: center;
+}
+
+.tags__headline {
+ margin: 0;
+ font-size: clamp(1.85rem, 3.8vw, 2.7rem);
+ font-weight: 800;
+ letter-spacing: -0.04em;
+ line-height: 1.12;
+ color: #000;
+}
+
+.tags__points {
+ list-style: none;
+ margin: 28px 0 0;
+ padding: 0;
+ display: grid;
+ gap: 18px;
+ max-width: 28em;
+}
+
+.tags__points li {
+ position: relative;
+ padding-left: 22px;
+ font-size: clamp(0.98rem, 1.55vw, 1.1rem);
+ line-height: 1.75;
+ color: #1d1d1f;
+}
+
+.tags__points li::before {
+ content: "";
+ position: absolute;
+ left: 0;
+ top: 0.72em;
+ width: 8px;
+ height: 8px;
+ border-radius: 50%;
+ background: var(--accent);
+}
+
+.tags__points strong {
+ font-weight: 700;
+ color: #000;
+}
+
+.tags__art {
+ margin: 0;
+ line-height: 0;
+ justify-self: end;
+ max-width: 540px;
+ width: 100%;
+ border-radius: 12px;
+ overflow: hidden;
+ background: #f5f5f7;
+ box-shadow: 0 10px 28px rgba(30, 45, 90, 0.1);
+ border: 1px solid rgba(0, 0, 0, 0.06);
+}
+
+.tags__art img {
+ display: block;
+ width: 100%;
+ height: auto;
+}
+
+/* Fourth screen — app memos */
+.memo {
+ padding: 56px 0 64px;
+ background: #ffffff;
+}
+
+.memo__split {
+ display: grid;
+ grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
+ gap: 28px 48px;
+ align-items: center;
+}
+
+.memo__art {
+ margin: 0;
+ line-height: 0;
+ justify-self: start;
+ max-width: 540px;
+ width: 100%;
+ border-radius: 12px;
+ overflow: hidden;
+ background: #f5f5f7;
+ box-shadow: 0 10px 28px rgba(30, 45, 90, 0.1);
+ border: 1px solid rgba(0, 0, 0, 0.06);
+}
+
+.memo__art img {
+ display: block;
+ width: 100%;
+ height: auto;
+}
+
+.memo__headline {
+ margin: 0;
+ font-size: clamp(1.85rem, 3.8vw, 2.7rem);
+ font-weight: 800;
+ letter-spacing: -0.04em;
+ line-height: 1.12;
+ color: #000;
+}
+
+.memo__lead {
+ margin: 22px 0 0;
+ font-size: clamp(0.98rem, 1.55vw, 1.1rem);
+ line-height: 1.75;
+ color: #6e6e73;
+ max-width: 22em;
+}
+
+/* Fifth screen — global Quick Search */
+.search {
+ padding: 56px 0 64px;
+ background: #ffffff;
+}
+
+.search__split {
+ display: grid;
+ grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
+ gap: 28px 48px;
+ align-items: center;
+}
+
+.search__headline {
+ margin: 0;
+ font-size: clamp(1.85rem, 3.8vw, 2.7rem);
+ font-weight: 800;
+ letter-spacing: -0.04em;
+ line-height: 1.12;
+ color: #000;
+}
+
+.search__lead {
+ margin: 22px 0 0;
+ font-size: clamp(0.98rem, 1.55vw, 1.1rem);
+ line-height: 1.75;
+ color: #6e6e73;
+ max-width: 24em;
+}
+
+.search__tagline {
+ margin: 16px 0 0;
+ font-size: clamp(0.98rem, 1.55vw, 1.1rem);
+ line-height: 1.75;
+ color: #1d1d1f;
+ font-weight: 500;
+ max-width: 24em;
+}
+
+.search__shortcut {
+ margin-top: 32px;
+ display: inline-flex;
+ flex-direction: column;
+ gap: 6px;
+ padding: 14px 20px;
+ border-radius: 14px;
+ background: #f5f5f7;
+ border: 1px solid var(--border);
+}
+
+.search__shortcut-label {
+ font-size: 0.8rem;
+ color: #86868b;
+}
+
+.search__shortcut-keys {
+ font-size: 1.02rem;
+ font-weight: 650;
+ letter-spacing: 0.01em;
+}
+
+.search__art {
+ margin: 0;
+ line-height: 0;
+ justify-self: end;
+ max-width: 460px;
+ width: 100%;
+ border-radius: 12px;
+ overflow: hidden;
+ background: #f5f5f7;
+ box-shadow: 0 10px 28px rgba(30, 45, 90, 0.1);
+ border: 1px solid rgba(0, 0, 0, 0.06);
+}
+
+.search__art img {
+ display: block;
+ width: 100%;
+ height: auto;
+}
+
+/* Sixth screen — backup & restore */
+.backup {
+ padding: 56px 0 64px;
+ background: #ffffff;
+}
+
+.backup__split {
+ display: grid;
+ grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
+ gap: 28px 48px;
+ align-items: center;
+}
+
+.backup__art {
+ margin: 0;
+ line-height: 0;
+ justify-self: start;
+ max-width: 540px;
+ width: 100%;
+ border-radius: 12px;
+ overflow: hidden;
+ background: #f5f5f7;
+ box-shadow: 0 10px 28px rgba(30, 45, 90, 0.1);
+ border: 1px solid rgba(0, 0, 0, 0.06);
+}
+
+.backup__art img {
+ display: block;
+ width: 100%;
+ height: auto;
+}
+
+.backup__headline {
+ margin: 0;
+ font-size: clamp(1.85rem, 3.8vw, 2.7rem);
+ font-weight: 800;
+ letter-spacing: -0.04em;
+ line-height: 1.12;
+ color: #000;
+}
+
+.backup__lead {
+ margin: 22px 0 0;
+ font-size: clamp(0.98rem, 1.55vw, 1.1rem);
+ line-height: 1.75;
+ color: #1d1d1f;
+ max-width: 24em;
+}
+
+.backup__lead strong {
+ font-weight: 700;
+ color: #000;
+}
+
+/* Seventh screen — offline & privacy */
+.privacy {
+ padding: 56px 0 64px;
+ background: #ffffff;
+}
+
+.privacy__split {
+ display: grid;
+ grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
+ gap: 28px 48px;
+ align-items: center;
+}
+
+.privacy__headline {
+ margin: 0;
+ font-size: clamp(2rem, 4.2vw, 3rem);
+ font-weight: 800;
+ letter-spacing: -0.04em;
+ line-height: 1.08;
+ color: #000;
+}
+
+.privacy__lead {
+ margin: 24px 0 0;
+ font-size: clamp(1rem, 1.6vw, 1.15rem);
+ line-height: 1.75;
+ color: #1d1d1f;
+ max-width: 26em;
+}
+
+.privacy__feature {
+ margin-top: 28px;
+}
+
+.privacy__feature-title {
+ margin: 0;
+ font-size: 1.08rem;
+ font-weight: 700;
+ color: #000;
+ display: flex;
+ align-items: center;
+ gap: 8px;
+}
+
+.privacy__feature-title--accent {
+ color: #1d1d1f;
+}
+
+.privacy__feature-icon {
+ width: 18px;
+ height: 18px;
+ border-radius: 50%;
+ background: #34c759;
+ display: inline-block;
+ flex-shrink: 0;
+ position: relative;
+}
+
+.privacy__feature-icon::after {
+ content: "";
+ position: absolute;
+ left: 5px;
+ top: 4px;
+ width: 5px;
+ height: 8px;
+ border-right: 2px solid #fff;
+ border-bottom: 2px solid #fff;
+ transform: rotate(40deg);
+}
+
+.privacy__feature-text {
+ margin: 8px 0 0;
+ font-size: 0.95rem;
+ line-height: 1.7;
+ color: #6e6e73;
+ max-width: 28em;
+}
+
+.privacy__protocol {
+ margin: 36px 0 0;
+ font-size: 0.72rem;
+ letter-spacing: 0.14em;
+ text-transform: uppercase;
+ color: #aeaeb2;
+}
+
+.privacy__art {
+ margin: 0;
+ line-height: 0;
+ justify-self: end;
+ max-width: 340px;
+ width: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.privacy__art img {
+ display: block;
+ width: min(100%, 320px);
+ height: auto;
+ filter: drop-shadow(0 18px 36px rgba(60, 80, 140, 0.16));
}
/* Main content */
@@ -377,6 +863,69 @@
.hero__art {
justify-content: center;
}
+
+ .views__split {
+ grid-template-columns: 1fr;
+ gap: 36px;
+ }
+
+ .views__gallery {
+ max-width: 100%;
+ justify-self: center;
+ }
+
+ .views__copy {
+ max-width: 36em;
+ }
+
+ .tags__split {
+ grid-template-columns: 1fr;
+ gap: 36px;
+ }
+
+ .tags__art {
+ justify-self: center;
+ max-width: 100%;
+ }
+
+ .memo__split {
+ grid-template-columns: 1fr;
+ gap: 36px;
+ }
+
+ .memo__art {
+ justify-self: center;
+ max-width: 100%;
+ }
+
+ .search__split {
+ grid-template-columns: 1fr;
+ gap: 36px;
+ }
+
+ .search__art {
+ justify-self: center;
+ max-width: 100%;
+ }
+
+ .backup__split {
+ grid-template-columns: 1fr;
+ gap: 36px;
+ }
+
+ .backup__art {
+ justify-self: center;
+ max-width: 100%;
+ }
+
+ .privacy__split {
+ grid-template-columns: 1fr;
+ gap: 36px;
+ }
+
+ .privacy__art {
+ justify-self: center;
+ }
}
@media (max-width: 560px) {
--
Gitblit v1.9.3