Debian Codegraph @

docs/.vitepress/theme/style.css

raw
1 @import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;700;800&family=JetBrains+Mono:wght@400;600&display=swap');
2
3 :root {
4 color-scheme: light;
5 --vp-font-family-base: "Inter", "Segoe UI", Arial, sans-serif;
6 --vp-font-family-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
7
8 --vp-c-bg: #ffeedd;
9 --vp-c-bg-alt: #fff4e8;
10 --vp-c-bg-elv: #fff8f1;
11 --vp-c-bg-soft: #f7e6d8;
12 --vp-c-bg-mute: #f0dccd;
13
14 --vp-c-border: rgba(37, 30, 24, 0.12);
15 --vp-c-divider: rgba(37, 30, 24, 0.12);
16 --vp-c-gutter: rgba(37, 30, 24, 0.08);
17
18 --vp-c-text-1: #251e18;
19 --vp-c-text-2: #5f5449;
20 --vp-c-text-3: #87786c;
21
22 --vp-c-default-1: #5f5449;
23 --vp-c-default-2: #4d4339;
24 --vp-c-default-3: #3a312a;
25 --vp-c-default-soft: rgba(95, 84, 73, 0.12);
26
27 --vp-c-brand-1: #cb743b;
28 --vp-c-brand-2: #b96430;
29 --vp-c-brand-3: #8d4720;
30 --vp-c-brand-soft: rgba(203, 116, 59, 0.14);
31
32 --vp-c-tip-1: #2e8c7d;
33 --vp-c-tip-2: #257265;
34 --vp-c-tip-3: #1b564d;
35 --vp-c-tip-soft: rgba(46, 140, 125, 0.14);
36
37 --vp-c-warning-1: #a15c2d;
38 --vp-c-warning-2: #8b4f26;
39 --vp-c-warning-3: #6a3d1d;
40 --vp-c-warning-soft: rgba(161, 92, 45, 0.14);
41
42 --vp-c-danger-1: #9a4a43;
43 --vp-c-danger-2: #813a34;
44 --vp-c-danger-3: #662d28;
45 --vp-c-danger-soft: rgba(154, 74, 67, 0.14);
46
47 --vp-shadow-1: 0 1px 10px rgba(73, 48, 32, 0.08);
48 --vp-shadow-2: 0 8px 24px rgba(73, 48, 32, 0.08);
49 --vp-shadow-3: 0 18px 48px rgba(73, 48, 32, 0.12);
50 --vp-shadow-4: 0 3px 15px rgba(203, 116, 59, 0.22);
51 --vp-shadow-5: 0 3px 15px rgba(46, 140, 125, 0.18);
52
53 --vp-home-hero-name-color: #251e18;
54 --vp-home-hero-name-background: none;
55 --vp-home-hero-image-background-image:
56 radial-gradient(circle at 30% 30%, rgba(203, 116, 59, 0.32), transparent 48%),
57 radial-gradient(circle at 72% 38%, rgba(46, 140, 125, 0.28), transparent 44%),
58 radial-gradient(circle at 50% 75%, rgba(72, 62, 54, 0.14), transparent 56%);
59 --vp-home-hero-image-filter: blur(58px);
60
61 --vp-button-brand-border: transparent;
62 --vp-button-brand-text: #fffaf6;
63 --vp-button-brand-bg: var(--vp-c-brand-1);
64 --vp-button-brand-hover-border: transparent;
65 --vp-button-brand-hover-text: #fffaf6;
66 --vp-button-brand-hover-bg: var(--vp-c-brand-2);
67 --vp-button-brand-active-border: transparent;
68 --vp-button-brand-active-text: #fffaf6;
69 --vp-button-brand-active-bg: var(--vp-c-brand-3);
70
71 --vp-button-alt-border: rgba(37, 30, 24, 0.14);
72 --vp-button-alt-text: var(--vp-c-text-1);
73 --vp-button-alt-bg: rgba(255, 248, 241, 0.82);
74 --vp-button-alt-hover-border: rgba(37, 30, 24, 0.18);
75 --vp-button-alt-hover-text: var(--vp-c-text-1);
76 --vp-button-alt-hover-bg: #fff8f1;
77 --vp-button-alt-active-border: rgba(37, 30, 24, 0.22);
78 --vp-button-alt-active-text: var(--vp-c-text-1);
79 --vp-button-alt-active-bg: #f7e6d8;
80
81 --vp-custom-block-tip-border: rgba(46, 140, 125, 0.2);
82 --vp-custom-block-tip-text: var(--vp-c-text-1);
83 --vp-custom-block-tip-bg: rgba(46, 140, 125, 0.08);
84 --vp-custom-block-tip-code-bg: rgba(46, 140, 125, 0.12);
85
86 --vp-custom-block-warning-border: rgba(161, 92, 45, 0.2);
87 --vp-custom-block-warning-bg: rgba(161, 92, 45, 0.08);
88 --vp-custom-block-danger-border: rgba(154, 74, 67, 0.2);
89 --vp-custom-block-danger-bg: rgba(154, 74, 67, 0.08);
90
91 --vp-nav-bg-color: rgba(255, 238, 221, 0.82);
92 --vp-sidebar-bg-color: rgba(255, 244, 232, 0.96);
93 }
94
95 .dark {
96 color-scheme: dark;
97 --vp-c-bg: #1e1815;
98 --vp-c-bg-alt: #251e1a;
99 --vp-c-bg-elv: #2d2520;
100 --vp-c-bg-soft: #342b25;
101 --vp-c-bg-mute: #43372f;
102
103 --vp-c-border: rgba(255, 238, 221, 0.12);
104 --vp-c-divider: rgba(255, 238, 221, 0.12);
105 --vp-c-gutter: rgba(255, 238, 221, 0.08);
106
107 --vp-c-text-1: #f7e6d8;
108 --vp-c-text-2: #d7c1b0;
109 --vp-c-text-3: #b29886;
110
111 --vp-c-default-1: #d7c1b0;
112 --vp-c-default-2: #ead8ca;
113 --vp-c-default-3: #f7e6d8;
114 --vp-c-default-soft: rgba(215, 193, 176, 0.12);
115
116 --vp-c-brand-1: #f0a06b;
117 --vp-c-brand-2: #f7b283;
118 --vp-c-brand-3: #ffd0af;
119 --vp-c-brand-soft: rgba(240, 160, 107, 0.18);
120
121 --vp-c-tip-1: #67c0b2;
122 --vp-c-tip-2: #85d4c7;
123 --vp-c-tip-3: #b6efe7;
124 --vp-c-tip-soft: rgba(103, 192, 178, 0.18);
125
126 --vp-c-warning-1: #f1ab72;
127 --vp-c-warning-2: #f6bc8c;
128 --vp-c-warning-3: #ffd2ab;
129 --vp-c-warning-soft: rgba(241, 171, 114, 0.18);
130
131 --vp-c-danger-1: #df8f86;
132 --vp-c-danger-2: #ebb0a7;
133 --vp-c-danger-3: #f7d0ca;
134 --vp-c-danger-soft: rgba(223, 143, 134, 0.18);
135
136 --vp-shadow-1: 0 1px 10px rgba(0, 0, 0, 0.22);
137 --vp-shadow-2: 0 8px 24px rgba(0, 0, 0, 0.26);
138 --vp-shadow-3: 0 18px 48px rgba(0, 0, 0, 0.34);
139 --vp-shadow-4: 0 3px 15px rgba(240, 160, 107, 0.18);
140 --vp-shadow-5: 0 3px 15px rgba(103, 192, 178, 0.16);
141
142 --vp-home-hero-name-color: #f7e6d8;
143 --vp-button-brand-text: #1e1815;
144 --vp-button-brand-hover-text: #1e1815;
145 --vp-button-brand-active-text: #1e1815;
146
147 --vp-button-alt-border: rgba(255, 238, 221, 0.14);
148 --vp-button-alt-text: var(--vp-c-text-1);
149 --vp-button-alt-bg: rgba(52, 43, 37, 0.86);
150 --vp-button-alt-hover-border: rgba(255, 238, 221, 0.2);
151 --vp-button-alt-hover-text: var(--vp-c-text-1);
152 --vp-button-alt-hover-bg: rgba(67, 55, 47, 0.92);
153 --vp-button-alt-active-border: rgba(255, 238, 221, 0.24);
154 --vp-button-alt-active-text: var(--vp-c-text-1);
155 --vp-button-alt-active-bg: rgba(77, 64, 55, 0.96);
156
157 --vp-nav-bg-color: rgba(30, 24, 21, 0.8);
158 --vp-sidebar-bg-color: rgba(37, 30, 26, 0.96);
159 }
160
161 html {
162 scroll-behavior: smooth;
163 }
164
165 body {
166 background:
167 radial-gradient(circle at top left, rgba(203, 116, 59, 0.12), transparent 28%),
168 radial-gradient(circle at top right, rgba(46, 140, 125, 0.1), transparent 24%),
169 var(--vp-c-bg);
170 }
171
172 .VPApp,
173 .Layout {
174 background: transparent;
175 }
176
177 .VPNavBar,
178 .VPNavScreen,
179 .VPLocalNav,
180 .VPDocAsideOutline .content,
181 .VPSidebar {
182 backdrop-filter: blur(18px);
183 }
184
185 /* .VPNavBar { */
186 /* border-bottom: 1px solid var(--vp-c-border); */
187 /* } */
188
189 .VPNavBar .title span,
190 .VPNavBarMenuLink,
191 .VPLocalNav .menu-text,
192 .VPSidebarItem.level-0 .text,
193 .VPSidebarItem.level-1 .text,
194 .VPMenuLink .link,
195 .VPFlyout .text,
196 .VPSidebarItem .text,
197 .VPDocAsideOutline .outline-title {
198 font-weight: 600;
199 letter-spacing: 0.01em;
200 }
201
202 .VPNavBar .title {
203 min-inline-size: 0;
204 }
205
206 .VPNavBar .content {
207 flex: 0 0 auto;
208 }
209
210 .VPNavBarTitle {
211 min-inline-size: 0;
212 }
213
214 .VPNavBarTitle .title {
215 display: flex;
216 align-items: center;
217 min-inline-size: 0;
218 max-inline-size: calc(100vw - 5rem);
219 }
220
221 .VPNavBarTitle .title > span:not(.dyne-brand) {
222 flex: 1 1 auto;
223 min-inline-size: 0;
224 overflow: hidden;
225 text-overflow: ellipsis;
226 white-space: nowrap;
227 font-weight: 800;
228 letter-spacing: clamp(0.04em, 0.8vw, 0.2em);
229 font-size: clamp(1rem, 4vw, 2rem);
230 }
231
232 .VPNavBarTitle .title > span:not(.dyne-brand),
233 .VPNavBarMenuLink,
234 .VPLocalNav .menu-text,
235 .VPSidebarItem.level-0 .text,
236 .VPSidebarItem.level-1 .text,
237 .VPMenuLink .link,
238 .VPFlyout .text,
239 .VPDocAsideOutline .outline-title {
240 font-family: "Syne", var(--vp-font-family-base);
241 }
242
243 .VPNavBarTitle .title,
244 .VPNavBarMenuLink,
245 .VPLink.link {
246 transition:
247 color 160ms ease,
248 opacity 160ms ease;
249 }
250
251 .VPNavBarTitle .title:hover,
252 .VPNavBarMenuLink:hover,
253 .VPLink.link:hover {
254 color: var(--vp-c-brand-1);
255 }
256
257 .dyne-brand {
258 display: inline-flex;
259 align-items: center;
260 gap: .5rem;
261 line-height: 1;
262
263 }
264
265 .dyne-brand__mark,
266 .dyne-brand__logotype {
267 display: block;
268 filter: none;
269 transition: filter 160ms ease, opacity 160ms ease;
270 }
271
272 .dyne-brand__mark {
273 width: 4rem;
274 height: 4rem;
275 }
276
277 .dyne-brand__logotype {
278 width: 4rem;
279 height: auto;
280 }
281
282 .dyne-brand.nav {
283 flex: 0 0 auto;
284 margin-right: clamp(0.75rem, 6vw, 4rem);
285 }
286
287 .dyne-brand.nav .dyne-brand__mark {
288 flex: 0 0 auto;
289 width: 4rem;
290 height: 4rem;
291 }
292
293 .dyne-brand.nav .dyne-brand__logotype {
294 flex: 0 0 auto;
295 width: 4rem;
296 height: auto;
297 max-width: none;
298 }
299
300 .doc-brand {
301 margin-bottom: 1rem;
302 }
303
304 .dyne-brand.doc {
305 margin-top: 0.25rem;
306 margin-bottom: 0.25rem;
307 }
308
309 .dyne-brand.doc .dyne-brand__mark {
310 width: 2rem;
311 height: 2rem;
312 }
313
314 .dyne-brand.doc .dyne-brand__logotype {
315 height: 2.4rem;
316 }
317
318 .dark .dyne-brand__mark,
319 .dark .dyne-brand__logotype {
320 filter: invert(1);
321 }
322
323 .VPButton,
324 .VPNavBarSearchButton,
325 .VPSocialLink,
326 .VPSwitch {
327 border-radius: 999px;
328 }
329
330 .VPButton {
331 box-shadow: var(--vp-shadow-1);
332 font-weight: 700;
333 }
334
335 .VPButton.brand:hover {
336 box-shadow: var(--vp-shadow-4);
337 }
338
339 .VPButton.alt:hover {
340 box-shadow: var(--vp-shadow-1);
341 }
342
343 .VPNavBarSearchButton,
344 .VPSocialLink,
345 .VPSwitch {
346 border: 1px solid var(--vp-c-border);
347 background: rgba(255, 248, 241, 0.6);
348 }
349
350 .dark .VPNavBarSearchButton,
351 .dark .VPSocialLink,
352 .dark .VPSwitch {
353 background: rgba(52, 43, 37, 0.72);
354 }
355
356 .VPNavBarSearchButton:hover,
357 .VPSocialLink:hover,
358 .VPSwitch:hover {
359 border-color: var(--vp-c-brand-1);
360 box-shadow: var(--vp-shadow-4);
361 }
362
363 .VPHero .name,
364 .VPHero .text,
365 .VPDoc h1,
366 .VPDoc h2,
367 .VPDoc h3,
368 .VPDoc h4,
369 .VPDoc .custom-block-title {
370 font-family: "Syne", var(--vp-font-family-base);
371 letter-spacing: -0.03em;
372 }
373
374 .VPHero .name {
375 font-weight: 800;
376 }
377
378 .VPHero .text {
379 color: var(--vp-c-text-1);
380 font-weight: 700;
381 }
382
383 .VPHero .tagline {
384 color: var(--vp-c-text-2);
385 font-size: 1.05rem;
386 max-width: 40rem;
387 }
388
389 .VPHero .image-bg {
390 opacity: 0.95;
391 }
392
393 .VPFeature,
394 .custom-block,
395 .vp-code-group,
396 div[class*='language-'],
397 .vp-doc table {
398 border: 1px solid var(--vp-c-border);
399 border-radius: 28px;
400 box-shadow: var(--vp-shadow-1);
401 }
402
403 .VPFeature {
404 background: linear-gradient(180deg, rgba(255, 248, 241, 0.84), rgba(255, 244, 232, 0.92));
405 }
406
407 .dark .VPFeature {
408 background: linear-gradient(180deg, rgba(52, 43, 37, 0.88), rgba(37, 30, 26, 0.96));
409 }
410
411 .VPFeature .title {
412 font-family: "Syne", var(--vp-font-family-base);
413 font-weight: 700;
414 letter-spacing: -0.02em;
415 }
416
417 .VPFeature .details {
418 color: var(--vp-c-text-2);
419 }
420
421 .vp-doc a {
422 color: var(--vp-c-brand-2);
423 text-decoration-thickness: 1.5px;
424 text-underline-offset: 0.18em;
425 }
426
427 .vp-doc a:hover {
428 color: var(--vp-c-brand-1);
429 }
430
431 .vp-doc h1,
432 .vp-doc h2,
433 .vp-doc h3,
434 .vp-doc h4 {
435 color: var(--vp-c-text-1);
436 }
437
438 .vp-doc h1 {
439 font-size: clamp(2.6rem, 6vw, 4.8rem);
440 line-height: 1.08;
441 }
442
443 .vp-doc h2 {
444 font-size: clamp(1.7rem, 3vw, 2.4rem);
445 line-height: 1.14;
446 }
447
448 .vp-doc h3,
449 .vp-doc h4,
450 .vp-doc h5,
451 .vp-doc h6 {
452 line-height: 1.18;
453 }
454
455 .vp-doc p,
456 .vp-doc li {
457 color: var(--vp-c-text-2);
458 }
459
460 .vp-doc strong,
461 .vp-doc th {
462 color: var(--vp-c-text-1);
463 }
464
465 .vp-doc blockquote {
466 border-left: 4px solid var(--vp-c-brand-1);
467 background: rgba(203, 116, 59, 0.06);
468 border-radius: 0 20px 20px 0;
469 color: var(--vp-c-text-1);
470 font-style: normal;
471 }
472
473 .dark .vp-doc blockquote {
474 background: rgba(240, 160, 107, 0.08);
475 }
476
477 .vp-doc code {
478 color: var(--vp-c-tip-2);
479 }
480
481 .vp-doc :not(pre) > code {
482 border: 1px solid rgba(46, 140, 125, 0.16);
483 border-radius: 999px;
484 background: rgba(46, 140, 125, 0.08);
485 padding: 0.2rem 0.5rem;
486 }
487
488 .dark .vp-doc :not(pre) > code {
489 border-color: rgba(103, 192, 178, 0.18);
490 background: rgba(103, 192, 178, 0.12);
491 }
492
493 div[class*='language-'] {
494 background: #251e18;
495 box-shadow: var(--vp-shadow-3);
496 }
497
498 .dark div[class*='language-'] {
499 background: #171210;
500 }
501
502 .vp-doc table {
503 overflow: hidden;
504 background: rgba(255, 248, 241, 0.7);
505 }
506
507 .dark .vp-doc table {
508 background: rgba(52, 43, 37, 0.72);
509 }
510
511 .vp-doc tr:nth-child(2n) {
512 background: rgba(37, 30, 24, 0.03);
513 }
514
515 .dark .vp-doc tr:nth-child(2n) {
516 background: rgba(255, 238, 221, 0.03);
517 }
518
519 .vp-doc th,
520 .vp-doc td {
521 border-color: var(--vp-c-border);
522 }
523
524 .VPSidebarItem.is-active > .item .link > .text,
525 .VPSidebarItem.is-active > .item .text,
526 .VPDocAsideOutline .outline-link.active {
527 color: var(--vp-c-brand-1);
528 }
529
530 .VPSidebarItem.level-0 > .item {
531 padding-top: 0.45rem;
532 padding-bottom: 0.45rem;
533 }
534
535 .VPDocFooter .pager-link,
536 .VPDocFooter .edit-link-button {
537 border: 1px solid var(--vp-c-border);
538 border-radius: 24px;
539 background: rgba(255, 248, 241, 0.72);
540 }
541
542 .dark .VPDocFooter .pager-link,
543 .dark .VPDocFooter .edit-link-button {
544 background: rgba(52, 43, 37, 0.8);
545 }
546
547 .VPDocFooter .pager-link:hover,
548 .VPDocFooter .edit-link-button:hover {
549 border-color: var(--vp-c-brand-1);
550 box-shadow: var(--vp-shadow-4);
551 }
552
553 .dyne-footer {
554 margin-top: 4rem;
555 border-top: 1px solid var(--vp-c-border);
556 background: var(--vp-nav-bg-color);
557 color: var(--vp-c-text-1);
558 backdrop-filter: blur(18px);
559 }
560
561 .dyne-footer__inner {
562 max-width: 80rem;
563 margin-inline: auto;
564 padding: 2.5rem 1.5rem 3rem;
565 }
566
567 .dyne-footer__content {
568 display: flex;
569 justify-content: space-between;
570 align-items: start;
571 gap: 2rem;
572 opacity: 0.72;
573 }
574
575 .dyne-footer__top {
576 display: flex;
577 justify-content: space-between;
578 align-items: flex-start;
579 gap: 2rem;
580 width: 100%;
581 }
582
583 .dyne-footer__logo {
584 display: inline-flex;
585 align-items: center;
586 gap: 1rem;
587 color: inherit;
588 }
589
590 .dyne-footer__mark {
591 width: 10rem;
592 height: 10rem;
593 }
594
595 .dyne-footer__logotype {
596 width: 9rem;
597 height: auto;
598 }
599
600 .dyne-footer__mark,
601 .dyne-footer__logotype {
602 display: block;
603 transition: filter 160ms ease, opacity 160ms ease;
604 }
605
606 .dark .dyne-footer__mark,
607 .dark .dyne-footer__logotype {
608 filter: invert(1);
609 }
610
611 .dyne-footer__right {
612 display: flex;
613 flex-direction: column;
614 align-items: flex-end;
615 gap: 1rem;
616 min-width: 0;
617 }
618
619 .dyne-footer__socials {
620 display: flex;
621 flex-wrap: wrap;
622 justify-content: flex-end;
623 gap: 0.75rem;
624 max-width: 32rem;
625 }
626
627 .dyne-footer__social {
628 display: inline-flex;
629 align-items: center;
630 justify-content: center;
631 min-inline-size: 1.875rem;
632 min-block-size: 1.875rem;
633 border: 1px solid var(--vp-c-border);
634 border-radius: 999px;
635 color: var(--vp-c-text-1);
636 text-decoration: none;
637 background: rgba(255, 248, 241, 0.6);
638 }
639
640 .dyne-social-icon {
641 width: 1.25rem;
642 height: 1.25rem;
643 fill: currentColor;
644 }
645
646 .dark .dyne-footer__social {
647 background: rgba(52, 43, 37, 0.72);
648 }
649
650 .dyne-footer__social:hover {
651 border-color: var(--vp-c-brand-1);
652 color: var(--vp-c-brand-1);
653 box-shadow: var(--vp-shadow-4);
654 }
655
656 .dyne-footer__legal {
657 max-width: 48rem;
658 text-align: right;
659 color: var(--vp-c-text-2);
660 font-size: 0.875rem;
661 line-height: 1.6;
662 }
663
664 .dyne-footer__legal p {
665 margin: 0;
666 }
667
668 .dyne-footer__legal p + p {
669 margin-top: 1rem;
670 }
671
672 .dyne-footer__legal a {
673 color: var(--vp-c-text-1);
674 font-weight: 700;
675 text-decoration-thickness: 1.5px;
676 text-underline-offset: 0.18em;
677 }
678
679 .dyne-footer__legal a:hover {
680 color: var(--vp-c-brand-1);
681 }
682
683 @media (max-width: 959px) {
684 .dyne-brand.nav {
685 margin-right: 0.75rem;
686 }
687
688 .dyne-brand.nav .dyne-brand__mark {
689 flex: 0 0 auto;
690 width: 3rem;
691 height: 3rem;
692 }
693
694 .dyne-brand.nav .dyne-brand__logotype {
695 flex: 0 0 auto;
696 width: 3rem;
697 height: auto;
698 max-width: none;
699 }
700
701 .VPHero .name,
702 .vp-doc h1 {
703 letter-spacing: -0.04em;
704 }
705
706 .VPFeature,
707 .custom-block,
708 .vp-code-group,
709 div[class*='language-'],
710 .vp-doc table {
711 border-radius: 22px;
712 }
713 }
714
715 @media (max-width: 480px) {
716 .dyne-brand.nav {
717 gap: 0.375rem;
718 margin-right: 0.5rem;
719 }
720
721 .dyne-brand.nav .dyne-brand__mark {
722 width: 2.5rem;
723 height: 2.5rem;
724 }
725
726 .dyne-brand.nav .dyne-brand__logotype {
727 display: none;
728 }
729
730 .VPNavBarTitle .title > span:not(.dyne-brand) {
731 font-size: clamp(0.75rem, 4vw, 1rem);
732 letter-spacing: 0.08em;
733 }
734 }
735
736 @media (max-width: 639px) {
737 .dyne-footer__inner {
738 padding: 2rem 1.5rem 2.5rem;
739 }
740
741 .dyne-footer__content {
742 flex-direction: column;
743 align-items: flex-end;
744 }
745
746 .dyne-footer__top {
747 flex-direction: column;
748 align-items: flex-end;
749 }
750
751 .dyne-footer__socials {
752 justify-content: flex-end;
753 max-width: none;
754 }
755
756 .dyne-footer__legal {
757 font-size: 0.8125rem;
758 }
759 }