sessionwiki 2.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sessionwiki/__init__.py +74 -0
- sessionwiki/__main__.py +6 -0
- sessionwiki/_frontmatter.py +118 -0
- sessionwiki/_system_pages.py +44 -0
- sessionwiki/adapter_config.py +124 -0
- sessionwiki/adapters/__init__.py +134 -0
- sessionwiki/adapters/base.py +191 -0
- sessionwiki/adapters/claude_code.py +77 -0
- sessionwiki/adapters/codex_cli.py +226 -0
- sessionwiki/adapters/contrib/__init__.py +1 -0
- sessionwiki/adapters/contrib/chatgpt.py +252 -0
- sessionwiki/adapters/contrib/copilot_chat.py +121 -0
- sessionwiki/adapters/contrib/copilot_cli.py +115 -0
- sessionwiki/adapters/contrib/cursor.py +100 -0
- sessionwiki/adapters/contrib/gemini_cli.py +74 -0
- sessionwiki/adapters/contrib/obsidian.py +121 -0
- sessionwiki/adapters/opencode.py +169 -0
- sessionwiki/adapters/status.py +58 -0
- sessionwiki/adapters/zcode.py +45 -0
- sessionwiki/audit.py +174 -0
- sessionwiki/backlinks.py +224 -0
- sessionwiki/build.py +2786 -0
- sessionwiki/cache.py +401 -0
- sessionwiki/candidates.py +309 -0
- sessionwiki/categories.py +158 -0
- sessionwiki/changelog_timeline.py +422 -0
- sessionwiki/cli.py +1687 -0
- sessionwiki/compare.py +404 -0
- sessionwiki/completion.py +191 -0
- sessionwiki/confidence.py +179 -0
- sessionwiki/config.py +74 -0
- sessionwiki/config_schedule.py +77 -0
- sessionwiki/context_md.py +182 -0
- sessionwiki/convert.py +1746 -0
- sessionwiki/docs_pages.py +725 -0
- sessionwiki/doctor.py +113 -0
- sessionwiki/exporters.py +680 -0
- sessionwiki/freshness.py +153 -0
- sessionwiki/graph.py +1058 -0
- sessionwiki/graphify_bridge.py +509 -0
- sessionwiki/ingest_queue.py +101 -0
- sessionwiki/lifecycle.py +167 -0
- sessionwiki/link_checker.py +148 -0
- sessionwiki/lint/__init__.py +170 -0
- sessionwiki/lint/rules/__init__.py +69 -0
- sessionwiki/lint/rules/_helpers.py +119 -0
- sessionwiki/lint/rules/claim_verification.py +44 -0
- sessionwiki/lint/rules/content_freshness.py +41 -0
- sessionwiki/lint/rules/contradiction_detection.py +45 -0
- sessionwiki/lint/rules/duplicate_detection.py +164 -0
- sessionwiki/lint/rules/entity_consistency.py +29 -0
- sessionwiki/lint/rules/frontmatter_completeness.py +46 -0
- sessionwiki/lint/rules/frontmatter_count_consistency.py +61 -0
- sessionwiki/lint/rules/frontmatter_validity.py +71 -0
- sessionwiki/lint/rules/index_sync.py +68 -0
- sessionwiki/lint/rules/link_integrity.py +34 -0
- sessionwiki/lint/rules/orphan_detection.py +43 -0
- sessionwiki/lint/rules/stale_candidates.py +59 -0
- sessionwiki/lint/rules/stale_reference_detection.py +42 -0
- sessionwiki/lint/rules/summary_accuracy.py +36 -0
- sessionwiki/lint/rules/tags_topics_convention.py +58 -0
- sessionwiki/lint/rules/tools_consistency.py +65 -0
- sessionwiki/lock.py +126 -0
- sessionwiki/log_reader.py +129 -0
- sessionwiki/manifest.py +132 -0
- sessionwiki/mcp/__init__.py +29 -0
- sessionwiki/mcp/__main__.py +5 -0
- sessionwiki/mcp/server.py +1061 -0
- sessionwiki/models_page.py +291 -0
- sessionwiki/obsidian_output.py +208 -0
- sessionwiki/opencode/__init__.py +1 -0
- sessionwiki/opencode/autosync.py +102 -0
- sessionwiki/opencode/export.py +419 -0
- sessionwiki/opencode/install.py +152 -0
- sessionwiki/pipeline.py +150 -0
- sessionwiki/project_topics.py +213 -0
- sessionwiki/py.typed +0 -0
- sessionwiki/quarantine.py +273 -0
- sessionwiki/queue.py +29 -0
- sessionwiki/references.py +224 -0
- sessionwiki/render/__init__.py +20 -0
- sessionwiki/render/css.py +988 -0
- sessionwiki/render/docs_css.py +463 -0
- sessionwiki/render/js.py +1337 -0
- sessionwiki/schema.py +270 -0
- sessionwiki/search_facets.py +150 -0
- sessionwiki/search_tree.py +184 -0
- sessionwiki/serve.py +91 -0
- sessionwiki/session_export.py +333 -0
- sessionwiki/skill_installer.py +112 -0
- sessionwiki/sync/__init__.py +13 -0
- sessionwiki/sync/status.py +120 -0
- sessionwiki/synth/__init__.py +14 -0
- sessionwiki/synth/agent_delegate.py +327 -0
- sessionwiki/synth/base.py +125 -0
- sessionwiki/synth/cli_helpers.py +98 -0
- sessionwiki/synth/estimate.py +146 -0
- sessionwiki/synth/ollama.py +379 -0
- sessionwiki/synth/openai_compat.py +325 -0
- sessionwiki/synth/pipeline.py +1489 -0
- sessionwiki/tag_utils.py +62 -0
- sessionwiki/tags.py +359 -0
- sessionwiki/vault.py +347 -0
- sessionwiki/viz_heatmap.py +305 -0
- sessionwiki/viz_tokens.py +429 -0
- sessionwiki/viz_tools.py +241 -0
- sessionwiki/watch.py +154 -0
- sessionwiki/zcode/__init__.py +43 -0
- sessionwiki/zcode/autosync.py +150 -0
- sessionwiki/zcode/export.py +568 -0
- sessionwiki/zcode/install.py +386 -0
- sessionwiki-2.0.0.dist-info/METADATA +303 -0
- sessionwiki-2.0.0.dist-info/RECORD +118 -0
- sessionwiki-2.0.0.dist-info/WHEEL +5 -0
- sessionwiki-2.0.0.dist-info/entry_points.txt +2 -0
- sessionwiki-2.0.0.dist-info/licenses/LICENSE +22 -0
- sessionwiki-2.0.0.dist-info/licenses/NOTICE +14 -0
- sessionwiki-2.0.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,463 @@
|
|
|
1
|
+
"""Docs-specific visual system (v1.2.0 · #265).
|
|
2
|
+
|
|
3
|
+
"Minimalism + Trust & Authority" — quiet premium editorial aesthetic for
|
|
4
|
+
the `docs/` + `docs/tutorials/` pages when rendered into the static site.
|
|
5
|
+
Applied by adding `docs_shell: true` to the page's frontmatter.
|
|
6
|
+
|
|
7
|
+
Design brief (inherited from the brand-system doc #115):
|
|
8
|
+
|
|
9
|
+
- Max-width 760 px body (single-column reading), 1200 px hub grid.
|
|
10
|
+
- Inter 1.0625 rem / 1.75 line-height for prose, JetBrains Mono 0.9 rem
|
|
11
|
+
for inline + block code.
|
|
12
|
+
- Type scale: h1 3.25 rem 700, h2 1.75 rem 650, h3 1.25 rem 600. Large
|
|
13
|
+
numbered section markers (``01 · Install``).
|
|
14
|
+
- Single purple accent (#7C3AED) — same through-line as the rest of the
|
|
15
|
+
site. Neutral off-white (#FAFAF9) background, deep ink (#0F172A) body.
|
|
16
|
+
- Hairline borders (1 px), zero drop shadows on content.
|
|
17
|
+
- Generous vertical rhythm: 96 px section padding, 48 px between
|
|
18
|
+
h2 → h3 → p.
|
|
19
|
+
- Callouts: Trusted (emerald) / Warning (amber) / Result (violet) as the
|
|
20
|
+
only editorial chrome.
|
|
21
|
+
|
|
22
|
+
Rules:
|
|
23
|
+
|
|
24
|
+
- Every selector is namespaced under `.docs-shell` so the styles only
|
|
25
|
+
apply to pages that opt in via ``docs_shell: true``.
|
|
26
|
+
- Inherits brand-system CSS tokens rather than inventing new ones.
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
from __future__ import annotations
|
|
30
|
+
|
|
31
|
+
# Docs-only CSS, appended to the main stylesheet. Scoped under
|
|
32
|
+
# `.docs-shell` so it can't leak onto regular session / entity pages.
|
|
33
|
+
DOCS_SHELL_CSS = """
|
|
34
|
+
/* --- Docs shell (v1.2.0 · #265) --- */
|
|
35
|
+
.docs-shell {
|
|
36
|
+
max-width: 760px;
|
|
37
|
+
margin: 0 auto;
|
|
38
|
+
padding: 64px 32px 128px;
|
|
39
|
+
font-family: var(--font);
|
|
40
|
+
font-size: 1.0625rem;
|
|
41
|
+
line-height: 1.75;
|
|
42
|
+
color: var(--text);
|
|
43
|
+
letter-spacing: -0.01em;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.docs-shell > h1,
|
|
47
|
+
.docs-shell > header h1 {
|
|
48
|
+
font-size: 2.75rem;
|
|
49
|
+
font-weight: 700;
|
|
50
|
+
letter-spacing: -0.02em;
|
|
51
|
+
line-height: 1.15;
|
|
52
|
+
margin: 48px 0 20px;
|
|
53
|
+
color: var(--text);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.docs-shell h2 {
|
|
57
|
+
font-size: 1.75rem;
|
|
58
|
+
font-weight: 650;
|
|
59
|
+
letter-spacing: -0.02em;
|
|
60
|
+
line-height: 1.25;
|
|
61
|
+
margin: 72px 0 20px;
|
|
62
|
+
padding-top: 32px;
|
|
63
|
+
border-top: 1px solid var(--border-subtle);
|
|
64
|
+
color: var(--text);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.docs-shell h2:first-of-type {
|
|
68
|
+
border-top: none;
|
|
69
|
+
padding-top: 0;
|
|
70
|
+
margin-top: 48px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.docs-shell h3 {
|
|
74
|
+
font-size: 1.25rem;
|
|
75
|
+
font-weight: 600;
|
|
76
|
+
letter-spacing: -0.01em;
|
|
77
|
+
line-height: 1.3;
|
|
78
|
+
margin: 48px 0 16px;
|
|
79
|
+
color: var(--text);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.docs-shell h4 {
|
|
83
|
+
font-size: 1rem;
|
|
84
|
+
font-weight: 600;
|
|
85
|
+
margin: 32px 0 12px;
|
|
86
|
+
color: var(--text);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.docs-shell p,
|
|
90
|
+
.docs-shell ul,
|
|
91
|
+
.docs-shell ol {
|
|
92
|
+
margin: 0 0 20px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.docs-shell ul,
|
|
96
|
+
.docs-shell ol {
|
|
97
|
+
padding-left: 1.6em;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.docs-shell li {
|
|
101
|
+
margin: 8px 0;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.docs-shell li > p {
|
|
105
|
+
margin: 0 0 8px;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* Inline code */
|
|
109
|
+
.docs-shell p code,
|
|
110
|
+
.docs-shell li code,
|
|
111
|
+
.docs-shell td code,
|
|
112
|
+
.docs-shell th code {
|
|
113
|
+
font-family: var(--mono);
|
|
114
|
+
font-size: 0.875em;
|
|
115
|
+
padding: 2px 6px;
|
|
116
|
+
background: var(--bg-code);
|
|
117
|
+
border: 1px solid var(--border-subtle);
|
|
118
|
+
border-radius: 4px;
|
|
119
|
+
color: var(--text);
|
|
120
|
+
letter-spacing: 0;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* Code blocks */
|
|
124
|
+
.docs-shell pre {
|
|
125
|
+
font-family: var(--mono);
|
|
126
|
+
font-size: 0.9rem;
|
|
127
|
+
line-height: 1.65;
|
|
128
|
+
background: var(--bg-code);
|
|
129
|
+
border: 1px solid var(--border-subtle);
|
|
130
|
+
border-radius: 8px;
|
|
131
|
+
padding: 20px 24px;
|
|
132
|
+
margin: 28px 0;
|
|
133
|
+
overflow-x: auto;
|
|
134
|
+
color: var(--text);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.docs-shell pre code {
|
|
138
|
+
font-family: inherit;
|
|
139
|
+
background: transparent;
|
|
140
|
+
border: none;
|
|
141
|
+
padding: 0;
|
|
142
|
+
font-size: inherit;
|
|
143
|
+
color: inherit;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* Links */
|
|
147
|
+
.docs-shell a {
|
|
148
|
+
color: var(--accent);
|
|
149
|
+
text-decoration: underline;
|
|
150
|
+
text-decoration-thickness: 1px;
|
|
151
|
+
text-underline-offset: 3px;
|
|
152
|
+
text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
|
|
153
|
+
transition: text-decoration-color 0.12s ease;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.docs-shell a:hover {
|
|
157
|
+
text-decoration-color: var(--accent);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/* Blockquote — used for the "Trusted" / "Warning" / "Result" callouts */
|
|
161
|
+
.docs-shell blockquote {
|
|
162
|
+
margin: 28px 0;
|
|
163
|
+
padding: 16px 24px;
|
|
164
|
+
background: var(--accent-bg);
|
|
165
|
+
border-left: 3px solid var(--accent);
|
|
166
|
+
border-radius: 4px;
|
|
167
|
+
color: var(--text);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.docs-shell blockquote p {
|
|
171
|
+
margin: 0;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/* Horizontal rules — editorial dividers */
|
|
175
|
+
.docs-shell hr {
|
|
176
|
+
margin: 72px auto;
|
|
177
|
+
width: 56px;
|
|
178
|
+
height: 1px;
|
|
179
|
+
background: var(--border);
|
|
180
|
+
border: none;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/* Tables — clean editorial look */
|
|
184
|
+
.docs-shell table {
|
|
185
|
+
width: 100%;
|
|
186
|
+
border-collapse: collapse;
|
|
187
|
+
margin: 32px 0;
|
|
188
|
+
font-size: 0.96rem;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.docs-shell thead th {
|
|
192
|
+
text-align: left;
|
|
193
|
+
font-weight: 600;
|
|
194
|
+
padding: 12px 16px;
|
|
195
|
+
border-bottom: 1px solid var(--border);
|
|
196
|
+
color: var(--text-secondary);
|
|
197
|
+
font-size: 0.85rem;
|
|
198
|
+
text-transform: uppercase;
|
|
199
|
+
letter-spacing: 0.06em;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.docs-shell tbody td {
|
|
203
|
+
padding: 14px 16px;
|
|
204
|
+
border-bottom: 1px solid var(--border-subtle);
|
|
205
|
+
vertical-align: top;
|
|
206
|
+
color: var(--text);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.docs-shell tbody tr:last-child td {
|
|
210
|
+
border-bottom: none;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/* Frontmatter strip — "Time: 5 min · You'll need: …" stacked below the
|
|
214
|
+
title as a hairline rule with one row per field. Grid keeps labels in
|
|
215
|
+
a narrow left column so values align across fields + wrap cleanly. */
|
|
216
|
+
.docs-shell .docs-meta {
|
|
217
|
+
display: grid;
|
|
218
|
+
grid-template-columns: max-content 1fr;
|
|
219
|
+
gap: 8px 20px;
|
|
220
|
+
padding: 20px 0;
|
|
221
|
+
margin: 0 0 56px;
|
|
222
|
+
border-top: 1px solid var(--border-subtle);
|
|
223
|
+
border-bottom: 1px solid var(--border-subtle);
|
|
224
|
+
font-size: 0.93rem;
|
|
225
|
+
color: var(--text-secondary);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.docs-shell .docs-meta dt {
|
|
229
|
+
color: var(--text-muted);
|
|
230
|
+
font-size: 0.72rem;
|
|
231
|
+
font-weight: 600;
|
|
232
|
+
text-transform: uppercase;
|
|
233
|
+
letter-spacing: 0.1em;
|
|
234
|
+
align-self: start;
|
|
235
|
+
padding-top: 3px;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.docs-shell .docs-meta dd {
|
|
239
|
+
margin: 0;
|
|
240
|
+
line-height: 1.55;
|
|
241
|
+
color: var(--text);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.docs-shell .docs-meta code {
|
|
245
|
+
font-family: var(--mono);
|
|
246
|
+
font-size: 0.85em;
|
|
247
|
+
padding: 1px 6px;
|
|
248
|
+
background: var(--bg-code);
|
|
249
|
+
border: 1px solid var(--border-subtle);
|
|
250
|
+
border-radius: 4px;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.docs-shell .docs-meta a {
|
|
254
|
+
color: var(--accent);
|
|
255
|
+
text-decoration: underline;
|
|
256
|
+
text-decoration-thickness: 1px;
|
|
257
|
+
text-underline-offset: 2px;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/* Tutorial lead-in — the first paragraph after the meta strip. The
|
|
261
|
+
heading after it gives just enough rhythm; we lift the paragraph to
|
|
262
|
+
a slightly larger size + calmer color so the "Why this matters"
|
|
263
|
+
section header reads as a proper divider. */
|
|
264
|
+
.docs-shell > .docs-meta + hr + h2 + p,
|
|
265
|
+
.docs-shell > h1 + p {
|
|
266
|
+
font-size: 1.15rem;
|
|
267
|
+
line-height: 1.65;
|
|
268
|
+
color: var(--text-secondary);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/* Emphasis for bold inline — a touch darker than regular body */
|
|
272
|
+
.docs-shell strong {
|
|
273
|
+
font-weight: 600;
|
|
274
|
+
color: var(--text);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/* Responsive */
|
|
278
|
+
@media (max-width: 760px) {
|
|
279
|
+
.docs-shell {
|
|
280
|
+
padding: 40px 20px 96px;
|
|
281
|
+
font-size: 1rem;
|
|
282
|
+
line-height: 1.7;
|
|
283
|
+
}
|
|
284
|
+
.docs-shell > h1 {
|
|
285
|
+
font-size: 2.25rem;
|
|
286
|
+
}
|
|
287
|
+
.docs-shell h2 {
|
|
288
|
+
font-size: 1.4rem;
|
|
289
|
+
margin-top: 56px;
|
|
290
|
+
}
|
|
291
|
+
.docs-shell pre {
|
|
292
|
+
padding: 16px 18px;
|
|
293
|
+
border-radius: 6px;
|
|
294
|
+
}
|
|
295
|
+
.docs-shell table {
|
|
296
|
+
display: block;
|
|
297
|
+
overflow-x: auto;
|
|
298
|
+
white-space: nowrap;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/* Dark mode — inherit all tokens, no overrides needed; just nudge blockquote */
|
|
303
|
+
:root[data-theme="dark"] .docs-shell blockquote {
|
|
304
|
+
background: color-mix(in srgb, var(--accent) 10%, transparent);
|
|
305
|
+
}
|
|
306
|
+
@media (prefers-color-scheme: dark) {
|
|
307
|
+
:root:not([data-theme="light"]) .docs-shell blockquote {
|
|
308
|
+
background: color-mix(in srgb, var(--accent) 10%, transparent);
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/* Hub index hero — applied to docs/index.md h1 only. Stays a full step
|
|
313
|
+
bigger than tutorial h1 (2.75 rem) so the hub is unmistakably the
|
|
314
|
+
landing page. */
|
|
315
|
+
.docs-shell.docs-hub > h1 {
|
|
316
|
+
font-size: 3.5rem;
|
|
317
|
+
letter-spacing: -0.03em;
|
|
318
|
+
margin-bottom: 12px;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.docs-shell.docs-hub > h1 + p {
|
|
322
|
+
font-size: 1.25rem;
|
|
323
|
+
line-height: 1.55;
|
|
324
|
+
color: var(--text-secondary);
|
|
325
|
+
max-width: 620px;
|
|
326
|
+
margin-bottom: 72px;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
/* Passthrough pages (reference docs, adapter guides, deploy guides)
|
|
330
|
+
get a gentler wrapper — same column width + typography, but the
|
|
331
|
+
meta-strip / hub-hero accents don't apply. */
|
|
332
|
+
.docs-shell.docs-passthrough > h1 {
|
|
333
|
+
font-size: 2.4rem;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
@media (max-width: 760px) {
|
|
337
|
+
.docs-shell.docs-hub > h1 {
|
|
338
|
+
font-size: 2.5rem;
|
|
339
|
+
}
|
|
340
|
+
.docs-shell.docs-hub > h1 + p {
|
|
341
|
+
font-size: 1.0625rem;
|
|
342
|
+
margin-bottom: 48px;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
/* #282: tutorial table of contents + prev/next footer + edit-on-GitHub.
|
|
347
|
+
Scoped under `.docs-shell`. */
|
|
348
|
+
|
|
349
|
+
.docs-shell .tutorial-toc {
|
|
350
|
+
margin: 24px 0 40px 0;
|
|
351
|
+
padding: 14px 18px;
|
|
352
|
+
background: var(--bg-alt);
|
|
353
|
+
border: 1px solid var(--border-subtle);
|
|
354
|
+
border-radius: 8px;
|
|
355
|
+
font-size: 0.92rem;
|
|
356
|
+
}
|
|
357
|
+
.docs-shell .tutorial-toc summary {
|
|
358
|
+
cursor: pointer;
|
|
359
|
+
font-weight: 600;
|
|
360
|
+
color: var(--text-muted);
|
|
361
|
+
text-transform: uppercase;
|
|
362
|
+
letter-spacing: 0.06em;
|
|
363
|
+
font-size: 0.78rem;
|
|
364
|
+
}
|
|
365
|
+
.docs-shell .tutorial-toc ul {
|
|
366
|
+
list-style: none;
|
|
367
|
+
padding: 0;
|
|
368
|
+
margin: 10px 0 0 0;
|
|
369
|
+
}
|
|
370
|
+
.docs-shell .tutorial-toc li {
|
|
371
|
+
padding: 2px 0;
|
|
372
|
+
}
|
|
373
|
+
.docs-shell .tutorial-toc a {
|
|
374
|
+
color: var(--text);
|
|
375
|
+
text-decoration: none;
|
|
376
|
+
}
|
|
377
|
+
.docs-shell .tutorial-toc a:hover {
|
|
378
|
+
text-decoration: underline;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/* #387 U9: on the docs hub specifically, make the TOC sticky on desktop
|
|
382
|
+
so a user scrolling through 80+ enumerated editorial pages always has
|
|
383
|
+
in-page navigation in view. Falls back to the inline TOC at narrow
|
|
384
|
+
viewports. */
|
|
385
|
+
@media (min-width: 1024px) {
|
|
386
|
+
.docs-shell.docs-hub .tutorial-toc {
|
|
387
|
+
position: sticky;
|
|
388
|
+
top: 80px;
|
|
389
|
+
max-height: calc(100vh - 100px);
|
|
390
|
+
overflow-y: auto;
|
|
391
|
+
margin: 0 0 24px 0;
|
|
392
|
+
}
|
|
393
|
+
.docs-shell.docs-hub .tutorial-toc summary {
|
|
394
|
+
/* On the hub, the TOC is the primary nav — surface it open by default
|
|
395
|
+
(the <details open> already does this) and use a clearer label. */
|
|
396
|
+
color: var(--accent);
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.docs-shell .tutorial-footer-rule {
|
|
401
|
+
margin-top: 48px;
|
|
402
|
+
border: 0;
|
|
403
|
+
border-top: 1px solid var(--border-subtle);
|
|
404
|
+
}
|
|
405
|
+
.docs-shell .tutorial-footer {
|
|
406
|
+
display: grid;
|
|
407
|
+
grid-template-columns: 1fr 1fr;
|
|
408
|
+
gap: 16px;
|
|
409
|
+
margin-top: 24px;
|
|
410
|
+
}
|
|
411
|
+
.docs-shell .tutorial-footer .prev-tut,
|
|
412
|
+
.docs-shell .tutorial-footer .next-tut {
|
|
413
|
+
display: flex;
|
|
414
|
+
flex-direction: column;
|
|
415
|
+
padding: 14px 18px;
|
|
416
|
+
border: 1px solid var(--border-subtle);
|
|
417
|
+
border-radius: 8px;
|
|
418
|
+
text-decoration: none;
|
|
419
|
+
color: var(--text);
|
|
420
|
+
transition: border-color 0.15s, transform 0.15s;
|
|
421
|
+
}
|
|
422
|
+
.docs-shell .tutorial-footer .prev-tut:hover,
|
|
423
|
+
.docs-shell .tutorial-footer .next-tut:hover {
|
|
424
|
+
border-color: var(--accent);
|
|
425
|
+
transform: translateY(-1px);
|
|
426
|
+
}
|
|
427
|
+
.docs-shell .tutorial-footer .next-tut {
|
|
428
|
+
text-align: right;
|
|
429
|
+
}
|
|
430
|
+
.docs-shell .tutorial-footer .placeholder {
|
|
431
|
+
visibility: hidden;
|
|
432
|
+
}
|
|
433
|
+
.docs-shell .tutorial-footer .tut-nav-dir {
|
|
434
|
+
color: var(--text-muted);
|
|
435
|
+
font-size: 0.78rem;
|
|
436
|
+
text-transform: uppercase;
|
|
437
|
+
letter-spacing: 0.04em;
|
|
438
|
+
}
|
|
439
|
+
.docs-shell .tutorial-footer .tut-nav-title {
|
|
440
|
+
font-weight: 600;
|
|
441
|
+
margin-top: 4px;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.docs-shell .tutorial-edit {
|
|
445
|
+
text-align: center;
|
|
446
|
+
margin: 20px 0 8px 0;
|
|
447
|
+
font-size: 0.85rem;
|
|
448
|
+
}
|
|
449
|
+
.docs-shell .tutorial-edit a {
|
|
450
|
+
color: var(--text-muted);
|
|
451
|
+
text-decoration: none;
|
|
452
|
+
}
|
|
453
|
+
.docs-shell .tutorial-edit a:hover {
|
|
454
|
+
color: var(--accent);
|
|
455
|
+
text-decoration: underline;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
@media (max-width: 760px) {
|
|
459
|
+
.docs-shell .tutorial-footer {
|
|
460
|
+
grid-template-columns: 1fr;
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
"""
|