jekyll-theme-zer0 1.27.0 → 1.28.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +386 -4
- data/_data/consumers.yml +147 -0
- data/_data/features.yml +77 -5
- data/_data/i18n/fr.yml +98 -0
- data/_data/i18n/manifest.yml +1502 -0
- data/_data/navigation/docs.yml +2 -0
- data/_data/navigation/main.yml +6 -0
- data/_data/series.yml +19 -0
- data/_data/theme-manifest.yml +348 -266
- data/_includes/README.md +21 -2
- data/_includes/analytics/google-tag-manager-body.html +11 -2
- data/_includes/analytics/google-tag-manager-head.html +16 -6
- data/_includes/analytics/posthog.html +33 -4
- data/_includes/components/abc-letter.html +43 -0
- data/_includes/components/book-card.html +42 -0
- data/_includes/components/book-nav.html +80 -0
- data/_includes/components/book-plate.html +31 -0
- data/_includes/components/book-toc.html +47 -0
- data/_includes/components/bookshelf.html +68 -0
- data/_includes/components/card-grid.html +60 -0
- data/_includes/components/data-card.html +95 -0
- data/_includes/components/halfmoon.html +5 -1
- data/_includes/components/page-feedback.html +65 -2
- data/_includes/components/theme-controls-bar.html +10 -2
- data/_includes/components/theme-customizer.html +8 -2
- data/_includes/content/seo.html +9 -3
- data/_includes/core/color-mode-init.html +13 -4
- data/_includes/core/favicon.html +46 -0
- data/_includes/core/head.html +9 -0
- data/_includes/custom/body-end.html +18 -0
- data/_includes/custom/body-start.html +17 -0
- data/_includes/custom/footer.html +18 -0
- data/_includes/custom/head.html +18 -0
- data/_includes/navigation/local-graph.html +28 -2
- data/_includes/navigation/nav-tree.html +3 -3
- data/_includes/navigation/sidebar-config.html +21 -0
- data/_includes/navigation/sidebar-nav.html +4 -0
- data/_includes/navigation/sidebar-pagetree.html +150 -0
- data/_includes/navigation/unified-drawer.html +8 -2
- data/_includes/obsidian/full-graph.html +165 -136
- data/_layouts/404.html +260 -0
- data/_layouts/README.md +2 -0
- data/_layouts/book-abc.html +106 -0
- data/_layouts/book-story.html +91 -0
- data/_layouts/book.html +113 -0
- data/_layouts/collection.html +17 -5
- data/_layouts/home.html +5 -2
- data/_layouts/landing.html +9 -0
- data/_layouts/news.html +155 -31
- data/_layouts/root.html +16 -2
- data/_layouts/section.html +57 -15
- data/_sass/components/_book.scss +423 -0
- data/_sass/core/_navbar.scss +13 -0
- data/_sass/core/_obsidian.scss +286 -6
- data/_sass/theme/_backgrounds.scss +21 -8
- data/assets/css/main.scss +1 -0
- data/assets/js/auto-hide-nav.js +5 -1
- data/assets/js/halfmoon.js +26 -0
- data/assets/js/obsidian-graph.js +702 -264
- data/assets/js/obsidian-local-graph.js +161 -54
- data/assets/js/search-modal.js +4 -1
- data/scripts/bin/manifest +31 -4
- data/scripts/bin/validate +5 -1
- data/scripts/install/README.md +47 -6
- data/scripts/install/ai/client.sh +302 -93
- data/scripts/install/ai/prompts/spec.schema.json +1 -1
- data/scripts/install/ai/wizard.sh +10 -5
- data/scripts/install/apply.sh +7 -3
- data/scripts/install/cli.sh +54 -4
- data/scripts/install/config.sh +167 -0
- data/scripts/install/doctor.sh +38 -0
- data/scripts/install/plan.sh +10 -0
- data/scripts/install/spec.sh +15 -7
- data/scripts/install/template.sh +4 -0
- data/scripts/propagate.rb +277 -0
- data/scripts/translate.rb +90 -0
- metadata +27 -2
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// BOOK COLLECTION — children's picture-book presentation (Feature: ZER0-080)
|
|
3
|
+
// ----------------------------------------------------------------------------
|
|
4
|
+
// Styles for the `books` collection: bookshelf cards, the book landing page
|
|
5
|
+
// (cover hero + table of contents), and the immersive story reading surface.
|
|
6
|
+
//
|
|
7
|
+
// Used by:
|
|
8
|
+
// _layouts/book.html, _layouts/book-story.html, _layouts/book-abc.html
|
|
9
|
+
// _includes/components/bookshelf.html, book-card.html, book-toc.html,
|
|
10
|
+
// _includes/components/book-nav.html, book-plate.html, abc-letter.html
|
|
11
|
+
//
|
|
12
|
+
// Theming: everything reads Bootstrap's runtime custom properties
|
|
13
|
+
// (var(--bs-*)) so light/dark color modes and theme skins work for free.
|
|
14
|
+
// Consumer knobs are exposed as --zer0-book-* custom properties.
|
|
15
|
+
// ============================================================================
|
|
16
|
+
|
|
17
|
+
:root {
|
|
18
|
+
// Friendly, readable storybook serif — system stacks only (no CDN fonts).
|
|
19
|
+
--zer0-book-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
|
|
20
|
+
"Times New Roman", serif;
|
|
21
|
+
--zer0-book-font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
|
|
22
|
+
--zer0-book-measure: 42rem; // comfortable line length for read-aloud text
|
|
23
|
+
--zer0-book-plate-radius: 1rem;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// ----------------------------------------------------------------------------
|
|
27
|
+
// Cover frame — shared by bookshelf cards and the book landing hero.
|
|
28
|
+
// A portrait "physical book" look: 3/4 ratio, soft spine shadow, hover lift.
|
|
29
|
+
// ----------------------------------------------------------------------------
|
|
30
|
+
.book-cover-frame {
|
|
31
|
+
position: relative;
|
|
32
|
+
display: block;
|
|
33
|
+
aspect-ratio: 3 / 4;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
border-radius: 0.5rem 1rem 1rem 0.5rem; // subtle spine on the left
|
|
36
|
+
box-shadow:
|
|
37
|
+
inset 0.35rem 0 0.5rem -0.35rem rgba(0, 0, 0, 0.45), // spine crease
|
|
38
|
+
0 0.75rem 1.5rem rgba(0, 0, 0, 0.25);
|
|
39
|
+
background-color: var(--bs-secondary-bg);
|
|
40
|
+
|
|
41
|
+
img {
|
|
42
|
+
width: 100%;
|
|
43
|
+
height: 100%;
|
|
44
|
+
object-fit: cover;
|
|
45
|
+
display: block;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.book-card {
|
|
50
|
+
.book-cover-frame {
|
|
51
|
+
transition: transform 0.25s ease, box-shadow 0.25s ease;
|
|
52
|
+
|
|
53
|
+
@media (prefers-reduced-motion: reduce) {
|
|
54
|
+
transition: none;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&:hover .book-cover-frame,
|
|
59
|
+
&:focus-within .book-cover-frame {
|
|
60
|
+
transform: translateY(-0.25rem) rotate(-1deg);
|
|
61
|
+
box-shadow:
|
|
62
|
+
inset 0.35rem 0 0.5rem -0.35rem rgba(0, 0, 0, 0.45),
|
|
63
|
+
0 1.25rem 2rem rgba(0, 0, 0, 0.3);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// ----------------------------------------------------------------------------
|
|
68
|
+
// Book landing hero (cover + title block)
|
|
69
|
+
// ----------------------------------------------------------------------------
|
|
70
|
+
.book-hero {
|
|
71
|
+
.book-hero-title {
|
|
72
|
+
font-family: var(--zer0-book-serif);
|
|
73
|
+
letter-spacing: -0.01em;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.book-hero-cover {
|
|
77
|
+
max-width: 22rem;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// ----------------------------------------------------------------------------
|
|
82
|
+
// Table of contents — one row per story/chapter
|
|
83
|
+
// ----------------------------------------------------------------------------
|
|
84
|
+
.book-toc {
|
|
85
|
+
.book-toc-item {
|
|
86
|
+
display: flex;
|
|
87
|
+
align-items: center;
|
|
88
|
+
gap: 1rem;
|
|
89
|
+
padding: 0.75rem 1rem;
|
|
90
|
+
border: 1px solid var(--bs-border-color);
|
|
91
|
+
border-radius: 0.75rem;
|
|
92
|
+
background-color: var(--bs-body-bg);
|
|
93
|
+
color: var(--bs-body-color);
|
|
94
|
+
text-decoration: none;
|
|
95
|
+
transition: transform 0.15s ease, border-color 0.15s ease;
|
|
96
|
+
|
|
97
|
+
@media (prefers-reduced-motion: reduce) {
|
|
98
|
+
transition: none;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&:hover,
|
|
102
|
+
&:focus-visible {
|
|
103
|
+
border-color: var(--bs-primary);
|
|
104
|
+
transform: translateX(0.25rem);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.book-toc-number {
|
|
109
|
+
flex: 0 0 auto;
|
|
110
|
+
display: inline-flex;
|
|
111
|
+
align-items: center;
|
|
112
|
+
justify-content: center;
|
|
113
|
+
width: 2.5rem;
|
|
114
|
+
height: 2.5rem;
|
|
115
|
+
border-radius: 50%;
|
|
116
|
+
font-weight: 700;
|
|
117
|
+
background-color: var(--bs-primary-bg-subtle);
|
|
118
|
+
color: var(--bs-primary-text-emphasis);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.book-toc-thumb {
|
|
122
|
+
flex: 0 0 auto;
|
|
123
|
+
width: 4.5rem;
|
|
124
|
+
height: 3rem;
|
|
125
|
+
object-fit: cover;
|
|
126
|
+
border-radius: 0.5rem;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
// ----------------------------------------------------------------------------
|
|
131
|
+
// Story reading surface — big friendly type, generous leading, drop cap
|
|
132
|
+
// ----------------------------------------------------------------------------
|
|
133
|
+
.book-story-content {
|
|
134
|
+
max-width: var(--zer0-book-measure);
|
|
135
|
+
margin-inline: auto;
|
|
136
|
+
font-family: var(--zer0-book-serif);
|
|
137
|
+
font-size: var(--zer0-book-font-size);
|
|
138
|
+
line-height: 1.8;
|
|
139
|
+
|
|
140
|
+
p {
|
|
141
|
+
margin-bottom: 1.25em;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
// Storybook drop cap on the opening paragraph.
|
|
145
|
+
> p:first-of-type::first-letter {
|
|
146
|
+
float: left;
|
|
147
|
+
font-size: 3.2em;
|
|
148
|
+
line-height: 0.85;
|
|
149
|
+
padding-right: 0.12em;
|
|
150
|
+
font-weight: 700;
|
|
151
|
+
color: var(--bs-primary-text-emphasis);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// Bare markdown images inside a story get the plate treatment too, so
|
|
155
|
+
// content written without the book-plate include still looks right.
|
|
156
|
+
> p > img,
|
|
157
|
+
> img {
|
|
158
|
+
display: block;
|
|
159
|
+
width: 100%;
|
|
160
|
+
height: auto;
|
|
161
|
+
border-radius: var(--zer0-book-plate-radius);
|
|
162
|
+
box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.2);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
// Illustration plate (figure + optional caption). Plates break out a little
|
|
167
|
+
// wider than the text measure to feel like full-bleed picture-book art.
|
|
168
|
+
.book-plate {
|
|
169
|
+
margin: 2rem auto;
|
|
170
|
+
max-width: min(52rem, 100%);
|
|
171
|
+
|
|
172
|
+
img {
|
|
173
|
+
width: 100%;
|
|
174
|
+
height: auto;
|
|
175
|
+
display: block;
|
|
176
|
+
border-radius: var(--zer0-book-plate-radius);
|
|
177
|
+
box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.2);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
figcaption {
|
|
181
|
+
margin-top: 0.5rem;
|
|
182
|
+
text-align: center;
|
|
183
|
+
font-style: italic;
|
|
184
|
+
font-size: 0.875rem;
|
|
185
|
+
color: var(--bs-secondary-color);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
// "The End" flourish
|
|
190
|
+
.book-the-end {
|
|
191
|
+
font-family: var(--zer0-book-serif);
|
|
192
|
+
font-style: italic;
|
|
193
|
+
text-align: center;
|
|
194
|
+
color: var(--bs-secondary-color);
|
|
195
|
+
|
|
196
|
+
&::before,
|
|
197
|
+
&::after {
|
|
198
|
+
content: "❦";
|
|
199
|
+
margin-inline: 0.75rem;
|
|
200
|
+
color: var(--bs-primary-text-emphasis);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
// ----------------------------------------------------------------------------
|
|
205
|
+
// Colophon — collapsed "how the illustrations were made" provenance block
|
|
206
|
+
// ----------------------------------------------------------------------------
|
|
207
|
+
.book-colophon {
|
|
208
|
+
max-width: var(--zer0-book-measure);
|
|
209
|
+
margin-inline: auto;
|
|
210
|
+
|
|
211
|
+
summary {
|
|
212
|
+
cursor: pointer;
|
|
213
|
+
color: var(--bs-secondary-color);
|
|
214
|
+
|
|
215
|
+
&:hover {
|
|
216
|
+
color: var(--bs-body-color);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.book-colophon-prompt {
|
|
221
|
+
font-size: 0.85rem;
|
|
222
|
+
color: var(--bs-secondary-color);
|
|
223
|
+
background-color: var(--bs-tertiary-bg);
|
|
224
|
+
border-radius: 0.5rem;
|
|
225
|
+
padding: 0.75rem 1rem;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
// ----------------------------------------------------------------------------
|
|
230
|
+
// Print — read/print the story cleanly (plates keep their ink, chrome goes)
|
|
231
|
+
// ----------------------------------------------------------------------------
|
|
232
|
+
@media print {
|
|
233
|
+
.book-story-nav,
|
|
234
|
+
.book-colophon {
|
|
235
|
+
display: none !important;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.book-plate img,
|
|
239
|
+
.book-story-content img {
|
|
240
|
+
box-shadow: none;
|
|
241
|
+
break-inside: avoid;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
// ============================================================================
|
|
246
|
+
// ABC BOARD BOOKS — the "ABC & Language" series (Feature: ZER0-081)
|
|
247
|
+
// ----------------------------------------------------------------------------
|
|
248
|
+
// Single-scroll toddler alphabet books: _layouts/book-abc.html renders a grid
|
|
249
|
+
// of abc-letter cards. Each art style (art_style front matter) adds a
|
|
250
|
+
// .abc-style--<id> skin that tints the placeholder tiles and letter badges.
|
|
251
|
+
// ============================================================================
|
|
252
|
+
|
|
253
|
+
// A–Z quick-jump strip.
|
|
254
|
+
.abc-jump {
|
|
255
|
+
display: flex;
|
|
256
|
+
flex-wrap: wrap;
|
|
257
|
+
gap: 0.35rem;
|
|
258
|
+
justify-content: center;
|
|
259
|
+
margin-bottom: 2rem;
|
|
260
|
+
|
|
261
|
+
&-link {
|
|
262
|
+
display: inline-flex;
|
|
263
|
+
align-items: center;
|
|
264
|
+
justify-content: center;
|
|
265
|
+
min-width: 2rem;
|
|
266
|
+
padding: 0.15rem 0.4rem;
|
|
267
|
+
font-family: var(--zer0-book-serif);
|
|
268
|
+
font-weight: 700;
|
|
269
|
+
text-decoration: none;
|
|
270
|
+
color: var(--bs-primary-text-emphasis);
|
|
271
|
+
background-color: var(--bs-primary-bg-subtle);
|
|
272
|
+
border-radius: 0.4rem;
|
|
273
|
+
|
|
274
|
+
&:hover,
|
|
275
|
+
&:focus-visible {
|
|
276
|
+
color: var(--bs-body-bg);
|
|
277
|
+
background-color: var(--bs-primary);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
// The board: a responsive grid of letter cards.
|
|
283
|
+
.abc-board {
|
|
284
|
+
display: grid;
|
|
285
|
+
grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
|
|
286
|
+
gap: 1.5rem;
|
|
287
|
+
--abc-tint: var(--bs-primary-bg-subtle);
|
|
288
|
+
--abc-badge-bg: var(--bs-primary);
|
|
289
|
+
--abc-badge-ink: var(--bs-body-bg);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.abc-letter {
|
|
293
|
+
scroll-margin-top: 5rem; // clear the sticky navbar on #letter-x jumps
|
|
294
|
+
text-align: center;
|
|
295
|
+
|
|
296
|
+
&-plate {
|
|
297
|
+
position: relative;
|
|
298
|
+
aspect-ratio: 1 / 1;
|
|
299
|
+
border-radius: var(--zer0-book-plate-radius);
|
|
300
|
+
overflow: hidden;
|
|
301
|
+
box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.18);
|
|
302
|
+
background-color: var(--abc-tint);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
&-img {
|
|
306
|
+
width: 100%;
|
|
307
|
+
height: 100%;
|
|
308
|
+
object-fit: cover;
|
|
309
|
+
display: block;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
// Placeholder tile shown until the plate is rendered.
|
|
313
|
+
&-placeholder {
|
|
314
|
+
position: absolute;
|
|
315
|
+
inset: 0;
|
|
316
|
+
display: flex;
|
|
317
|
+
flex-direction: column;
|
|
318
|
+
align-items: center;
|
|
319
|
+
justify-content: center;
|
|
320
|
+
gap: 0.5rem;
|
|
321
|
+
background-image: radial-gradient(
|
|
322
|
+
circle at 50% 40%,
|
|
323
|
+
color-mix(in srgb, var(--abc-tint) 55%, white),
|
|
324
|
+
var(--abc-tint)
|
|
325
|
+
);
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
&-glyph {
|
|
329
|
+
font-family: var(--zer0-book-serif);
|
|
330
|
+
font-weight: 800;
|
|
331
|
+
font-size: clamp(4rem, 10vw, 7rem);
|
|
332
|
+
line-height: 1;
|
|
333
|
+
color: var(--abc-badge-bg);
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
&-planned {
|
|
337
|
+
font-size: 0.7rem;
|
|
338
|
+
text-transform: uppercase;
|
|
339
|
+
letter-spacing: 0.05em;
|
|
340
|
+
color: var(--bs-secondary-color);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
// The big letter, always shown as HTML type (never baked into the art).
|
|
344
|
+
&-badge {
|
|
345
|
+
position: absolute;
|
|
346
|
+
left: 0.6rem;
|
|
347
|
+
bottom: 0.6rem;
|
|
348
|
+
display: inline-flex;
|
|
349
|
+
align-items: center;
|
|
350
|
+
justify-content: center;
|
|
351
|
+
width: 2.6rem;
|
|
352
|
+
height: 2.6rem;
|
|
353
|
+
border-radius: 0.7rem;
|
|
354
|
+
font-family: var(--zer0-book-serif);
|
|
355
|
+
font-weight: 800;
|
|
356
|
+
font-size: 1.5rem;
|
|
357
|
+
color: var(--abc-badge-ink);
|
|
358
|
+
background-color: var(--abc-badge-bg);
|
|
359
|
+
box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.25);
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
&-word {
|
|
363
|
+
font-family: var(--zer0-book-serif);
|
|
364
|
+
font-weight: 700;
|
|
365
|
+
font-size: 1.4rem;
|
|
366
|
+
margin: 0.8rem 0 0.15rem;
|
|
367
|
+
color: var(--bs-emphasis-color);
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
&-tagline {
|
|
371
|
+
font-family: var(--zer0-book-serif);
|
|
372
|
+
font-size: 1rem;
|
|
373
|
+
line-height: 1.4;
|
|
374
|
+
color: var(--bs-secondary-color);
|
|
375
|
+
max-width: 22rem;
|
|
376
|
+
margin-inline: auto;
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
// ----------------------------------------------------------------------------
|
|
381
|
+
// Art-style skins — one per art_style id in the shared catalog. Each tints the
|
|
382
|
+
// placeholder ground and letter badge so a book reads as one look before (and
|
|
383
|
+
// after) its plates render. Ids are the cross-repo contract with zer0-CMS +
|
|
384
|
+
// zer0-image-generator (data/abc_art_styles.yml).
|
|
385
|
+
// ----------------------------------------------------------------------------
|
|
386
|
+
.abc-style--isometric-tech-toy {
|
|
387
|
+
--abc-tint: #dceaff;
|
|
388
|
+
--abc-badge-bg: #2b7de9;
|
|
389
|
+
--abc-badge-ink: #fff;
|
|
390
|
+
}
|
|
391
|
+
.abc-style--chalkboard-doodle {
|
|
392
|
+
--abc-tint: #2f4f45;
|
|
393
|
+
--abc-badge-bg: #f4d35e;
|
|
394
|
+
--abc-badge-ink: #23342d;
|
|
395
|
+
|
|
396
|
+
.abc-letter-glyph { color: #f7fbf9; }
|
|
397
|
+
.abc-letter-planned { color: rgba(255, 255, 255, 0.7); }
|
|
398
|
+
}
|
|
399
|
+
.abc-style--soft-plush {
|
|
400
|
+
--abc-tint: #ffe6ef;
|
|
401
|
+
--abc-badge-bg: #f48fb1;
|
|
402
|
+
--abc-badge-ink: #5a2436;
|
|
403
|
+
}
|
|
404
|
+
.abc-style--crayon-primary {
|
|
405
|
+
--abc-tint: #fff3c4;
|
|
406
|
+
--abc-badge-bg: #e23b3b;
|
|
407
|
+
--abc-badge-ink: #fff;
|
|
408
|
+
}
|
|
409
|
+
.abc-style--paper-cutout {
|
|
410
|
+
--abc-tint: #ffe8d1;
|
|
411
|
+
--abc-badge-bg: #d98b4a;
|
|
412
|
+
--abc-badge-ink: #fff;
|
|
413
|
+
}
|
|
414
|
+
.abc-style--watercolor-storybook {
|
|
415
|
+
--abc-tint: #eef4e6;
|
|
416
|
+
--abc-badge-bg: #7fa05a;
|
|
417
|
+
--abc-badge-ink: #fff;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
@media print {
|
|
421
|
+
.abc-jump { display: none !important; }
|
|
422
|
+
.abc-letter-plate { box-shadow: none; break-inside: avoid; }
|
|
423
|
+
}
|
data/_sass/core/_navbar.scss
CHANGED
|
@@ -489,6 +489,19 @@
|
|
|
489
489
|
--bs-offcanvas-width: min(21rem, 86vw);
|
|
490
490
|
}
|
|
491
491
|
|
|
492
|
+
// #bdNavbar lives INSIDE the fixed header, whose stacking context sits at
|
|
493
|
+
// Bootstrap's $zindex-fixed (1030) — below the body-level offcanvas
|
|
494
|
+
// backdrop (1040). The menu's own z-index (1045) only orders it within the
|
|
495
|
+
// header's context, so without help the whole open menu paints BEHIND the
|
|
496
|
+
// backdrop and none of its links are tappable. Lift the header above the
|
|
497
|
+
// backdrop only while its offcanvas is opening/open/closing. Browsers
|
|
498
|
+
// without :has() just keep the old (dimmed-menu) behavior.
|
|
499
|
+
body:has(#bdNavbar.offcanvas-lg.showing) header.fixed-top,
|
|
500
|
+
body:has(#bdNavbar.offcanvas-lg.show) header.fixed-top,
|
|
501
|
+
body:has(#bdNavbar.offcanvas-lg.hiding) header.fixed-top {
|
|
502
|
+
z-index: 1046; // $zindex-offcanvas (1045) + 1
|
|
503
|
+
}
|
|
504
|
+
|
|
492
505
|
// Wrapper is inert on mobile so offcanvas layout matches pre-wrapper structure
|
|
493
506
|
#bdNavbar .bd-navbar-nav-viewport {
|
|
494
507
|
display: contents;
|