From 39e759d015af5d82f387b57a8d137bdeb844d430 Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Fri, 19 Jun 2026 22:40:08 +0800
Subject: [PATCH] Fix historical Apple default note migration
---
docs/styles.css | 831 ++++++++++++++++++++++++++++++++++++++++++++++++----------
1 files changed, 678 insertions(+), 153 deletions(-)
diff --git a/docs/styles.css b/docs/styles.css
index 60f8bb5..32614ee 100644
--- a/docs/styles.css
+++ b/docs/styles.css
@@ -12,7 +12,10 @@
--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: linear-gradient(155deg, #eef2fa 0%, #e2e9f6 42%, #d6dff0 100%);
+ --hero-bg: #ffffff;
+ --section-blue: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
+ --section-lilac: linear-gradient(135deg, #fbfcff 0%, #ffffff 44%, #f8f5ff 100%);
+ --section-mint: linear-gradient(135deg, #ffffff 0%, #f7fbff 52%, #f3fbf7 100%);
}
* {
@@ -29,8 +32,12 @@
color: var(--text);
line-height: 1.55;
-webkit-font-smoothing: antialiased;
- background: var(--bg);
+ background: linear-gradient(180deg, #fbfcff 0%, #f4f7ff 38%, #f5fbf8 72%, #fbfcff 100%);
min-height: 100vh;
+}
+
+.page-home {
+ background: #ffffff;
}
a {
@@ -58,7 +65,7 @@
top: 0;
z-index: 50;
height: var(--header-h);
- background: rgba(244, 246, 251, 0.82);
+ background: rgba(250, 252, 255, 0.86);
border-bottom: 1px solid var(--border);
backdrop-filter: blur(16px) saturate(1.25);
}
@@ -141,139 +148,599 @@
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
+.sr-only {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ margin: -1px;
+ overflow: hidden;
+ clip: rect(0, 0, 0, 0);
+ white-space: nowrap;
+ border: 0;
+}
+
+.lang-switch--select {
+ padding: 0;
+ background: rgba(0, 0, 0, 0.045);
+}
+
+.language-select {
+ max-width: 150px;
+ min-height: 36px;
+ padding: 6px 30px 6px 12px;
+ border: 0;
+ border-radius: 999px;
+ color: var(--text);
+ background: transparent;
+ font: inherit;
+ font-size: 0.86rem;
+ font-weight: 650;
+}
+
+.language-select:focus-visible {
+ outline: 2px solid rgba(0, 113, 227, 0.42);
+ outline-offset: 2px;
+}
+
/* Legacy floating hero icon — must not appear */
.icon-float,
.icon-orb {
display: none !important;
}
-/* Hero — light studio, glass screenshots + reflection */
+.page-home .site-header {
+ background: #ffffff;
+}
+
+/* Hero — copy left, original design visual right (compact, no forced full-screen) */
.hero {
- position: relative;
width: 100%;
- min-height: calc(100svh - var(--header-h));
- min-height: calc(100vh - var(--header-h));
- padding: 40px 0 56px;
+ padding: 40px 0 48px;
+ background: var(--hero-bg);
overflow: hidden;
+}
+
+.hero__split {
+ display: grid;
+ grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
+ gap: 12px 32px;
+ align-items: center;
+}
+
+.hero__copy {
+ padding: 8px 0;
+}
+
+.hero__headline {
+ margin: 0;
+ font-size: clamp(2rem, 4.8vw, 3.15rem);
+ font-weight: 800;
+ letter-spacing: 0;
+ line-height: 1.1;
+ color: #000;
+ overflow-wrap: anywhere;
+}
+
+.hero__headline span {
+ display: block;
+}
+
+.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__mosaic {
- position: relative;
- width: min(1040px, 92vw);
- height: min(560px, 58vh);
- margin: 0 auto;
- perspective: 1600px;
- perspective-origin: 50% 40%;
+.hero__art img {
+ display: block;
+ width: 100%;
+ max-width: 100%;
+ height: auto;
+ background: var(--hero-bg);
+ border: 0;
}
-.glass-panel {
- position: absolute;
+/* Second screen — 4 view modes */
+.views {
+ padding: 56px 0 64px;
+ background: var(--section-blue);
+}
+
+.views__split {
+ display: grid;
+ grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
+ gap: 28px 48px;
+ align-items: start;
+}
+
+.views__gallery {
+ display: grid;
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ gap: 12px;
+ max-width: 500px;
+ justify-self: start;
+}
+
+.views__shot {
margin: 0;
- transform-style: preserve-3d;
-}
-
-.glass-panel__frame {
- border-radius: 22px;
- padding: 11px;
- background: rgba(255, 255, 255, 0.62);
- backdrop-filter: blur(22px) saturate(1.35);
- -webkit-backdrop-filter: blur(22px) saturate(1.35);
- border: 1px solid rgba(255, 255, 255, 0.85);
- box-shadow:
- 0 1px 0 rgba(255, 255, 255, 0.95) inset,
- 0 28px 70px rgba(40, 55, 100, 0.18),
- 0 10px 28px rgba(40, 55, 100, 0.1);
-}
-
-.glass-panel__body {
- border-radius: 14px;
+ aspect-ratio: 720 / 450;
+ border-radius: 12px;
overflow: hidden;
line-height: 0;
- background: #fff;
+ background: #f5f5f7;
+ box-shadow: 0 10px 28px rgba(30, 45, 90, 0.1);
+ border: 1px solid rgba(0, 0, 0, 0.06);
}
-.glass-panel__body img {
+.views__shot img {
display: block;
width: 100%;
- height: auto;
+ height: 100%;
+ object-fit: cover;
+ object-position: center bottom;
}
-.glass-panel__shine {
+.views__headline {
+ margin: 0;
+ font-size: clamp(1.85rem, 3.8vw, 2.7rem);
+ font-weight: 800;
+ letter-spacing: 0;
+ 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__details {
+ display: grid;
+ grid-template-columns: minmax(190px, 1fr) max-content;
+ gap: 20px 34px;
+ align-items: end;
+}
+
+.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;
- inset: 0;
- border-radius: 22px;
- pointer-events: none;
- background: linear-gradient(
- 125deg,
- rgba(255, 255, 255, 0.55) 0%,
- transparent 42%,
- transparent 70%,
- rgba(255, 255, 255, 0.15) 100%
- );
+ left: 0;
+ top: 0.58em;
+ width: 8px;
+ height: 8px;
+ border-radius: 50%;
+ background: var(--accent);
}
-.glass-panel__reflection {
- margin-top: 10px;
- padding: 0 11px 0;
- transform: scaleY(-1);
- opacity: 0.26;
- filter: blur(0.3px);
- mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, transparent 72%);
- -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, transparent 72%);
-}
-
-.glass-panel__reflection img {
- display: block;
- width: 100%;
- height: auto;
+.views__shortcut {
+ display: inline-flex;
+ flex-direction: column;
+ gap: 6px;
+ margin-top: 0;
+ flex-shrink: 0;
+ padding: 12px 18px;
border-radius: 14px;
+ background: #f5f5f7;
+ border: 1px solid var(--border);
}
-.glass-panel--main {
- left: 50%;
- top: 6%;
- width: 62%;
- transform: translateX(-50%) rotateY(-7deg) rotateX(7deg) translateZ(30px);
- z-index: 2;
+.views__shortcut-label {
+ font-size: 0.8rem;
+ color: #86868b;
}
-.glass-panel--memo {
- right: -2%;
- bottom: 2%;
- width: 44%;
- transform: rotateY(11deg) rotateX(-3deg) translateZ(80px);
- z-index: 4;
-}
-
-.glass-panel--tags {
- left: -4%;
- top: 18%;
- width: 42%;
- transform: rotateY(-12deg) rotateX(4deg) translateZ(50px);
- z-index: 3;
-}
-
-.hero__tagline {
- margin: 36px auto 0;
- text-align: center;
- font-size: clamp(1.45rem, 3.8vw, 2.35rem);
- font-weight: 650;
- letter-spacing: -0.03em;
- line-height: 1.2;
- color: #1a1a22;
- max-width: 16em;
-}
-
-.hero__tagline-sub {
- margin: 12px auto 0;
- text-align: center;
+.views__shortcut-keys {
font-size: 1.02rem;
- color: var(--muted);
+ font-weight: 650;
+ letter-spacing: 0.01em;
+}
+
+/* Third screen — tag management */
+.tags {
+ padding: 56px 0 64px;
+ background: var(--section-lilac);
+}
+
+.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;
+ line-height: 1.12;
+ color: #000;
+}
+
+.tags__points {
+ list-style: none;
+ margin: 28px 0 0;
+ padding: 0;
+ display: grid;
+ gap: 18px;
max-width: 28em;
}
-/* Main content */
+.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;
+ aspect-ratio: 880 / 552;
+ 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: 100%;
+ object-fit: cover;
+ object-position: center bottom;
+}
+
+/* Fourth screen — app memos */
+.memo {
+ padding: 56px 0 64px;
+ background: var(--section-mint);
+}
+
+.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;
+ aspect-ratio: 880 / 552;
+ 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: 100%;
+ object-fit: cover;
+ object-position: center bottom;
+}
+
+.memo__headline {
+ margin: 0;
+ font-size: clamp(1.85rem, 3.8vw, 2.7rem);
+ font-weight: 800;
+ letter-spacing: 0;
+ 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: var(--section-lilac);
+}
+
+.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;
+ 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: 500px;
+ width: 100%;
+ border-radius: 0;
+ overflow: visible;
+ background: transparent;
+ box-shadow: none;
+ border: 0;
+}
+
+.search__art img {
+ display: block;
+ width: 100%;
+ height: auto;
+ filter: drop-shadow(0 14px 28px rgba(30, 45, 90, 0.12));
+}
+
+/* Sixth screen — backup & restore */
+.backup {
+ padding: 56px 0 64px;
+ background: var(--section-blue);
+}
+
+.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;
+ 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: var(--section-mint);
+}
+
+.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;
+ 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__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));
+}
+
+/* Inner pages (support, privacy) */
.page-main {
padding: 56px 0 72px;
}
@@ -287,55 +754,44 @@
margin-bottom: 22px;
}
+.card h1,
.card h2 {
margin: 0 0 14px;
font-size: 1.3rem;
- letter-spacing: -0.02em;
+ letter-spacing: 0;
}
-.card-cta {
+/* Features + CTA — full-width white band */
+.features {
+ padding: 56px 0 72px;
+ background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
+}
+
+.features__headline {
+ margin: 0 0 24px;
+ font-size: 1.3rem;
+ letter-spacing: 0;
+}
+
+.features__cta {
+ margin-top: 40px;
text-align: center;
}
-.card-cta p {
+.features__cta p {
margin: 0 0 16px;
color: var(--muted);
}
-.compare {
- width: 100%;
- border-collapse: collapse;
- font-size: 0.95rem;
-}
-
-.compare th,
-.compare td {
- text-align: left;
- padding: 11px 12px;
- border-bottom: 1px solid var(--border);
- vertical-align: top;
-}
-
-.compare th {
- font-size: 0.78rem;
- text-transform: uppercase;
- letter-spacing: 0.04em;
- color: var(--muted);
-}
-
-.compare tr:last-child td {
- border-bottom: none;
-}
-
.feature-grid {
display: grid;
- grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
+ grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.feature {
padding: 15px 17px;
- border-radius: 12px;
+ border-radius: 8px;
background: #f8f9fd;
border: 1px solid var(--border);
}
@@ -417,9 +873,18 @@
}
@media (max-width: 860px) {
+ .site-header {
+ height: auto;
+ }
+
.site-header__bar {
grid-template-columns: auto auto;
grid-template-rows: auto auto;
+ height: auto;
+ min-height: var(--header-h);
+ gap: 8px 14px;
+ padding-top: 8px;
+ padding-bottom: 10px;
}
.site-nav {
@@ -434,25 +899,90 @@
justify-self: end;
}
- .hero__mosaic {
- height: min(480px, 52vh);
+ .hero__split {
+ grid-template-columns: 1fr;
+ min-height: auto;
+ gap: 32px;
}
- .glass-panel--main {
- width: 78%;
- top: 4%;
+ .hero__art {
+ justify-content: center;
}
- .glass-panel--memo {
- width: 52%;
- right: -6%;
- bottom: 0;
+ .views__split {
+ grid-template-columns: 1fr;
+ gap: 36px;
}
- .glass-panel--tags {
- width: 50%;
- left: -8%;
- top: 28%;
+ .views__gallery {
+ max-width: 100%;
+ justify-self: center;
+ }
+
+ .views__copy {
+ max-width: 36em;
+ }
+
+ .views__details {
+ grid-template-columns: 1fr;
+ gap: 24px;
+ }
+
+ .views__shortcut {
+ justify-self: start;
+ }
+
+ .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;
+ }
+
+ .feature-grid {
+ grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@@ -462,15 +992,10 @@
}
.hero {
- padding-bottom: 40px;
+ padding: 32px 0 48px;
}
- .hero__mosaic {
- height: 400px;
+ .feature-grid {
+ grid-template-columns: 1fr;
}
-
- .glass-panel--memo,
- .glass-panel--tags {
- opacity: 0.92;
- }
-}
\ No newline at end of file
+}
--
Gitblit v1.9.3