From 024cb1bcf5a4d85ca4b13945b87b15be8b262470 Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Sat, 06 Jun 2026 23:30:38 +0800
Subject: [PATCH] Push views shortcut box to the right edge
---
docs/styles.css | 137 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 135 insertions(+), 2 deletions(-)
diff --git a/docs/styles.css b/docs/styles.css
index baa980c..d454c23 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);
@@ -579,6 +591,110 @@
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 */
.page-main {
padding: 56px 0 72px;
@@ -764,6 +880,14 @@
max-width: 36em;
}
+ .views__modes-row {
+ flex-wrap: wrap;
+ }
+
+ .views__shortcut {
+ margin-left: 0;
+ }
+
.tags__split {
grid-template-columns: 1fr;
gap: 36px;
@@ -803,6 +927,15 @@
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