datalog-theme 0.6.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.
Files changed (180) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +162 -0
  3. data/CITATION.cff +29 -0
  4. data/LICENSE +21 -0
  5. data/README.md +257 -0
  6. data/_data/academic.yml +217 -0
  7. data/_data/cdn-integrity.yml +51 -0
  8. data/_data/config/author.yml +121 -0
  9. data/_data/config/features.yml +262 -0
  10. data/_data/config/site.yml +42 -0
  11. data/_data/config/theme.yml +181 -0
  12. data/_data/datasets.yml +28 -0
  13. data/_data/i18n/en.yml +438 -0
  14. data/_data/i18n/es.yml +438 -0
  15. data/_data/i18n/pt.yml +438 -0
  16. data/_data/js_manifest.json +22 -0
  17. data/_data/js_meta.json +371 -0
  18. data/_data/navigation.yml +145 -0
  19. data/_data/projects.yml +41 -0
  20. data/_data/publications.yml +28 -0
  21. data/_data/social.yml +73 -0
  22. data/_data/visualizations.yml +51 -0
  23. data/_includes/analytics/dashboard.html +149 -0
  24. data/_includes/analytics.html +9 -0
  25. data/_includes/components/academic-dashboard.html +347 -0
  26. data/_includes/components/advanced-search.html +682 -0
  27. data/_includes/components/api-function.html +94 -0
  28. data/_includes/components/author-bio.html +166 -0
  29. data/_includes/components/bookmark-system.html +96 -0
  30. data/_includes/components/breadcrumbs.html +89 -0
  31. data/_includes/components/citation-tools.html +94 -0
  32. data/_includes/components/comments.html +244 -0
  33. data/_includes/components/content-provenance.html +43 -0
  34. data/_includes/components/content-recommendations.html +228 -0
  35. data/_includes/components/difficulty-badge.html +84 -0
  36. data/_includes/components/email-preferences.html +200 -0
  37. data/_includes/components/enhanced-code-block.html +212 -0
  38. data/_includes/components/enhanced-metadata.html +228 -0
  39. data/_includes/components/enhanced-toc.html +209 -0
  40. data/_includes/components/hero.html +15 -0
  41. data/_includes/components/language-switcher.html +396 -0
  42. data/_includes/components/math-fallback.html +19 -0
  43. data/_includes/components/navigation-enhancements.html +454 -0
  44. data/_includes/components/newsletter-signup.html +178 -0
  45. data/_includes/components/open-science-badges.html +16 -0
  46. data/_includes/components/package-install.html +194 -0
  47. data/_includes/components/performance-monitor.html +170 -0
  48. data/_includes/components/popular-posts.html +233 -0
  49. data/_includes/components/post-hero.html +62 -0
  50. data/_includes/components/reading-progress.html +133 -0
  51. data/_includes/components/reading-time.html +121 -0
  52. data/_includes/components/responsive-image.html +63 -0
  53. data/_includes/components/search-facets.html +307 -0
  54. data/_includes/components/series-navigation.html +124 -0
  55. data/_includes/components/social-proof.html +34 -0
  56. data/_includes/components/social-share.html +119 -0
  57. data/_includes/components/user-preferences.html +566 -0
  58. data/_includes/components/visualization-card.html +24 -0
  59. data/_includes/components/viz-table-fallback.html +19 -0
  60. data/_includes/critical-css/default.html +0 -0
  61. data/_includes/critical-css/home.html +0 -0
  62. data/_includes/critical-css/post.html +0 -0
  63. data/_includes/csp-meta.html +17 -0
  64. data/_includes/footer/nav-column.html +31 -0
  65. data/_includes/footer.html +76 -0
  66. data/_includes/head.html +337 -0
  67. data/_includes/header/navigation.html +48 -0
  68. data/_includes/header.html +70 -0
  69. data/_includes/helpers/array-to-sentence.html +21 -0
  70. data/_includes/helpers/date-format.html +16 -0
  71. data/_includes/helpers/link-with-icon.html +26 -0
  72. data/_includes/layouts/default/article.html +67 -0
  73. data/_includes/meta/language-attributes.html +25 -0
  74. data/_includes/meta/math-config.html +21 -0
  75. data/_includes/meta/schema.html +153 -0
  76. data/_includes/meta/scripts-loader.html +52 -0
  77. data/_includes/post/related-posts.html +63 -0
  78. data/_includes/scripts.html +72 -0
  79. data/_includes/skip-link.html +1 -0
  80. data/_includes/toc.html +2 -0
  81. data/_layouts/archive.html +282 -0
  82. data/_layouts/dataset.html +52 -0
  83. data/_layouts/default.html +33 -0
  84. data/_layouts/home.html +48 -0
  85. data/_layouts/notebook.html +173 -0
  86. data/_layouts/package.html +238 -0
  87. data/_layouts/page.html +16 -0
  88. data/_layouts/portfolio.html +41 -0
  89. data/_layouts/post-sidebar.html +183 -0
  90. data/_layouts/post.html +338 -0
  91. data/_layouts/project.html +252 -0
  92. data/_layouts/research.html +504 -0
  93. data/_plugins/analytics_dashboard.rb +315 -0
  94. data/_plugins/config_validator.rb +397 -0
  95. data/_plugins/csp_generator.rb +115 -0
  96. data/_plugins/datalog_bibliography.rb +19 -0
  97. data/_plugins/datalog_comments.rb +18 -0
  98. data/_plugins/datalog_slides.rb +20 -0
  99. data/_plugins/front_matter_compat.rb +109 -0
  100. data/_plugins/i18n.rb +160 -0
  101. data/_plugins/image_optimizer.rb +445 -0
  102. data/_plugins/math_preprocessor.rb +185 -0
  103. data/_plugins/notebook_converter.rb +1107 -0
  104. data/_plugins/plugin_loader.rb +185 -0
  105. data/_plugins/publications_generator.rb +234 -0
  106. data/_plugins/reading_time.rb +15 -0
  107. data/_plugins/search_normalizer.rb +74 -0
  108. data/_plugins/sri_filter.rb +18 -0
  109. data/_plugins/toc_filter.rb +68 -0
  110. data/_plugins/warning_filter.rb +3 -0
  111. data/_sass/_base.scss +142 -0
  112. data/_sass/_components.scss +2380 -0
  113. data/_sass/_header.scss +470 -0
  114. data/_sass/_interactive.scss +344 -0
  115. data/_sass/_layout.scss +1760 -0
  116. data/_sass/_mathematical.scss +368 -0
  117. data/_sass/_mixins.scss +99 -0
  118. data/_sass/_package-docs.scss +715 -0
  119. data/_sass/_phase1-enhancements.scss +721 -0
  120. data/_sass/_phase3-enhancements.scss +874 -0
  121. data/_sass/_phase4-enhancements.scss +1214 -0
  122. data/_sass/_phase5-enhancements.scss +414 -0
  123. data/_sass/_search.scss +654 -0
  124. data/_sass/_syntax-highlighting.scss +128 -0
  125. data/_sass/_theme.scss +79 -0
  126. data/_sass/_typography.scss +148 -0
  127. data/_sass/_utilities.scss +334 -0
  128. data/_sass/_variables.scss +153 -0
  129. data/_sass/_visualizations.scss +242 -0
  130. data/assets/css/main.scss +4 -0
  131. data/assets/img/20220607123041_detail.001.png +0 -0
  132. data/assets/img/favicons/android-chrome-192x192.png +0 -0
  133. data/assets/img/favicons/android-chrome-512x512.png +0 -0
  134. data/assets/img/favicons/apple-touch-icon.png +0 -0
  135. data/assets/img/favicons/favicon-16x16.png +0 -0
  136. data/assets/img/favicons/favicon-32x32.png +0 -0
  137. data/assets/img/favicons/favicon.ico +0 -0
  138. data/assets/img/favicons/site.webmanifest +21 -0
  139. data/assets/img/portfolio-placeholder.svg +20 -0
  140. data/assets/js/academic.js +262 -0
  141. data/assets/js/analytics-dashboard.js +382 -0
  142. data/assets/js/core/dark-mode.js +79 -0
  143. data/assets/js/core/github-cards.js +123 -0
  144. data/assets/js/core/language-filter.js +69 -0
  145. data/assets/js/core/navigation.js +184 -0
  146. data/assets/js/core/scroll-progress.js +45 -0
  147. data/assets/js/core/search-hotkeys.js +62 -0
  148. data/assets/js/core/skip-links.js +62 -0
  149. data/assets/js/loader.js +163 -0
  150. data/assets/js/main.js +23 -0
  151. data/assets/js/math.js +818 -0
  152. data/assets/js/notebook.js +158 -0
  153. data/assets/js/search/analytics.js +91 -0
  154. data/assets/js/search/app.js +271 -0
  155. data/assets/js/search/autocomplete.js +120 -0
  156. data/assets/js/search/engine.js +260 -0
  157. data/assets/js/search/filters.js +38 -0
  158. data/assets/js/search/render.js +217 -0
  159. data/assets/js/search/utils.js +99 -0
  160. data/assets/js/search.js +354 -0
  161. data/assets/js/visualizations.js +816 -0
  162. data/assets/publications/datalog-publications.bib +8 -0
  163. data/assets/publications/datalog-publications.ris +9 -0
  164. data/assets/publications/publications.bib +30 -0
  165. data/assets/templates/diogo-ribeiro-cv.md +31 -0
  166. data/assets/templates/diogo-ribeiro-cv.tex +32 -0
  167. data/bin/datalog +26 -0
  168. data/datalog-theme.gemspec +72 -0
  169. data/lib/datalog/cli.rb +563 -0
  170. data/lib/datalog/plugin_system/dependency_resolver.rb +223 -0
  171. data/lib/datalog/plugin_system.rb +237 -0
  172. data/lib/datalog/plugins/citations.rb +182 -0
  173. data/lib/datalog/plugins/comments.rb +183 -0
  174. data/lib/datalog/plugins/search.rb +45 -0
  175. data/lib/datalog/plugins/slides.rb +121 -0
  176. data/lib/datalog/theme/theme.rb +18 -0
  177. data/lib/datalog/theme/version.rb +7 -0
  178. data/lib/datalog/warning_filter.rb +28 -0
  179. data/lib/datalog-theme.rb +17 -0
  180. metadata +555 -0
@@ -0,0 +1,470 @@
1
+ @use 'sass:map';
2
+ @use 'sass:color';
3
+
4
+ @use 'variables' as *;
5
+ @use 'mixins' as *;
6
+
7
+ // ---------------------------------------------------------------------------
8
+ // Site header — two-row layout: brand row + nav row
9
+ // ---------------------------------------------------------------------------
10
+ .site-header {
11
+ position: sticky;
12
+ top: 0;
13
+ z-index: $z-header;
14
+ background-color: rgba($color-surface-50, 0.97);
15
+ border-bottom: 1px solid rgba($color-neutral-200, 0.6);
16
+ backdrop-filter: blur(16px);
17
+ -webkit-backdrop-filter: blur(16px);
18
+ transition: background-color $transition-base, border-color $transition-base;
19
+ }
20
+
21
+ body.dark-mode .site-header {
22
+ background-color: rgba($dark-surface-100, 0.95);
23
+ border-bottom-color: rgba($dark-ink-500, 0.15);
24
+ color: $dark-ink-900;
25
+ }
26
+
27
+ body.nav-open { overflow: hidden; }
28
+
29
+ // Reading progress
30
+ .header-progress {
31
+ position: absolute;
32
+ top: 0;
33
+ inset-inline: 0;
34
+ height: 2px;
35
+ pointer-events: none;
36
+ }
37
+
38
+ .header-progress__bar {
39
+ width: 100%;
40
+ height: 2px;
41
+ border: none;
42
+ appearance: none;
43
+ background: transparent;
44
+ &::-webkit-progress-bar { background: transparent; }
45
+ &::-webkit-progress-value { background: $color-accent-primary; }
46
+ &::-moz-progress-bar { background: $color-accent-primary; }
47
+ }
48
+
49
+ body.dark-mode .header-progress__bar {
50
+ &::-webkit-progress-value,
51
+ &::-moz-progress-bar { background: $dark-accent-primary; }
52
+ }
53
+
54
+ // ---------------------------------------------------------------------------
55
+ // Header container — stacks brand row and nav row
56
+ // ---------------------------------------------------------------------------
57
+ .header-container {
58
+ display: grid;
59
+ grid-template-columns: 1fr;
60
+ gap: 0;
61
+ padding-block: 0;
62
+ }
63
+
64
+ // ---------------------------------------------------------------------------
65
+ // Top row: brand + search + controls
66
+ // ---------------------------------------------------------------------------
67
+ .header-primary {
68
+ display: flex;
69
+ align-items: center;
70
+ justify-content: space-between;
71
+ gap: map.get($spacing, 3);
72
+ padding-block: map.get($spacing, 3);
73
+ border-bottom: 1px solid rgba($color-neutral-200, 0.3);
74
+ }
75
+
76
+ body.dark-mode .header-primary {
77
+ border-bottom-color: rgba($dark-ink-500, 0.1);
78
+ }
79
+
80
+ // Brand
81
+ .site-brand {
82
+ display: inline-flex;
83
+ align-items: center;
84
+ gap: map.get($spacing, 2);
85
+ color: inherit;
86
+ text-decoration: none;
87
+ line-height: 1;
88
+ flex-shrink: 0;
89
+ transition: opacity $transition-base;
90
+ &:hover { opacity: 0.75; }
91
+ }
92
+
93
+ .site-logo {
94
+ width: 2rem;
95
+ height: 2rem;
96
+ display: inline-flex;
97
+ align-items: center;
98
+ justify-content: center;
99
+ background: linear-gradient(135deg, rgba($color-accent-primary, 0.12), rgba($color-accent-secondary, 0.2));
100
+ border-radius: map.get($radius, md);
101
+ }
102
+
103
+ .logo-mark {
104
+ width: 1.5rem;
105
+ height: 1.5rem;
106
+ }
107
+
108
+ .site-title-group { display: grid; gap: 0; }
109
+
110
+ .site-title {
111
+ font-family: $font-family-serif;
112
+ font-size: 1rem;
113
+ font-weight: 700;
114
+ letter-spacing: -0.01em;
115
+ white-space: nowrap;
116
+ }
117
+
118
+ .site-tagline {
119
+ font-size: 0.65rem;
120
+ letter-spacing: 0.1em;
121
+ text-transform: uppercase;
122
+ color: $color-ink-500;
123
+ line-height: 1;
124
+ }
125
+
126
+ body.dark-mode .site-tagline {
127
+ color: rgba($dark-ink-500, 0.8);
128
+ }
129
+
130
+ // Controls (dark mode toggle + hamburger)
131
+ .header-controls {
132
+ display: flex;
133
+ align-items: center;
134
+ gap: 0.375rem;
135
+ }
136
+
137
+ .header-control {
138
+ display: inline-flex;
139
+ align-items: center;
140
+ justify-content: center;
141
+ min-height: 2rem;
142
+ min-width: 2rem;
143
+ padding: 0.25rem 0.5rem;
144
+ border-radius: map.get($radius, md);
145
+ border: 1px solid rgba($color-ink-900, 0.08);
146
+ background: transparent;
147
+ font-size: map.get($font-size-scale, xs);
148
+ font-weight: 600;
149
+ color: $color-ink-500;
150
+ cursor: pointer;
151
+ transition: background-color $transition-base, color $transition-base;
152
+
153
+ &:hover {
154
+ background-color: rgba($color-accent-primary, 0.06);
155
+ color: $color-accent-primary;
156
+ }
157
+
158
+ &:focus-visible { @include focus-ring($color-accent-primary); }
159
+ }
160
+
161
+ .header-control--icon {
162
+ padding-inline: 0.375rem;
163
+ font-size: 1.125rem;
164
+ }
165
+
166
+ .header-control__label { white-space: nowrap; }
167
+
168
+ // Theme toggle (sun/moon icons)
169
+ .header-control--theme {
170
+ padding: 0.375rem;
171
+ }
172
+
173
+ .theme-icon {
174
+ display: block;
175
+ transition: transform 0.3s ease, opacity 0.2s ease;
176
+ }
177
+
178
+ .theme-icon--dark {
179
+ display: none;
180
+ }
181
+
182
+ body.dark-mode .theme-icon--light {
183
+ display: none;
184
+ }
185
+
186
+ body.dark-mode .theme-icon--dark {
187
+ display: block;
188
+ }
189
+
190
+ .nav-toggle {
191
+ @include respond-to(md) { display: none; }
192
+ }
193
+
194
+ body.dark-mode .header-control {
195
+ border-color: rgba($dark-ink-500, 0.15);
196
+ color: $dark-ink-500;
197
+ &:hover {
198
+ background: rgba($dark-accent-primary, 0.1);
199
+ color: $dark-accent-primary;
200
+ }
201
+ }
202
+
203
+ // ---------------------------------------------------------------------------
204
+ // Nav row — horizontal link bar
205
+ // ---------------------------------------------------------------------------
206
+ .site-nav {
207
+ overflow: hidden;
208
+ transition: max-height 0.25s ease, opacity 0.2s ease;
209
+
210
+ &[data-open='false'] {
211
+ max-height: 0;
212
+ opacity: 0;
213
+ pointer-events: none;
214
+ }
215
+
216
+ &[data-open='true'] {
217
+ max-height: 40rem;
218
+ opacity: 1;
219
+ }
220
+
221
+ @include respond-to(md) {
222
+ max-height: none !important;
223
+ opacity: 1 !important;
224
+ pointer-events: auto !important;
225
+ overflow: visible;
226
+ }
227
+ }
228
+
229
+ .nav-list {
230
+ display: flex;
231
+ flex-direction: column;
232
+ list-style: none;
233
+ margin: 0;
234
+ padding: map.get($spacing, 2) 0;
235
+
236
+ @include respond-to(md) {
237
+ flex-direction: row;
238
+ align-items: center;
239
+ justify-content: center;
240
+ gap: 0;
241
+ padding: 0;
242
+ }
243
+ }
244
+
245
+ .nav-item {
246
+ position: relative;
247
+ }
248
+
249
+ .nav-link {
250
+ display: block;
251
+ padding: map.get($spacing, 2) map.get($spacing, 3);
252
+ color: $color-ink-700;
253
+ text-decoration: none;
254
+ font-size: map.get($font-size-scale, sm);
255
+ font-weight: 500;
256
+ white-space: nowrap;
257
+ border-bottom: 2px solid transparent;
258
+ transition: color $transition-base, border-color $transition-base;
259
+
260
+ @include respond-to(md) {
261
+ padding: 0.625rem 0.75rem;
262
+ font-size: 0.8125rem;
263
+ }
264
+
265
+ .nav-title { font-weight: 500; }
266
+ .nav-description { display: none; }
267
+
268
+ &:hover,
269
+ &:focus-visible {
270
+ color: $color-accent-primary;
271
+ }
272
+
273
+ @include respond-to(md) {
274
+ &:hover,
275
+ &:focus-visible {
276
+ border-bottom-color: $color-accent-primary;
277
+ }
278
+ }
279
+
280
+ &.is-active {
281
+ color: $color-accent-primary;
282
+ border-bottom-color: $color-accent-primary;
283
+ font-weight: 600;
284
+ }
285
+ }
286
+
287
+ body.dark-mode .nav-link {
288
+ color: $dark-ink-700;
289
+
290
+ &:hover,
291
+ &:focus-visible {
292
+ color: $dark-accent-primary;
293
+ border-bottom-color: $dark-accent-primary;
294
+ }
295
+
296
+ &.is-active {
297
+ color: $dark-accent-primary;
298
+ border-bottom-color: $dark-accent-primary;
299
+ }
300
+ }
301
+
302
+ // ---------------------------------------------------------------------------
303
+ // Secondary area (search + utilities) — sits in the brand row
304
+ // ---------------------------------------------------------------------------
305
+ .header-secondary {
306
+ display: flex;
307
+ align-items: center;
308
+ gap: map.get($spacing, 2);
309
+ flex-shrink: 0;
310
+ }
311
+
312
+ .site-search {
313
+ display: flex;
314
+ align-items: center;
315
+ gap: map.get($spacing, 1);
316
+
317
+ input[type='search'] {
318
+ width: 10rem;
319
+ padding: 0.3rem 0.75rem;
320
+ border-radius: 999px;
321
+ border: 1px solid rgba($color-ink-900, 0.1);
322
+ background-color: rgba($color-ink-900, 0.02);
323
+ font-size: map.get($font-size-scale, xs);
324
+ transition: border-color $transition-base, width $transition-base;
325
+
326
+ &:focus {
327
+ outline: none;
328
+ border-color: $color-accent-primary;
329
+ box-shadow: 0 0 0 2px rgba($color-accent-primary, 0.1);
330
+ width: 14rem;
331
+ }
332
+ }
333
+
334
+ button {
335
+ padding: 0.3rem 0.625rem;
336
+ border-radius: 999px;
337
+ border: none;
338
+ background: $color-accent-primary;
339
+ color: white;
340
+ font-size: map.get($font-size-scale, xs);
341
+ font-weight: 600;
342
+ cursor: pointer;
343
+ transition: background-color $transition-base;
344
+ &:hover { background: color.adjust($color-accent-primary, $lightness: -8%); }
345
+ &:focus-visible { @include focus-ring($color-accent-secondary); }
346
+ }
347
+ }
348
+
349
+ body.dark-mode .site-search input[type='search'] {
350
+ border-color: rgba($dark-ink-500, 0.15);
351
+ background: rgba($dark-surface-300, 0.4);
352
+ color: $dark-ink-900;
353
+ }
354
+
355
+ // Utilities dropdown
356
+ .header-utilities {
357
+ border: 1px solid rgba($color-ink-900, 0.06);
358
+ border-radius: map.get($radius, md);
359
+ padding: map.get($spacing, 1) map.get($spacing, 2);
360
+ background: transparent;
361
+ font-size: map.get($font-size-scale, xs);
362
+
363
+ summary {
364
+ cursor: pointer;
365
+ font-weight: 500;
366
+ list-style: none;
367
+ color: $color-ink-500;
368
+ font-size: 0.7rem;
369
+ text-transform: uppercase;
370
+ letter-spacing: 0.04em;
371
+ &::-webkit-details-marker { display: none; }
372
+ }
373
+
374
+ &[open] summary {
375
+ color: $color-accent-primary;
376
+ margin-bottom: map.get($spacing, 3);
377
+ }
378
+ }
379
+
380
+ .header-utilities__content {
381
+ display: grid;
382
+ gap: map.get($spacing, 4);
383
+ padding-top: map.get($spacing, 2);
384
+
385
+ @include respond-to(md) {
386
+ grid-template-columns: repeat(3, minmax(0, 1fr));
387
+ }
388
+ }
389
+
390
+ .header-filter label {
391
+ font-size: map.get($font-size-scale, xs);
392
+ font-weight: 600;
393
+ text-transform: uppercase;
394
+ letter-spacing: 0.03em;
395
+ }
396
+
397
+ .header-filter select {
398
+ width: 100%;
399
+ padding: map.get($spacing, 2) map.get($spacing, 3);
400
+ border-radius: map.get($radius, md);
401
+ border: 1px solid rgba($color-ink-900, 0.12);
402
+ font-size: map.get($font-size-scale, sm);
403
+ }
404
+
405
+ .quick-links ul,
406
+ .academic-links ul {
407
+ list-style: none;
408
+ margin: 0;
409
+ padding: 0;
410
+ display: grid;
411
+ gap: map.get($spacing, 1);
412
+ }
413
+
414
+ .quick-links__title,
415
+ .academic-links__title {
416
+ font-size: map.get($font-size-scale, xs);
417
+ text-transform: uppercase;
418
+ letter-spacing: 0.05em;
419
+ margin-bottom: map.get($spacing, 2);
420
+ color: $color-ink-500;
421
+ }
422
+
423
+ .academic-affiliation {
424
+ font-size: map.get($font-size-scale, xs);
425
+ color: $color-ink-500;
426
+ margin-top: map.get($spacing, 2);
427
+ }
428
+
429
+ body.dark-mode .header-utilities {
430
+ border-color: rgba($dark-ink-500, 0.1);
431
+ }
432
+
433
+ // ---------------------------------------------------------------------------
434
+ // Responsive
435
+ // ---------------------------------------------------------------------------
436
+ @media (max-width: 48rem) {
437
+ .header-primary {
438
+ flex-wrap: wrap;
439
+ }
440
+
441
+ .header-secondary {
442
+ flex: 1 1 100%;
443
+ min-width: 0;
444
+ padding-bottom: map.get($spacing, 2);
445
+ }
446
+
447
+ .site-search {
448
+ flex: 1;
449
+ min-width: 0;
450
+
451
+ input[type='search'] {
452
+ width: 100%;
453
+ min-width: 0;
454
+
455
+ &:focus { width: 100%; }
456
+ }
457
+ }
458
+ }
459
+
460
+ @media (prefers-reduced-motion: reduce) {
461
+ .site-header,
462
+ .site-nav,
463
+ .nav-link,
464
+ .header-control,
465
+ .site-brand,
466
+ .site-search input[type='search'],
467
+ .site-search button {
468
+ transition-duration: 0.01ms;
469
+ }
470
+ }