From 2e67f247adc6bb5c75b7e65c837e493e62058644 Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Sat, 06 Jun 2026 22:30:33 +0800
Subject: [PATCH] Add sixth screen: Backup & Restore image left, copy right
---
docs/styles.css | 755 +++++++++++++++++++++++++++++++++++++++++++++++----------
1 files changed, 620 insertions(+), 135 deletions(-)
diff --git a/docs/styles.css b/docs/styles.css
index 47294b9..baa980c 100644
--- a/docs/styles.css
+++ b/docs/styles.css
@@ -1,16 +1,18 @@
:root {
- --bg: #0a0b10;
- --bg-accent: #1a2240;
- --surface: rgba(28, 28, 34, 0.88);
- --text: #f5f5f7;
- --muted: #a1a1a6;
- --accent: #0a84ff;
- --accent-hover: #409cff;
- --border: rgba(255, 255, 255, 0.1);
- --radius: 18px;
- --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
- --max: 960px;
+ --layout-max: 1080px;
+ --layout-pad: 28px;
+ --header-h: 64px;
+ --bg: #f4f6fb;
+ --bg-elevated: #ffffff;
+ --text: #1d1d1f;
+ --muted: #5c5c66;
+ --accent: #0071e3;
+ --accent-hover: #0077ed;
+ --border: rgba(0, 0, 0, 0.08);
+ --radius: 16px;
+ --shadow: 0 20px 50px rgba(30, 45, 90, 0.12);
--font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Segoe UI", sans-serif;
+ --hero-bg: #ffffff;
}
* {
@@ -40,40 +42,33 @@
text-decoration: underline;
}
-.wrap {
- max-width: var(--max);
- margin: 0 auto;
- padding: 0 24px 80px;
+/* One width for header, main, footer */
+.layout {
+ width: 100%;
+ max-width: var(--layout-max);
+ margin-left: auto;
+ margin-right: auto;
+ padding-left: var(--layout-pad);
+ padding-right: var(--layout-pad);
}
-/* Header */
+/* Header — fixed lang switch slot on the right */
.site-header {
position: sticky;
top: 0;
- z-index: 30;
- backdrop-filter: blur(18px) saturate(1.2);
- background: color-mix(in srgb, var(--bg) 82%, transparent);
+ z-index: 50;
+ height: var(--header-h);
+ background: rgba(244, 246, 251, 0.82);
border-bottom: 1px solid var(--border);
+ backdrop-filter: blur(16px) saturate(1.25);
}
-.site-header--overlay {
- position: fixed;
- left: 0;
- right: 0;
- top: 0;
- background: linear-gradient(to bottom, rgba(6, 7, 14, 0.72), transparent);
- border-bottom: none;
- backdrop-filter: blur(12px);
-}
-
-.site-header .inner {
- max-width: 1200px;
- margin: 0 auto;
- padding: 14px 28px;
- display: flex;
+.site-header__bar {
+ height: var(--header-h);
+ display: grid;
+ grid-template-columns: auto 1fr auto;
align-items: center;
- justify-content: space-between;
- gap: 16px;
+ gap: 20px;
}
.brand {
@@ -81,9 +76,10 @@
align-items: center;
gap: 10px;
font-weight: 650;
- font-size: 1.05rem;
+ font-size: 1.02rem;
color: var(--text);
text-decoration: none;
+ white-space: nowrap;
}
.brand:hover {
@@ -91,99 +87,515 @@
}
.brand img {
- width: 36px;
- height: 36px;
- border-radius: 9px;
- box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
+ width: 34px;
+ height: 34px;
+ border-radius: 8px;
+ box-shadow: 0 4px 14px rgba(0, 113, 227, 0.22);
}
-nav {
+.site-nav {
display: flex;
flex-wrap: wrap;
- gap: 8px 18px;
+ justify-content: center;
+ gap: 6px 20px;
font-size: 0.92rem;
}
-nav a {
- color: rgba(245, 245, 247, 0.78);
+.site-nav a {
+ color: var(--muted);
}
-nav a[aria-current="page"] {
+.site-nav a[aria-current="page"] {
color: var(--text);
font-weight: 600;
}
-.lang-switch--header {
- margin: 0;
- font-size: 0.85rem;
+.lang-switch {
+ display: inline-flex;
+ align-items: center;
+ padding: 4px;
+ border-radius: 999px;
+ background: rgba(0, 0, 0, 0.05);
+ border: 1px solid var(--border);
+ flex-shrink: 0;
}
-.lang-switch--header a {
- color: rgba(245, 245, 247, 0.65);
- margin-left: 10px;
-}
-
-.lang-switch--header a.active {
- color: var(--text);
+.lang-switch a {
+ display: inline-block;
+ padding: 6px 14px;
+ border-radius: 999px;
+ font-size: 0.82rem;
font-weight: 600;
+ color: var(--muted);
+ text-decoration: none;
}
-/* Full-screen hero: one image + one tagline */
-.hero-full {
- position: relative;
+.lang-switch a:hover {
+ text-decoration: none;
+ color: var(--text);
+}
+
+.lang-switch a.is-active {
+ background: var(--bg-elevated);
+ color: var(--text);
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
+}
+
+/* Legacy floating hero icon — must not appear */
+.icon-float,
+.icon-orb {
+ display: none !important;
+}
+
+.page-home .site-header {
+ background: rgba(255, 255, 255, 0.88);
+}
+
+/* Hero — copy left, original design visual right (compact, no forced full-screen) */
+.hero {
width: 100%;
- min-height: 100svh;
- min-height: 100vh;
- display: flex;
- align-items: flex-end;
- justify-content: center;
+ padding: 40px 0 48px;
+ background: var(--hero-bg);
overflow: hidden;
- background: #06070e;
}
-.hero-full__img {
- position: absolute;
- inset: 0;
- width: 100%;
- height: 100%;
- object-fit: cover;
- object-position: center 38%;
+.hero__split {
+ display: grid;
+ grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
+ gap: 12px 32px;
+ align-items: center;
}
-.hero-full__tagline {
- position: relative;
- z-index: 2;
+.hero__copy {
+ padding: 8px 0;
+}
+
+.hero__headline {
margin: 0;
- padding: 0 32px max(48px, env(safe-area-inset-bottom, 0px) + 40px);
- max-width: 18em;
- text-align: center;
- font-size: clamp(1.5rem, 4.2vw, 2.75rem);
- font-weight: 650;
- letter-spacing: -0.03em;
- line-height: 1.15;
- color: #f5f5f7;
- text-shadow:
- 0 2px 24px rgba(0, 0, 0, 0.85),
- 0 0 80px rgba(0, 0, 0, 0.5);
+ font-size: clamp(2rem, 4.8vw, 3.15rem);
+ font-weight: 800;
+ letter-spacing: -0.04em;
+ line-height: 1.1;
+ color: #000;
}
-.content-below {
- padding-top: 56px;
+.hero__lead {
+ margin: 28px 0 0;
+ font-size: clamp(1rem, 1.7vw, 1.2rem);
+ line-height: 1.7;
+ color: #1d1d1f;
+ max-width: 22em;
+}
+
+/* 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: 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__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);
+}
+
+.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;
+}
+
+/* Main content */
+.page-main {
+ padding: 56px 0 72px;
}
.card {
- background: var(--surface);
+ background: var(--bg-elevated);
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: var(--shadow);
padding: 28px 32px;
- margin-bottom: 24px;
- backdrop-filter: blur(12px);
+ margin-bottom: 22px;
}
.card h2 {
- margin: 0 0 16px;
- font-size: 1.35rem;
+ margin: 0 0 14px;
+ font-size: 1.3rem;
letter-spacing: -0.02em;
}
@@ -192,7 +604,7 @@
}
.card-cta p {
- margin: 0 0 18px;
+ margin: 0 0 16px;
color: var(--muted);
}
@@ -205,13 +617,13 @@
.compare th,
.compare td {
text-align: left;
- padding: 12px 14px;
+ padding: 11px 12px;
border-bottom: 1px solid var(--border);
vertical-align: top;
}
.compare th {
- font-size: 0.8rem;
+ font-size: 0.78rem;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--muted);
@@ -224,19 +636,19 @@
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
- gap: 14px;
+ gap: 12px;
}
.feature {
- padding: 16px 18px;
- border-radius: 14px;
- background: color-mix(in srgb, var(--accent) 8%, var(--surface));
+ padding: 15px 17px;
+ border-radius: 12px;
+ background: #f8f9fd;
border: 1px solid var(--border);
}
.feature strong {
display: block;
- margin-bottom: 6px;
+ margin-bottom: 5px;
}
.cta-row {
@@ -248,16 +660,16 @@
.btn {
display: inline-block;
- padding: 12px 22px;
+ padding: 11px 22px;
border-radius: 999px;
font-weight: 600;
- font-size: 0.95rem;
+ font-size: 0.94rem;
}
.btn-primary {
background: var(--accent);
color: #fff;
- box-shadow: 0 10px 28px rgba(10, 132, 255, 0.35);
+ box-shadow: 0 8px 24px rgba(0, 113, 227, 0.28);
}
.btn-primary:hover {
@@ -267,7 +679,7 @@
}
.btn-secondary {
- background: rgba(255, 255, 255, 0.08);
+ background: var(--bg-elevated);
color: var(--text);
border: 1px solid var(--border);
}
@@ -277,12 +689,27 @@
}
.site-footer {
- margin-top: 48px;
- padding-top: 24px;
+ padding: 28px 0 48px;
border-top: 1px solid var(--border);
text-align: center;
font-size: 0.88rem;
color: var(--muted);
+}
+
+.site-footer p {
+ margin: 0 0 8px;
+}
+
+.prose h1 {
+ margin-top: 0;
+}
+
+.prose h2 {
+ margin-top: 1.5em;
+}
+
+.prose h3 {
+ margin-top: 1.2em;
}
kbd {
@@ -291,41 +718,99 @@
border-radius: 6px;
font-size: 0.82em;
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
- background: rgba(255, 255, 255, 0.08);
+ background: #f0f2f8;
border: 1px solid var(--border);
}
-/* Inner pages (support, privacy) — light readable prose */
-body:not(.page-home) {
- background:
- radial-gradient(ellipse 80% 50% at 10% -10%, rgba(90, 200, 250, 0.12), transparent 55%),
- var(--bg);
-}
-
-.prose {
- max-width: 720px;
-}
-
-.prose h1 {
- margin-top: 0;
-}
-
-.prose h2 {
- margin-top: 1.6em;
-}
-
-@media (max-width: 720px) {
- .site-header .inner {
- flex-wrap: wrap;
- padding: 12px 18px;
+@media (max-width: 860px) {
+ .site-header__bar {
+ grid-template-columns: auto auto;
+ grid-template-rows: auto auto;
}
- nav {
+ .site-nav {
+ grid-column: 1 / -1;
+ justify-content: flex-start;
order: 3;
- width: 100%;
}
- .hero-full__tagline {
- padding-bottom: 36px;
+ .lang-switch {
+ grid-column: 2;
+ grid-row: 1;
+ justify-self: end;
+ }
+
+ .hero__split {
+ grid-template-columns: 1fr;
+ min-height: auto;
+ gap: 32px;
+ }
+
+ .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%;
+ }
+}
+
+@media (max-width: 560px) {
+ :root {
+ --layout-pad: 18px;
+ }
+
+ .hero {
+ padding: 32px 0 48px;
}
}
\ No newline at end of file
--
Gitblit v1.9.3