jekyll-theme-zer0 0.21.2 → 0.22.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 (109) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +54 -0
  3. data/README.md +86 -46
  4. data/_data/authors.yml +12 -3
  5. data/_data/features.yml +1 -1
  6. data/_data/glossary.yml +101 -0
  7. data/_data/navigation/docs.yml +12 -0
  8. data/_data/navigation/home.yml +2 -2
  9. data/_data/navigation/main.yml +2 -8
  10. data/_data/prompts.yml +184 -0
  11. data/_includes/components/author-eeat.html +133 -0
  12. data/_includes/components/cookie-consent.html +9 -9
  13. data/_includes/components/dev-shortcuts.html +36 -27
  14. data/_includes/components/env-detect.html +14 -0
  15. data/_includes/components/env-switcher.html +38 -16
  16. data/_includes/components/halfmoon.html +31 -20
  17. data/_includes/components/info-section.html +4 -3
  18. data/_includes/components/js-cdn.html +8 -15
  19. data/_includes/components/mermaid.html +13 -9
  20. data/_includes/components/powered-by.html +5 -3
  21. data/_includes/content/intro.html +64 -4
  22. data/_includes/content/jsonld-faq.html +47 -0
  23. data/_includes/content/jsonld-software.html +121 -0
  24. data/_includes/content/sitemap.html +2 -2
  25. data/_includes/core/branding.html +9 -7
  26. data/_includes/core/footer.html +12 -9
  27. data/_includes/core/head.html +17 -14
  28. data/_includes/core/header.html +33 -21
  29. data/_includes/navigation/navbar.html +130 -124
  30. data/_includes/navigation/sidebar-left.html +3 -3
  31. data/_includes/navigation/sidebar-right.html +4 -8
  32. data/_includes/search-data.json +1 -2
  33. data/_layouts/landing.html +8 -3
  34. data/_layouts/root.html +4 -4
  35. data/_layouts/sitemap-collection.html +20 -10
  36. data/_sass/core/_docs-layout.scss +756 -0
  37. data/_sass/core/_navbar.scss +522 -69
  38. data/_sass/core/_offcanvas-panels.scss +48 -0
  39. data/_sass/core/_syntax.scss +1 -51
  40. data/_sass/core/_theme.scss +2 -249
  41. data/_sass/core/_variables.scss +1 -54
  42. data/_sass/core/code-copy.scss +6 -6
  43. data/_sass/custom.scss +119 -133
  44. data/_sass/theme/_color-modes.scss +3 -0
  45. data/_sass/theme/_css-variables.scss +29 -0
  46. data/_sass/theme/_wizard-mode.scss +31 -0
  47. data/assets/css/custom.css +5 -120
  48. data/assets/css/main.scss +6 -2
  49. data/assets/css/stats.css +3 -0
  50. data/assets/css/theme-npm-entry.scss +6 -0
  51. data/assets/css/vendor/.gitkeep +0 -0
  52. data/assets/images/authors/bamr87.png +0 -0
  53. data/assets/js/auto-hide-nav.js +71 -20
  54. data/assets/js/color-modes.js +8 -2
  55. data/assets/js/halfmoon.js +8 -2
  56. data/assets/js/myScript.js +4 -12
  57. data/assets/js/navigation.js +174 -19
  58. data/assets/js/search-modal.js +50 -7
  59. data/assets/vendor/bootstrap/css/bootstrap.min.css +5 -0
  60. data/assets/vendor/bootstrap/js/bootstrap.bundle.min.js +6 -0
  61. data/assets/vendor/bootstrap-icons/font/bootstrap-icons.css +2018 -0
  62. data/assets/vendor/bootstrap-icons/font/fonts/bootstrap-icons.woff +0 -0
  63. data/assets/vendor/bootstrap-icons/font/fonts/bootstrap-icons.woff2 +0 -0
  64. data/assets/vendor/font-awesome/css/all.min.css +9 -0
  65. data/assets/vendor/font-awesome/webfonts/fa-brands-400.ttf +0 -0
  66. data/assets/vendor/font-awesome/webfonts/fa-brands-400.woff2 +0 -0
  67. data/assets/vendor/font-awesome/webfonts/fa-regular-400.ttf +0 -0
  68. data/assets/vendor/font-awesome/webfonts/fa-regular-400.woff2 +0 -0
  69. data/assets/vendor/font-awesome/webfonts/fa-solid-900.ttf +0 -0
  70. data/assets/vendor/font-awesome/webfonts/fa-solid-900.woff2 +0 -0
  71. data/assets/vendor/font-awesome/webfonts/fa-v4compatibility.ttf +0 -0
  72. data/assets/vendor/font-awesome/webfonts/fa-v4compatibility.woff2 +0 -0
  73. data/assets/vendor/github-calendar/github-calendar-responsive.css +231 -0
  74. data/assets/vendor/github-calendar/github-calendar.min.js +240 -0
  75. data/assets/vendor/jquery/jquery-3.7.1.min.js +2 -0
  76. data/assets/vendor/mathjax/es5/adaptors/liteDOM.js +1 -0
  77. data/assets/vendor/mathjax/es5/core.js +1 -0
  78. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff +0 -0
  79. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff +0 -0
  80. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff +0 -0
  81. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff +0 -0
  82. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff +0 -0
  83. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff +0 -0
  84. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff +0 -0
  85. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff +0 -0
  86. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff +0 -0
  87. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff +0 -0
  88. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff +0 -0
  89. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff +0 -0
  90. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff +0 -0
  91. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff +0 -0
  92. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff +0 -0
  93. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff +0 -0
  94. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff +0 -0
  95. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff +0 -0
  96. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff +0 -0
  97. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff +0 -0
  98. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff +0 -0
  99. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff +0 -0
  100. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Zero.woff +0 -0
  101. data/assets/vendor/mathjax/es5/startup.js +1 -0
  102. data/assets/vendor/mathjax/es5/tex-mml-chtml.js +1 -0
  103. data/assets/vendor/mermaid/mermaid.min.js +2029 -0
  104. data/scripts/bin/build +12 -2
  105. data/scripts/lib/version.sh +41 -0
  106. data/scripts/test/integration/mermaid +1 -1
  107. data/scripts/vendor-install.sh +196 -0
  108. metadata +62 -3
  109. data/_sass/core/_docs.scss +0 -3219
@@ -0,0 +1,756 @@
1
+ /*!
2
+ * Docs layout — trimmed Bootstrap-docs-adjacent styles for zer0-mistakes.
3
+ * Replaces the former full _docs.scss vendor snapshot (~3.2k lines).
4
+ */
5
+ :root {
6
+ --bs-breakpoint-xs: 0;
7
+ --bs-breakpoint-sm: 576px;
8
+ --bs-breakpoint-md: 768px;
9
+ --bs-breakpoint-lg: 992px;
10
+ --bs-breakpoint-xl: 1200px;
11
+ --bs-breakpoint-xxl: 1400px
12
+ }
13
+ .bd-content>h2,.bd-content>h3,.bd-content>h4 {
14
+ --bs-heading-color: var(--bs-emphasis-color)
15
+ }
16
+
17
+ .bd-content>h2:not(:first-child) {
18
+ margin-top: 3rem
19
+ }
20
+
21
+ .bd-content>h3 {
22
+ margin-top: 2rem
23
+ }
24
+
25
+ .bd-content>ul li,.bd-content>ol li {
26
+ margin-bottom: .25rem
27
+ }
28
+
29
+ .bd-content>ul li>p~ul,.bd-content>ol li>p~ul {
30
+ margin-top: -.5rem;
31
+ margin-bottom: 1rem
32
+ }
33
+
34
+ .bd-content>.table,.bd-content>.table-responsive .table {
35
+ --bs-table-border-color: var(--bs-border-color);
36
+ max-width: 100%;
37
+ margin-bottom: 1.5rem;
38
+ font-size: .875rem
39
+ }
40
+
41
+ @media (max-width: 991.98px) {
42
+ .bd-content>.table.table-bordered,.bd-content>.table-responsive .table.table-bordered {
43
+ border:0
44
+ }
45
+ }
46
+
47
+ .bd-content>.table thead,.bd-content>.table-responsive .table thead {
48
+ border-bottom: 2px solid currentcolor
49
+ }
50
+
51
+ .bd-content>.table tbody:not(:first-child),.bd-content>.table-responsive .table tbody:not(:first-child) {
52
+ border-top: 2px solid currentcolor
53
+ }
54
+
55
+ .bd-content>.table th:first-child,.bd-content>.table td:first-child,.bd-content>.table-responsive .table th:first-child,.bd-content>.table-responsive .table td:first-child {
56
+ padding-left: 0
57
+ }
58
+
59
+ .bd-content>.table th:not(:last-child),.bd-content>.table td:not(:last-child),.bd-content>.table-responsive .table th:not(:last-child),.bd-content>.table-responsive .table td:not(:last-child) {
60
+ padding-right: 1.5rem
61
+ }
62
+
63
+ .bd-content>.table th,.bd-content>.table-responsive .table th {
64
+ color: var(--bs-emphasis-color)
65
+ }
66
+
67
+ .bd-content>.table strong,.bd-content>.table-responsive .table strong {
68
+ color: var(--bs-emphasis-color)
69
+ }
70
+
71
+ .bd-content>.table th,.bd-content>.table td:first-child>code,.bd-content>.table-responsive .table th,.bd-content>.table-responsive .table td:first-child>code {
72
+ white-space: nowrap
73
+ }
74
+ @media (min-width: 992px) {
75
+ .bd-sidebar {
76
+ position:-webkit-sticky;
77
+ position: sticky;
78
+ top: 5rem;
79
+ display: block !important;
80
+ height: calc(100vh - 6rem);
81
+ padding-left: .25rem;
82
+ margin-left: -.25rem;
83
+ overflow-y: auto
84
+ }
85
+ }
86
+
87
+ @media (max-width: 991.98px) {
88
+ .bd-sidebar .offcanvas-lg {
89
+ border-right-color:var(--bs-border-color);
90
+ box-shadow: var(--bs-box-shadow-lg)
91
+ }
92
+ }
93
+
94
+ .bd-links-heading {
95
+ color: var(--bs-emphasis-color)
96
+ }
97
+
98
+ @media (max-width: 991.98px) {
99
+ .bd-links-nav {
100
+ font-size:.875rem
101
+ }
102
+ }
103
+
104
+ @media (max-width: 991.98px) {
105
+ .bd-links-nav {
106
+ -moz-column-count:2;
107
+ column-count: 2;
108
+ -moz-column-gap: 1.5rem;
109
+ column-gap: 1.5rem
110
+ }
111
+
112
+ .bd-links-nav .bd-links-group {
113
+ -moz-column-break-inside: avoid;
114
+ break-inside: avoid
115
+ }
116
+
117
+ .bd-links-nav .bd-links-span-all {
118
+ -moz-column-span: all;
119
+ column-span: all
120
+ }
121
+ }
122
+
123
+ .bd-links-link {
124
+ padding: .1875rem .5rem;
125
+ margin-top: .125rem;
126
+ margin-left: 1.125rem;
127
+ color: var(--bs-body-color);
128
+ text-decoration: none
129
+ }
130
+
131
+ .bd-links-link:hover,.bd-links-link:focus,.bd-links-link.active {
132
+ color: var(--bs-emphasis-color);
133
+ background-color: var(--bd-sidebar-link-bg)
134
+ }
135
+
136
+ .bd-links-link.active {
137
+ font-weight: 600
138
+ }
139
+ .bd-gutter {
140
+ --bs-gutter-x: 3rem
141
+ }
142
+
143
+ @media (min-width: 992px) {
144
+ .bd-layout {
145
+ display:grid;
146
+ grid-template-areas: "sidebar main";
147
+ grid-template-columns: 1fr 5fr;
148
+ gap: 1.5rem
149
+ }
150
+ }
151
+
152
+ .bd-sidebar {
153
+ grid-area: sidebar
154
+ }
155
+
156
+ .bd-main {
157
+ grid-area: main
158
+ }
159
+
160
+ @media (max-width: 991.98px) {
161
+ .bd-main {
162
+ max-width:760px;
163
+ margin-inline:auto}
164
+ }
165
+
166
+ @media (min-width: 768px) {
167
+ .bd-main {
168
+ display:grid;
169
+ grid-template-areas: "intro" "toc" "content";
170
+ grid-template-rows: auto auto 1fr;
171
+ gap: inherit
172
+ }
173
+ }
174
+
175
+ @media (min-width: 992px) {
176
+ .bd-main {
177
+ grid-template-areas:"intro toc" "content toc";
178
+ grid-template-rows: auto 1fr;
179
+ grid-template-columns: 4fr 1fr
180
+ }
181
+ }
182
+
183
+ .bd-intro {
184
+ grid-area: intro
185
+ }
186
+
187
+ .bd-toc {
188
+ grid-area: toc
189
+ }
190
+
191
+ .bd-content {
192
+ grid-area: content;
193
+ min-width: 1px
194
+ }
195
+
196
+ @media (min-width: 992px) {
197
+ .bd-toc {
198
+ position:-webkit-sticky;
199
+ position: sticky;
200
+ top: 5rem;
201
+ right: 0;
202
+ z-index: 2;
203
+ height: calc(100vh - 7rem);
204
+ overflow-y: auto
205
+ }
206
+ }
207
+
208
+ .bd-toc nav {
209
+ font-size: .875rem
210
+ }
211
+
212
+ .bd-toc nav ul {
213
+ padding-left: 0;
214
+ margin-bottom: 0;
215
+ list-style: none
216
+ }
217
+
218
+ .bd-toc nav ul ul {
219
+ padding-left: 1rem
220
+ }
221
+
222
+ .bd-toc nav a {
223
+ display: block;
224
+ padding: .125rem 0 .125rem .75rem;
225
+ color: inherit;
226
+ text-decoration: none;
227
+ border-left: .125rem solid transparent
228
+ }
229
+
230
+ .bd-toc nav a:hover,.bd-toc nav a.active {
231
+ color: var(--bd-toc-color);
232
+ border-left-color: var(--bd-toc-color)
233
+ }
234
+
235
+ .bd-toc nav a.active {
236
+ font-weight: 500
237
+ }
238
+
239
+ .bd-toc nav a code {
240
+ font: inherit
241
+ }
242
+
243
+ .bd-toc-toggle {
244
+ display: flex;
245
+ align-items: center
246
+ }
247
+
248
+ @media (max-width: 575.98px) {
249
+ .bd-toc-toggle {
250
+ justify-content:space-between;
251
+ width: 100%
252
+ }
253
+ }
254
+
255
+ @media (max-width: 767.98px) {
256
+ .bd-toc-toggle {
257
+ color:var(--bs-body-color);
258
+ border: 1px solid var(--bs-border-color);
259
+ border-radius: var(--bs-border-radius)
260
+ }
261
+
262
+ .bd-toc-toggle:hover,.bd-toc-toggle:focus,.bd-toc-toggle:active,.bd-toc-toggle[aria-expanded="true"] {
263
+ color: var(--bd-violet);
264
+ background-color: var(--bs-body-bg);
265
+ border-color: var(--bd-violet)
266
+ }
267
+
268
+ .bd-toc-toggle:focus,.bd-toc-toggle[aria-expanded="true"] {
269
+ box-shadow: 0 0 0 3px rgba(var(--bd-violet-rgb), 0.25)
270
+ }
271
+ }
272
+
273
+ @media (max-width: 767.98px) {
274
+ .bd-toc-collapse nav {
275
+ padding:1.25rem 1.25rem 1.25rem 1rem;
276
+ background-color: var(--bs-tertiary-bg);
277
+ border: 1px solid var(--bs-border-color);
278
+ border-radius: var(--bs-border-radius)
279
+ }
280
+ }
281
+
282
+ @media (min-width: 768px) {
283
+ .bd-toc-collapse {
284
+ display:block !important
285
+ }
286
+ }
287
+
288
+ .bd-footer a {
289
+ color: var(--bs-body-color);
290
+ text-decoration: none
291
+ }
292
+
293
+ .bd-footer a:hover,.bd-footer a:focus {
294
+ color: var(--bs-link-hover-color);
295
+ text-decoration: underline
296
+ }
297
+
298
+ .bd-code-snippet {
299
+ margin: 0 -1.5rem 1rem;
300
+ border: solid var(--bs-border-color);
301
+ border-width: 1px 0
302
+ }
303
+
304
+ @media (min-width: 768px) {
305
+ .bd-code-snippet {
306
+ margin-right:0;
307
+ margin-left: 0;
308
+ border-width: 1px;
309
+ border-radius: var(--bs-border-radius)
310
+ }
311
+ }
312
+
313
+ .bd-example {
314
+ --bd-example-padding: 1rem;
315
+ position: relative;
316
+ padding: var(--bd-example-padding);
317
+ margin: 0 -1.5rem 1rem;
318
+ border: solid var(--bs-border-color);
319
+ border-width: 1px 0
320
+ }
321
+
322
+ .bd-example::after {
323
+ display: block;
324
+ clear: both;
325
+ content: null
326
+ }
327
+
328
+ @media (min-width: 768px) {
329
+ .bd-example {
330
+ --bd-example-padding: 1.5rem;
331
+ margin-right: 0;
332
+ margin-left: 0;
333
+ border-width: 1px;
334
+ border-radius: var(--bs-border-radius)
335
+ }
336
+ }
337
+
338
+ .bd-example+p {
339
+ margin-top: 2rem
340
+ }
341
+
342
+ .bd-example>.form-control+.form-control {
343
+ margin-top: .5rem
344
+ }
345
+
346
+ .bd-example>.nav+.nav,.bd-example>.alert+.alert,.bd-example>.navbar+.navbar,.bd-example>.progress+.progress {
347
+ margin-top: 1rem
348
+ }
349
+
350
+ .bd-example>.dropdown-menu {
351
+ position: static;
352
+ display: block
353
+ }
354
+
355
+ .bd-example>:last-child,.bd-example>nav:last-child .breadcrumb {
356
+ margin-bottom: 0
357
+ }
358
+
359
+ .bd-example>hr:last-child {
360
+ margin-bottom: 1rem
361
+ }
362
+
363
+ .bd-example>svg+svg,.bd-example>img+img {
364
+ margin-left: .5rem
365
+ }
366
+
367
+ .bd-example>.btn,.bd-example>.btn-group {
368
+ margin: .25rem .125rem
369
+ }
370
+
371
+ .bd-example>.btn-toolbar+.btn-toolbar {
372
+ margin-top: .5rem
373
+ }
374
+
375
+ .bd-example>.list-group {
376
+ max-width: 400px
377
+ }
378
+
379
+ .bd-example>[class*="list-group-horizontal"] {
380
+ max-width: 100%
381
+ }
382
+
383
+ .bd-example .fixed-top,.bd-example .sticky-top {
384
+ position: static;
385
+ margin: calc(var(--bd-example-padding) * -1) calc(var(--bd-example-padding) * -1) var(--bd-example-padding)
386
+ }
387
+
388
+ .bd-example .fixed-bottom,.bd-example .sticky-bottom {
389
+ position: static;
390
+ margin: var(--bd-example-padding) calc(var(--bd-example-padding) * -1) calc(var(--bd-example-padding) * -1)
391
+ }
392
+
393
+ .bd-example .pagination {
394
+ margin-bottom: 0
395
+ }
396
+
397
+ .bd-example-row [class^="col"],.bd-example-cols [class^="col"]>*,.bd-example-cssgrid [class*="grid"]>* {
398
+ padding-top: .75rem;
399
+ padding-bottom: .75rem;
400
+ background-color: rgba(var(--bd-violet-rgb), 0.15);
401
+ border: 1px solid rgba(var(--bd-violet-rgb), 0.3)
402
+ }
403
+
404
+ .bd-example-row .row+.row,.bd-example-cssgrid .grid+.grid {
405
+ margin-top: 1rem
406
+ }
407
+
408
+ .bd-example-row-flex-cols .row {
409
+ min-height: 10rem;
410
+ background-color: rgba(var(--bd-violet-rgb), 0.15)
411
+ }
412
+
413
+ .bd-example-flex div:not(.vr) {
414
+ background-color: rgba(var(--bd-violet-rgb), 0.15);
415
+ border: 1px solid rgba(var(--bd-violet-rgb), 0.3)
416
+ }
417
+
418
+ .example-container {
419
+ width: 800px;
420
+ --bs-gutter-x: 1.5rem;
421
+ --bs-gutter-y: 0;
422
+ width: 100%;
423
+ padding-right: calc(var(--bs-gutter-x) * .5);
424
+ padding-left: calc(var(--bs-gutter-x) * .5);
425
+ margin-right: auto;
426
+ margin-left: auto
427
+ }
428
+
429
+ .example-row {
430
+ --bs-gutter-x: 1.5rem;
431
+ --bs-gutter-y: 0;
432
+ display: flex;
433
+ flex-wrap: wrap;
434
+ margin-top: calc(-1 * var(--bs-gutter-y));
435
+ margin-right: calc(-.5 * var(--bs-gutter-x));
436
+ margin-left: calc(-.5 * var(--bs-gutter-x))
437
+ }
438
+
439
+ .example-content-main {
440
+ flex-shrink: 0;
441
+ width: 100%;
442
+ max-width: 100%;
443
+ padding-right: calc(var(--bs-gutter-x) * .5);
444
+ padding-left: calc(var(--bs-gutter-x) * .5);
445
+ margin-top: var(--bs-gutter-y)
446
+ }
447
+
448
+ @media (min-width: 576px) {
449
+ .example-content-main {
450
+ flex:0 0 auto;
451
+ width: 50%
452
+ }
453
+ }
454
+
455
+ @media (min-width: 992px) {
456
+ .example-content-main {
457
+ flex:0 0 auto;
458
+ width: 66.666667%
459
+ }
460
+ }
461
+
462
+ .example-content-secondary {
463
+ flex-shrink: 0;
464
+ width: 100%;
465
+ max-width: 100%;
466
+ padding-right: calc(var(--bs-gutter-x) * .5);
467
+ padding-left: calc(var(--bs-gutter-x) * .5);
468
+ margin-top: var(--bs-gutter-y)
469
+ }
470
+
471
+ @media (min-width: 576px) {
472
+ .example-content-secondary {
473
+ flex:0 0 auto;
474
+ width: 50%
475
+ }
476
+ }
477
+
478
+ @media (min-width: 992px) {
479
+ .example-content-secondary {
480
+ flex:0 0 auto;
481
+ width: 33.333333%
482
+ }
483
+ }
484
+
485
+ .bd-example-ratios .ratio {
486
+ display: inline-block;
487
+ width: 10rem;
488
+ color: var(--bs-secondary-color);
489
+ background-color: var(--bs-tertiary-bg);
490
+ border: var(--bs-border-width) solid var(--bs-border-color)
491
+ }
492
+
493
+ .bd-example-ratios .ratio>div {
494
+ display: flex;
495
+ align-items: center;
496
+ justify-content: center
497
+ }
498
+
499
+ .bd-example-ratios-breakpoint .ratio-4x3 {
500
+ width: 16rem
501
+ }
502
+
503
+ @media (min-width: 768px) {
504
+ .bd-example-ratios-breakpoint .ratio-4x3 {
505
+ --bs-aspect-ratio: 50%
506
+ }
507
+ }
508
+
509
+ .bd-example-offcanvas .offcanvas {
510
+ position: static;
511
+ display: block;
512
+ height: 200px;
513
+ visibility: visible;
514
+ transform: translate(0)
515
+ }
516
+
517
+ .tooltip-demo a {
518
+ white-space: nowrap
519
+ }
520
+
521
+ .tooltip-demo .btn {
522
+ margin: .25rem .125rem
523
+ }
524
+
525
+ .custom-tooltip {
526
+ --bs-tooltip-bg: var(--bd-violet-bg);
527
+ --bs-tooltip-color: var(--bs-white)
528
+ }
529
+
530
+ .custom-popover {
531
+ --bs-popover-max-width: 200px;
532
+ --bs-popover-border-color: var(--bd-violet-bg);
533
+ --bs-popover-header-bg: var(--bd-violet-bg);
534
+ --bs-popover-header-color: var(--bs-white);
535
+ --bs-popover-body-padding-x: 1rem;
536
+ --bs-popover-body-padding-y: .5rem
537
+ }
538
+
539
+ .scrollspy-example {
540
+ height: 200px;
541
+ margin-top: .5rem;
542
+ overflow: auto
543
+ }
544
+
545
+ .scrollspy-example-2 {
546
+ height: 350px;
547
+ overflow: auto
548
+ }
549
+
550
+ .simple-list-example-scrollspy .active {
551
+ background-color: rgba(var(--bd-violet-rgb), 0.15)
552
+ }
553
+
554
+ .bd-example-border-utils [class^="border"] {
555
+ display: inline-block;
556
+ width: 5rem;
557
+ height: 5rem;
558
+ margin: .25rem;
559
+ background-color: var(--bs-tertiary-bg)
560
+ }
561
+
562
+ .bd-example-rounded-utils [class*="rounded"] {
563
+ margin: .25rem
564
+ }
565
+
566
+ .bd-example-position-utils {
567
+ position: relative;
568
+ padding: 2rem
569
+ }
570
+
571
+ .bd-example-position-utils .position-relative {
572
+ height: 200px;
573
+ background-color: var(--bs-tertiary-bg)
574
+ }
575
+
576
+ .bd-example-position-utils .position-absolute {
577
+ width: 2rem;
578
+ height: 2rem;
579
+ background-color: var(--bs-body-color);
580
+ border-radius: .375rem
581
+ }
582
+
583
+ .bd-example-position-examples::after {
584
+ content: none
585
+ }
586
+
587
+ .bd-example-placeholder-cards::after {
588
+ display: none
589
+ }
590
+
591
+ .bd-example-placeholder-cards .card {
592
+ width: 18rem
593
+ }
594
+
595
+ .bd-example-toasts {
596
+ min-height: 240px
597
+ }
598
+
599
+ .bd-example-zindex-levels {
600
+ min-height: 15rem
601
+ }
602
+
603
+ .bd-example-zindex-levels>div {
604
+ color: var(--bs-body-bg);
605
+ background-color: var(--bd-violet);
606
+ border: 1px solid var(--bd-purple)
607
+ }
608
+
609
+ .bd-example-zindex-levels>div>span {
610
+ position: absolute;
611
+ right: 5px;
612
+ bottom: 0
613
+ }
614
+
615
+ .bd-example-zindex-levels>:nth-child(2) {
616
+ top: 3rem;
617
+ left: 3rem
618
+ }
619
+
620
+ .bd-example-zindex-levels>:nth-child(3) {
621
+ top: 4.5rem;
622
+ left: 4.5rem
623
+ }
624
+
625
+ .bd-example-zindex-levels>:nth-child(4) {
626
+ top: 6rem;
627
+ left: 6rem
628
+ }
629
+
630
+ .bd-example-zindex-levels>:nth-child(5) {
631
+ top: 7.5rem;
632
+ left: 7.5rem
633
+ }
634
+
635
+ .highlight {
636
+ position: relative;
637
+ padding: 0.75rem 1.5rem;
638
+ background-color: var(--bd-pre-bg)
639
+ }
640
+
641
+ @media (min-width: 768px) {
642
+ .highlight {
643
+ padding:.75rem 1.25rem;
644
+ border-radius: calc(var(--bs-border-radius) - 1px)
645
+ }
646
+ }
647
+
648
+ @media (min-width: 992px) {
649
+ .highlight pre {
650
+ margin-right:1.875rem
651
+ }
652
+ }
653
+
654
+ .highlight pre {
655
+ padding: .25rem 0 .875rem;
656
+ margin-top: .8125rem;
657
+ margin-bottom: 0;
658
+ overflow: overlay;
659
+ white-space: pre;
660
+ background-color: transparent;
661
+ border: 0
662
+ }
663
+
664
+ .highlight pre code {
665
+ font-size: inherit;
666
+ // color: var(--bs-body-color);
667
+ word-wrap: normal
668
+ }
669
+
670
+ .bd-example-snippet .highlight pre {
671
+ margin-right: 0
672
+ }
673
+
674
+ .highlight-toolbar {
675
+ background-color: var(--bd-pre-bg)
676
+ }
677
+
678
+ .highlight-toolbar+.highlight {
679
+ border-top-left-radius: 0;
680
+ border-top-right-radius: 0
681
+ }
682
+
683
+ @media (min-width: 768px) {
684
+ .bd-file-ref .highlight-toolbar {
685
+ border-top-left-radius:calc(var(--bs-border-radius) - 1px);
686
+ border-top-right-radius: calc(var(--bs-border-radius) - 1px)
687
+ }
688
+ }
689
+
690
+ .bd-content .bd-code-snippet {
691
+ margin-bottom: 1rem
692
+ }
693
+
694
+ .bd-clipboard,.bd-edit {
695
+ position: relative;
696
+ display: none;
697
+ float: right
698
+ }
699
+
700
+ .bd-clipboard+.highlight,.bd-edit+.highlight {
701
+ margin-top: 0
702
+ }
703
+
704
+ @media (min-width: 768px) {
705
+ .bd-clipboard,.bd-edit {
706
+ display:block
707
+ }
708
+ }
709
+
710
+ .btn-clipboard,.btn-edit {
711
+ display: block;
712
+ padding: .5em;
713
+ line-height: 1;
714
+ color: var(--bs-body-color);
715
+ background-color: var(--bd-pre-bg);
716
+ border: 0;
717
+ border-radius: .25rem
718
+ }
719
+
720
+ .btn-clipboard:hover,.btn-edit:hover {
721
+ color: var(--bs-link-hover-color)
722
+ }
723
+
724
+ .btn-clipboard:focus,.btn-edit:focus {
725
+ z-index: 3
726
+ }
727
+
728
+ .btn-clipboard {
729
+ position: relative;
730
+ z-index: 2;
731
+ margin-top: 1.25rem;
732
+ margin-right: .75rem
733
+ }
734
+
735
+ .bd-placeholder-img {
736
+ font-size: 1.125rem;
737
+ -webkit-user-select: none;
738
+ -moz-user-select: none;
739
+ user-select: none;
740
+ text-anchor: middle
741
+ }
742
+
743
+ .bd-placeholder-img-lg {
744
+ font-size: calc(1.475rem + 2.7vw)
745
+ }
746
+
747
+ @media (min-width: 1200px) {
748
+ .bd-placeholder-img-lg {
749
+ font-size:3.5rem
750
+ }
751
+ }
752
+
753
+ main a,main button,main input,main select,main textarea,main h2,main h3,main h4,main [tabindex="0"] {
754
+ scroll-margin-top: 80px;
755
+ scroll-margin-bottom: 100px
756
+ }