From 5735f41d11ca362cc30854e545a970e63840a734 Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Sun, 07 Jun 2026 00:05:10 +0800
Subject: [PATCH] Restore page-main and card styles for support/privacy pages
---
docs/styles.css | 246 +++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 216 insertions(+), 30 deletions(-)
diff --git a/docs/styles.css b/docs/styles.css
index 6b05d92..22be05f 100644
--- a/docs/styles.css
+++ b/docs/styles.css
@@ -300,12 +300,24 @@
background: var(--accent);
}
+.views__modes-row {
+ display: flex;
+ align-items: center;
+ gap: 14px 20px;
+ width: 100%;
+}
+
+.views__modes-row__label {
+ flex-shrink: 0;
+}
+
.views__shortcut {
- margin-top: 32px;
display: inline-flex;
flex-direction: column;
gap: 6px;
- padding: 14px 20px;
+ margin-left: auto;
+ flex-shrink: 0;
+ padding: 12px 18px;
border-radius: 14px;
background: #f5f5f7;
border: 1px solid var(--border);
@@ -525,7 +537,165 @@
height: auto;
}
-/* Main content */
+/* 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));
+}
+
+/* Inner pages (support, privacy) */
.page-main {
padding: 56px 0 72px;
}
@@ -539,44 +709,33 @@
margin-bottom: 22px;
}
+.card h1,
.card h2 {
margin: 0 0 14px;
font-size: 1.3rem;
letter-spacing: -0.02em;
}
-.card-cta {
+/* Features + CTA — full-width white band */
+.features {
+ padding: 56px 0 72px;
+ background: #ffffff;
+}
+
+.features__headline {
+ margin: 0 0 24px;
+ font-size: 1.3rem;
+ letter-spacing: -0.02em;
+}
+
+.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 {
@@ -710,6 +869,14 @@
max-width: 36em;
}
+ .views__modes-row {
+ flex-wrap: wrap;
+ }
+
+ .views__shortcut {
+ margin-left: 0;
+ }
+
.tags__split {
grid-template-columns: 1fr;
gap: 36px;
@@ -739,6 +906,25 @@
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