@mgks/docmd 0.2.6 → 0.2.8

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.
@@ -3,8 +3,1266 @@
3
3
  /*
4
4
  * Main CSS file for docmd
5
5
  */
6
-
7
- .docmd-container.steps-reset .docmd-container.steps-reset ol.steps-list>li.step-item::before,.docmd-container.steps-reset ol.steps-list>li.step-item::before,.docmd-container.steps-reset ol.steps-list[start]>li.step-item::before{content:counter(list-counter) ".";font-weight:700;margin-right:.5em;color:var(--accent-color,#007acc)}.docmd-tab-pane.active,.logo-link img,.logo-link img.logo-light,.tab-panel.active,.theme-toggle-button .icon-sun,body.sidebar-collapsible .sidebar-toggle-button,html[data-theme=dark] .logo-link img.logo-dark,html[data-theme=dark] .theme-toggle-button .icon-moon,img{display:block}:root{--font-family-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--font-family-mono:"SFMono-Regular",Consolas,"Liberation Mono",Menlo,Courier,monospace;--bg-color:#ffffff;--text-color:#333333;--sidebar-bg:#f4f7f9;--sidebar-text:#2c3e50;--sidebar-link-active-bg:#e0e7ec;--sidebar-link-active-parent-bg:#e9eff3;--link-color:#007bff;--border-color:#e0e0e0;--code-bg:#f8f8f8;--code-text:#333;--header-bg:#ffffff;--header-border:#e0e0e0;--image-border-color:#e0e0e0;--image-shadow:0 2px 8px rgba(0, 0, 0, 0.1);--image-caption-bg:#f8f8f8;--image-caption-text:#666;--lightbox-bg:rgba(0, 0, 0, 0.9);--lightbox-text:#fff}[data-theme=dark]{--bg-color:#1a1a1a;--text-color:#e0e0e0;--sidebar-bg:#2c2c2c;--sidebar-text:#bdc3c7;--sidebar-link-active-bg:#3a3a3a;--sidebar-link-active-parent-bg:#343434;--link-color:#58a6ff;--border-color:#444444;--code-bg:#282c34;--code-text:#abb2bf;--header-bg:#1a1a1a;--header-border:#444444;--image-border-color:#444444;--image-shadow:0 2px 8px rgba(0, 0, 0, 0.3);--image-caption-bg:#2c2c2c;--image-caption-text:#bdc3c7;--lightbox-bg:rgba(0, 0, 0, 0.95);--lightbox-text:#fff}body{font-family:var(--font-family-sans);background-color:var(--bg-color);color:var(--text-color);margin:0;display:flex;min-height:100vh;line-height:1.6}code,pre{font-family:var(--font-family-mono);background-color:var(--code-bg)}.sidebar{width:260px;background-color:var(--sidebar-bg);color:var(--sidebar-text);padding:20px;border-right:1px solid var(--border-color);height:100vh;position:fixed;top:0;left:0;overflow-y:auto;box-sizing:border-box;flex-shrink:0}.sidebar h1{font-size:1.5em;margin-top:0;margin-bottom:20px;padding-bottom:10px;border-bottom:1px solid var(--border-color)}.sidebar nav ul{list-style:none;padding:0;margin:0}.sidebar nav li a{display:block;padding:8px 10px;text-decoration:none;color:var(--sidebar-text);border-radius:4px;transition:background-color .2s}.copy-code-button:hover,.docmd-tabs-nav-item:hover,.sidebar nav li a.active,.sidebar nav li a:hover,.theme-toggle-button:hover{background-color:var(--sidebar-link-active-bg)}.sidebar nav li a.active{font-weight:600;color:var(--link-color)}.sidebar nav li.active-parent>a{background-color:var(--sidebar-link-active-parent-bg);font-weight:500;position:relative}.sidebar nav li.active-parent>a::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background-color:var(--link-color);opacity:.5}.copy-code-button:hover,.sidebar nav li.active-parent>a.active::before,div:hover>.copy-code-button{opacity:1}.sidebar nav ul ul{padding-left:20px;margin-top:5px}.sidebar-toggle-button{background:0 0;border:1px solid transparent;color:var(--text-color);cursor:pointer;padding:0;margin:.5em 0 0;display:none;border-radius:4px}.sidebar-toggle-button:hover{background-color:var(--sidebar-bg);border-color:var(--border-color)}.sidebar-toggle-button .lucide-icon{width:2em;height:2em}body.sidebar-collapsed .sidebar{transform:translateX(-100%);visibility:hidden}.toc-level-2,body.sidebar-collapsed .main-content-wrapper{margin-left:0}.main-content-wrapper,.sidebar{transition:transform .3s,margin-left .3s,visibility .3s}.main-content-wrapper{margin-left:260px;flex-grow:1;display:flex;flex-direction:column;overflow:hidden}.header-left,.page-header{align-items:center;display:flex}.page-header{padding:15px 30px;border-bottom:1px solid var(--header-border);background-color:var(--header-bg);justify-content:space-between;min-height:2.5em}.header-left{gap:15px}.header-right{display:flex;align-items:center}.page-header h1{margin:0;font-size:1.8em}.theme-toggle-header{padding:8px;background:var(--content-bg);border:1px solid var(--border-color);border-radius:6px;cursor:pointer;transition:.2s}.theme-toggle-header:hover{background:var(--sidebar-bg);border-color:var(--accent-color)}.card .card-title,.sidebar-header{border-bottom:1px solid var(--border-color)}.content-area{padding:2.5rem 2rem;max-width:1200px;margin:0 auto;width:100%;box-sizing:border-box}pre{color:var(--code-text);padding:1em;border-radius:4px;overflow-x:auto;position:relative}code{padding:.2em .4em;border-radius:3px;font-size:.9em}pre code{background-color:transparent;padding:0;font-size:inherit}.sidebar-header{padding-bottom:10px;margin-bottom:10px;text-align:center;height:2.5em}.sidebar-header h1{font-size:1.5em;margin-top:0;margin-bottom:0}.logo-link img{max-height:40px;width:auto;margin:0 auto}.docmd-tab-pane,.logo-link img.logo-dark,.tab-panel,.theme-toggle-button .icon-moon,html[data-theme=dark] .logo-link img.logo-light,html[data-theme=dark] .theme-toggle-button .icon-sun,.sidebar nav li.collapsible:not([aria-expanded=true])>.submenu{display:none}.sidebar-nav .lucide-icon{width:1em;height:1em;margin-right:.5em;vertical-align:-.15em;stroke-width:2}.sidebar-nav .nav-external-icon{width:1em;height:1.5em;float:right;margin-left:.3em;opacity:.7}.theme-toggle-button{background:0 0;border:1px solid var(--border-color);color:var(--sidebar-text);padding:8px;border-radius:4px;cursor:pointer;margin-top:.5em;display:flex;align-items:center;justify-content:center;width:100%}.next-page,.prev-page,.step::before{color:var(--link-color);display:flex}.callout .callout-content>:first-child,.card .card-content>:first-child,.docmd-container>:first-child,.step-content>:first-child,.step-title{margin-top:0}.theme-toggle-button .lucide-icon{width:1.2em;height:1.2em}.docmd-container{padding:1rem 1.5rem;margin-bottom:1.5rem;border-radius:6px;border:1px solid var(--border-color);background-color:var(--code-bg)}.callout .callout-content>:last-child,.card .card-content>:last-child,.docmd-container>:last-child,.step-content>:last-child{margin-bottom:0}.callout{border-left-width:5px;background-color:transparent}.callout-title{font-weight:700;margin-bottom:.5em}.callout-info{border-left-color:#3498db;background-color:rgba(52,152,219,.07)}.callout-warning{border-left-color:#f39c12;background-color:rgba(243,156,18,.07)}.callout-success,.callout-tip{border-left-color:#2ecc71;background-color:rgba(46,204,113,.07)}.callout-danger{border-left-color:#e74c3c;background-color:rgba(231,76,60,.07)}.card .card-title{font-weight:700;font-size:1.1em;margin:-1rem -1.5rem 1rem;padding:.75rem 1.5rem}.docmd-container.steps{position:relative;padding-left:3rem;border:none;background:0 0;box-shadow:none}.docmd-container.steps::before{content:"";position:absolute;top:1rem;bottom:1rem;left:2.5rem;width:2px;background-color:var(--border-color)}.step{position:relative;padding-bottom:1.5rem}.step:last-child{padding-bottom:0}.step::before{content:attr(data-step);position:absolute;left:-3rem;top:.1rem;width:2.5rem;height:2.5rem;background-color:var(--bg-color);border:2px solid var(--border-color);border-radius:50%;align-items:center;justify-content:center;font-size:1rem;font-weight:600;z-index:1}.step-title{font-size:1.25rem;font-weight:600;margin-bottom:.5rem}.docmd-container.steps-reset{counter-reset:step-counter 0}.docmd-container.steps-reset ol.steps-list{counter-reset:list-counter 0;list-style:none}.docmd-container.steps-reset ol.steps-list>li.step-item{counter-increment:list-counter 1;position:relative;padding-left:0;margin-bottom:2.5rem}.docmd-container.steps-reset ol.steps-list>li.step-item::before{font-size:2rem}.docmd-container.steps-reset .docmd-container.steps-reset ol.steps-list,.docmd-container.steps-reset ol.steps-list[start]{counter-reset:list-counter 0}.docmd-container.steps-reset .docmd-container.steps-reset ol.steps-list>li.step-item,.docmd-container.steps-reset ol.steps-list[start]>li.step-item{counter-increment:list-counter 1}.docmd-container.steps-reset ol:not(.steps-list)::before,.docmd-container.steps-reset ol:not(.steps-list)>li::before,.docmd-container.steps-reset ul::before,.docmd-container.steps-reset ul>li::before{width:.75rem;height:.75rem;left:-1.5rem;top:.5rem;content:""!important}:focus-visible{outline:2px solid var(--link-color);outline-offset:2px}:focus:not(:focus-visible){outline:currentcolor}.sidebar nav li a:focus-visible{background-color:var(--sidebar-link-active-bg);outline:2px solid var(--link-color);outline-offset:-2px}.theme-toggle-button:focus-visible{border-color:var(--link-color);box-shadow:0 0 0 2px var(--link-color)}.page-footer,.page-navigation{border-top:1px solid var(--border-color)}.page-navigation{display:flex;justify-content:space-between;margin-top:3rem;padding-top:1.5rem}.next-page,.prev-page{align-items:center;text-decoration:none;padding:.75rem;border-radius:6px;transition:background-color .2s;width:48%;max-width:48%}.next-page:hover,.prev-page:hover{background-color:rgba(0,0,0,.05);text-decoration:none}[data-theme=dark] .next-page:hover,[data-theme=dark] .prev-page:hover{background-color:rgba(255,255,255,.05)}.prev-page{justify-content:flex-start}.next-page{justify-content:flex-end;text-align:right}.next-page-placeholder,.prev-page-placeholder{width:48%}.next-page span,.prev-page span{display:flex;flex-direction:column}.next-page small,.prev-page small{font-size:.8rem;opacity:.8;margin-bottom:.25rem}.next-page strong,.prev-page strong{font-weight:500}.page-nav-icon{width:1.2rem;height:1.2rem}.prev-page .page-nav-icon{margin-right:.75rem}.next-page .page-nav-icon{margin-left:.75rem}.page-footer{text-align:center;padding:20px 30px;margin-top:auto;font-size:.9em;color:var(--text-color);background-color:var(--sidebar-bg)}.footer-content{display:flex;justify-content:space-between;align-items:center;margin:0 auto;width:100%}.user-footer{text-align:left}.branding-footer{text-align:right;opacity:.9;font-weight:500}.branding-footer svg{color:#fb3a3a}.page-footer a{color:var(--link-color);text-decoration:none}.page-footer a:hover,.toc-link:hover{text-decoration:underline}.content-layout{display:flex;gap:2rem;width:100%}.main-content{flex:1 1 0%;min-inline-size:0px}.toc-container{margin:0;padding:0;border:none;background-color:transparent}.docmd-container figure img,.toc-title{margin-bottom:.5rem}.toc-title{margin-top:0;font-size:1rem;font-weight:700;color:var(--text-muted)}.toc-list{list-style:none;padding-left:0;margin:0}.toc-item{margin-bottom:.25rem;line-height:1.4}.toc-link{text-decoration:none;color:var(--link-color);display:inline-block;padding:.1rem 0;font-size:.9rem;font-weight:500}.toc-level-3{margin-left:.75rem;font-size:.85rem}.toc-level-4{margin-left:1.5rem;font-size:.8rem}.toc-sidebar{width:180px;position:sticky;top:2rem;max-height:calc(-4rem + 100vh);overflow-y:auto;align-self:flex-start}@media (max-width:1024px){.content-layout{display:flex;flex-direction:column-reverse}.toc-sidebar{width:100%;position:static;margin-bottom:1rem}}.docmd-tabs,img{margin:1.5rem 0}img{max-width:100%;height:auto}img.align-left{float:left;margin-right:1.5rem;margin-bottom:1rem}img.align-center{margin-left:auto;margin-right:auto}img.align-right{float:right;margin-left:1.5rem;margin-bottom:1rem}img.size-small{max-width:300px}img.size-medium{max-width:500px}img.size-large{max-width:800px}img.with-border{border:1px solid var(--image-border-color);padding:4px}img.with-shadow{box-shadow:var(--image-shadow)}.docmd-container figure{margin:2rem 0}.docmd-container figcaption{font-size:.9rem;color:var(--image-caption-text);text-align:center;padding:.5rem;background-color:var(--image-caption-bg);border-radius:0 0 4px 4px}.docmd-container .image-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem;margin:2rem 0}.docmd-container .image-gallery figure{margin:0}.docmd-container .clear-float::after{content:"";display:table;clear:both}.docmd-tabs{border:1px solid var(--border-color);border-radius:6px;overflow:hidden;box-shadow:rgba(0,0,0,.05) 0 1px 3px}.docmd-tabs-nav{display:flex;background-color:var(--sidebar-bg);border-bottom:1px solid var(--border-color);overflow:auto hidden}.docmd-tabs-nav-item{padding:.75rem 1.25rem;cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-1px;font-weight:500;color:var(--sidebar-text);white-space:nowrap}.docmd-tabs-nav-item.active{color:var(--link-color);border-bottom-color:var(--link-color);background-color:var(--bg-color)}.docmd-tabs-content{padding:1.5rem}.tabs-container{margin:1rem 0;border:1px solid #e1e5e9;border-radius:.375rem}.tab-navigation{display:flex;background-color:#f8f9fa;border-bottom:1px solid #e1e5e9;border-radius:.375rem .375rem 0 0}.tab-button{padding:.75rem 1rem;border-width:medium medium 2px;border-style:none none solid;border-color:currentcolor currentcolor transparent;border-image:none;background:0 0;cursor:pointer;transition:.2s}.tab-button:hover{background-color:#e9ecef}.tab-button.active{border-bottom-color:#007bff;background-color:#fff}.tab-content{padding:1rem}.docmd-lightbox{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:var(--lightbox-bg);z-index:9999;justify-content:center;align-items:center;flex-direction:column}.copy-code-button svg,.sponsor-icon{width:1rem;height:1rem}.docmd-lightbox-content{position:relative;max-width:90%;max-height:90%;text-align:center}.docmd-lightbox-content img{max-width:100%;max-height:80vh;object-fit:contain;margin:0 auto;box-shadow:rgba(0,0,0,.3) 0 0 20px}.docmd-lightbox-caption{color:var(--lightbox-text);padding:1rem;font-size:1rem;max-width:100%}.docmd-lightbox-close{position:absolute;top:20px;right:30px;color:var(--lightbox-text);font-size:2.5rem;cursor:pointer;z-index:10000}.docmd-lightbox-close:hover{color:#ddd}.docmd-button,.sponsor-link,.sponsor-link:hover{color:#fff;text-decoration:none}.docmd-container .image-gallery img,img.lightbox{cursor:zoom-in}.docmd-button{display:inline-block;padding:.6rem 1.2rem;margin:.5rem;border-radius:6px;background-color:var(--link-color);font-weight:500;transition:background-color .2s,transform .2s;border:none;cursor:pointer}.docmd-button:hover{text-decoration:none;filter:brightness(90%);transform:translateY(-1px)}.sponsor-ribbon{position:fixed;bottom:75px;right:10px;z-index:1000;transform:rotate(0);transform-origin:center center;opacity:.75;transition:.5s}.sponsor-ribbon:hover{opacity:1}.sponsor-link{display:flex;align-items:center;gap:.5rem;background:linear-gradient(135deg,#ff6b6b,#ee5a24);padding:.75rem 1.5rem;border-radius:5px;box-shadow:rgba(255,107,107,.3) 0 4px 12px;font-weight:600;font-size:.875rem;transition:.3s;white-space:nowrap}.sponsor-link:hover{transform:scale(1.02);box-shadow:rgba(255,107,107,.4) 0 6px 20px}.sponsor-icon{animation:2s ease-in-out infinite heartbeat}.sponsor-text{font-family:inherit}@keyframes heartbeat{0%,100%{transform:scale(1)}50%{transform:scale(1.1)}}@media (max-width:768px){body{flex-direction:column}.sidebar{width:100%;height:auto;position:static;border-right:currentcolor;border-bottom:1px solid var(--border-color)}.sidebar-toggle-button{display:block}.main-content-wrapper{margin-left:0}.content-area{padding:15px}.footer-content,.page-navigation{flex-direction:column;gap:1rem}.branding-footer,.user-footer{text-align:center}.next-page,.next-page-placeholder,.prev-page,.prev-page-placeholder{width:100%;max-width:100%}img.align-left,img.align-right{float:none;margin-left:auto;margin-right:auto}.docmd-container .image-gallery{grid-template-columns:1fr}.sponsor-ribbon{bottom:10px;right:10px}.sponsor-link{padding:.5rem 1rem;font-size:.75rem}.sponsor-icon{width:.875rem;height:.875rem}}html[data-theme=dark] .sponsor-link{background:linear-gradient(135deg,#ff6b6b,#c44569);box-shadow:rgba(255,107,107,.2) 0 4px 12px}html[data-theme=dark] .sponsor-link:hover{box-shadow:rgba(255,107,107,.3) 0 6px 20px}.copy-code-button{position:absolute;top:.75rem;right:.75rem;padding:.5rem;background-color:var(--code-bg);border:1px solid var(--border-color);border-radius:6px;cursor:pointer;opacity:0;transition:opacity .2s ease-in-out,background-color .2s;color:var(--sidebar-text);display:flex;align-items:center;justify-content:center;z-index:10;pointer-events:auto}.copy-code-button.copied{color:#10b981;opacity:1}.sidebar nav li.collapsible>a{display:flex;justify-content:space-between;align-items:center}.sidebar nav li.collapsible>a .nav-item-title{flex-grow:1}.sidebar nav .collapse-icon{transition:transform .2s ease-in-out;flex-shrink:0;margin-left:.5em}.sidebar nav li.collapsible[aria-expanded=true]>a>.collapse-icon{transform:rotate(90deg)}hr{color:rgba(245,245,245,.27);border-top-width:1px}
6
+ .docmd-container.steps-reset .docmd-container.steps-reset ol.steps-list > li.step-item::before, .docmd-container.steps-reset ol.steps-list > li.step-item::before, .docmd-container.steps-reset ol.steps-list[start] > li.step-item::before {
7
+ content: counter(list-counter) ".";
8
+ font-weight: 700;
9
+ margin-right: .5em;
10
+ color:var(--accent-color, #007acc)
11
+ }
8
12
 
9
- /* Mermaid diagram styles */
10
- .mermaid-container{margin:1.5rem 0;overflow-x:auto;text-align:center}.mermaid-container svg{max-width:100%;height:auto;display:inline-block}.mermaid-error{color:#e74c3c;padding:1rem;margin:0;background-color:rgba(231,76,60,.07);border-left:4px solid #e74c3c;border-radius:4px;font-size:.9rem}pre.mermaid{background-color:transparent;padding:0;margin:0;border:none;display:none}
13
+ .docmd-tab-pane.active, .logo-link img, .logo-link img.logo-light, .tab-panel.active, .theme-toggle-button .icon-sun, body.sidebar-collapsible .sidebar-toggle-button, html[data-theme=dark] .logo-link img.logo-dark, html[data-theme=dark] .theme-toggle-button .icon-moon, img {
14
+ display:block
15
+ }
16
+
17
+ :root {
18
+ --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
19
+ --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
20
+ --bg-color: #ffffff;
21
+ --text-color: #333333;
22
+ --sidebar-bg: #f4f7f9;
23
+ --sidebar-text: #2c3e50;
24
+ --sidebar-link-active-bg: #e0e7ec;
25
+ --sidebar-link-active-parent-bg: #e9eff3;
26
+ --link-color: #007bff;
27
+ --border-color: #e0e0e0;
28
+ --code-bg: #f8f8f8;
29
+ --code-text: #333;
30
+ --header-bg: #ffffff;
31
+ --header-border: #e0e0e0;
32
+ --image-border-color: #e0e0e0;
33
+ --image-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
34
+ --image-caption-bg: #f8f8f8;
35
+ --image-caption-text: #666;
36
+ --lightbox-bg: rgba(0, 0, 0, 0.9);
37
+ --lightbox-text:#fff
38
+ }
39
+
40
+ [data-theme=dark] {
41
+ --bg-color: #1a1a1a;
42
+ --text-color: #e0e0e0;
43
+ --sidebar-bg: #2c2c2c;
44
+ --sidebar-text: #bdc3c7;
45
+ --sidebar-link-active-bg: #3a3a3a;
46
+ --sidebar-link-active-parent-bg: #343434;
47
+ --link-color: #58a6ff;
48
+ --border-color: #444444;
49
+ --code-bg: #282c34;
50
+ --code-text: #abb2bf;
51
+ --header-bg: #1a1a1a;
52
+ --header-border: #444444;
53
+ --image-border-color: #444444;
54
+ --image-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
55
+ --image-caption-bg: #2c2c2c;
56
+ --image-caption-text: #bdc3c7;
57
+ --lightbox-bg: rgba(0, 0, 0, 0.95);
58
+ --lightbox-text:#fff
59
+ }
60
+
61
+ body {
62
+ font-family: var(--font-family-sans);
63
+ background-color: var(--bg-color);
64
+ color: var(--text-color);
65
+ margin: 0;
66
+ display: flex;
67
+ min-height: 100vh;
68
+ line-height:1.6
69
+ }
70
+
71
+ code, pre {
72
+ font-family: var(--font-family-mono);
73
+ background-color:var(--code-bg)
74
+ }
75
+
76
+ .sidebar {
77
+ width: 260px;
78
+ background-color: var(--sidebar-bg);
79
+ color: var(--sidebar-text);
80
+ padding: 20px;
81
+ border-right: 1px solid var(--border-color);
82
+ height: 100vh;
83
+ position: fixed;
84
+ top: 0;
85
+ left: 0;
86
+ overflow-y: auto;
87
+ box-sizing: border-box;
88
+ flex-shrink:0
89
+ }
90
+
91
+ .sidebar h1 {
92
+ font-size: 1.5em;
93
+ margin-top: 0;
94
+ margin-bottom: 20px;
95
+ padding-bottom: 10px;
96
+ border-bottom:1px solid var(--border-color)
97
+ }
98
+
99
+ .sidebar nav ul {
100
+ list-style: none;
101
+ padding: 0;
102
+ margin:0
103
+ }
104
+
105
+ .sidebar nav li a {
106
+ display: block;
107
+ padding: 8px 10px;
108
+ text-decoration: none;
109
+ color: var(--sidebar-text);
110
+ border-radius: 4px;
111
+ transition:background-color .2s
112
+ }
113
+
114
+ .copy-code-button:hover, .docmd-tabs-nav-item:hover, .sidebar nav li a.active, .sidebar nav li a:hover, .theme-toggle-button:hover {
115
+ background-color:var(--sidebar-link-active-bg)
116
+ }
117
+
118
+ .sidebar nav li a.active {
119
+ font-weight: 600;
120
+ color:var(--link-color)
121
+ }
122
+
123
+ .sidebar nav li.active-parent > a {
124
+ background-color: var(--sidebar-link-active-parent-bg);
125
+ font-weight: 500;
126
+ position:relative
127
+ }
128
+
129
+ .sidebar nav li.active-parent > a::before {
130
+ content: "";
131
+ position: absolute;
132
+ left: 0;
133
+ top: 0;
134
+ bottom: 0;
135
+ width: 3px;
136
+ background-color: var(--link-color);
137
+ opacity:.5
138
+ }
139
+
140
+ .copy-code-button:hover, .sidebar nav li.active-parent > a.active::before, div:hover > .copy-code-button {
141
+ opacity:1
142
+ }
143
+
144
+ .sidebar nav ul ul {
145
+ padding-left: 20px;
146
+ margin-top:5px
147
+ }
148
+
149
+ .sidebar-toggle-button {
150
+ background: 0 0;
151
+ border: 1px solid transparent;
152
+ color: var(--text-color);
153
+ cursor: pointer;
154
+ padding: 0;
155
+ margin: .5em 0 0;
156
+ display: none;
157
+ border-radius:4px
158
+ }
159
+
160
+ .sidebar-toggle-button:hover {
161
+ background-color: var(--sidebar-bg);
162
+ border-color:var(--border-color)
163
+ }
164
+
165
+ .sidebar-toggle-button .lucide-icon {
166
+ width: 2em;
167
+ height:2em
168
+ }
169
+
170
+ body.sidebar-collapsed .sidebar {
171
+ transform: translateX(-100%);
172
+ visibility:hidden
173
+ }
174
+
175
+ .toc-level-2, body.sidebar-collapsed .main-content-wrapper {
176
+ margin-left:0
177
+ }
178
+
179
+ .main-content-wrapper, .sidebar {
180
+ transition:transform .3s, margin-left .3s, visibility .3s
181
+ }
182
+
183
+ .main-content-wrapper {
184
+ margin-left: 260px;
185
+ flex-grow: 1;
186
+ display: flex;
187
+ flex-direction: column;
188
+ overflow:hidden
189
+ }
190
+
191
+ .header-left, .page-header {
192
+ align-items: center;
193
+ display:flex
194
+ }
195
+
196
+ .page-header {
197
+ padding: 15px 30px;
198
+ border-bottom: 1px solid var(--header-border);
199
+ background-color: var(--header-bg);
200
+ justify-content: space-between;
201
+ min-height:2.5em
202
+ }
203
+
204
+ .header-left {
205
+ gap:15px
206
+ }
207
+
208
+ .header-right {
209
+ display: flex;
210
+ align-items:center
211
+ }
212
+
213
+ .page-header h1 {
214
+ margin: 0;
215
+ font-size:1.8em
216
+ }
217
+
218
+ .theme-toggle-header {
219
+ padding: 8px;
220
+ background: var(--content-bg);
221
+ border: 1px solid var(--border-color);
222
+ border-radius: 6px;
223
+ cursor: pointer;
224
+ transition:.2s
225
+ }
226
+
227
+ .theme-toggle-header:hover {
228
+ background: var(--sidebar-bg);
229
+ border-color:var(--accent-color)
230
+ }
231
+
232
+ .card .card-title, .sidebar-header {
233
+ border-bottom:1px solid var(--border-color)
234
+ }
235
+
236
+ .content-area {
237
+ padding: 2.5rem 2rem;
238
+ max-width: 1200px;
239
+ margin: 0 auto;
240
+ width: 100%;
241
+ box-sizing:border-box
242
+ }
243
+
244
+ pre {
245
+ color: var(--code-text);
246
+ padding: 1em;
247
+ border-radius: 4px;
248
+ overflow-x: auto;
249
+ position:relative
250
+ }
251
+
252
+ pre {
253
+ margin: 1.5em 0;
254
+ border-radius: 8px;
255
+ box-shadow: var(--shadow-sm);
256
+ background-color: var(--code-bg);
257
+ padding: 1.25em;
258
+ color: var(--code-text);
259
+ overflow-x: auto;
260
+ position: relative;
261
+ }
262
+
263
+ code {
264
+ padding: .2em .4em;
265
+ border-radius: 3px;
266
+ font-size:.9em
267
+ }
268
+
269
+ pre code {
270
+ background-color: transparent;
271
+ padding: 0;
272
+ font-size:inherit
273
+ }
274
+
275
+ .table-wrapper {
276
+ display: block;
277
+ width: 100%;
278
+ overflow-x: auto;
279
+ margin: 1.5em 0;
280
+ border-radius: 8px;
281
+ box-shadow: var(--shadow-sm);
282
+ -webkit-overflow-scrolling: touch;
283
+ }
284
+
285
+ table {
286
+ width: 100%;
287
+ border-collapse: separate;
288
+ border-spacing: 0;
289
+ margin: 0;
290
+ }
291
+
292
+ th {
293
+ text-align: left;
294
+ font-weight: 600;
295
+ padding: .75rem 1rem;
296
+ border-bottom: 1px solid var(--border-color);
297
+ background-color: var(--sidebar-bg);
298
+ white-space: nowrap;
299
+ }
300
+
301
+ td {
302
+ padding: .75rem 1rem;
303
+ border-bottom: 1px solid var(--border-color);
304
+ }
305
+
306
+ tr:last-child td {
307
+ border-bottom: none;
308
+ }
309
+
310
+ .sidebar-header {
311
+ padding-bottom: 10px;
312
+ margin-bottom: 10px;
313
+ text-align: center;
314
+ height:2.5em
315
+ }
316
+
317
+ .sidebar-header h1 {
318
+ font-size: 1.5em;
319
+ margin-top: 0;
320
+ margin-bottom:0
321
+ }
322
+
323
+ .logo-link img {
324
+ max-height: 40px;
325
+ width: auto;
326
+ margin:0 auto
327
+ }
328
+
329
+ .docmd-tab-pane, .logo-link img.logo-dark, .tab-panel, .theme-toggle-button .icon-moon, html[data-theme=dark] .logo-link img.logo-light, html[data-theme=dark] .theme-toggle-button .icon-sun, .sidebar nav li.collapsible:not([aria-expanded=true]) > .submenu {
330
+ display:none
331
+ }
332
+
333
+ .sidebar-nav .lucide-icon {
334
+ width: 1em;
335
+ height: 1em;
336
+ margin-right: .5em;
337
+ vertical-align: -.15em;
338
+ stroke-width:2
339
+ }
340
+
341
+ .sidebar-nav .nav-external-icon {
342
+ width: 1em;
343
+ height: 1.5em;
344
+ float: right;
345
+ margin-left: .3em;
346
+ opacity:.7
347
+ }
348
+
349
+ .theme-toggle-button {
350
+ background: 0 0;
351
+ border: 1px solid var(--border-color);
352
+ color: var(--sidebar-text);
353
+ padding: 8px;
354
+ border-radius: 4px;
355
+ cursor: pointer;
356
+ margin-top: .5em;
357
+ display: flex;
358
+ align-items: center;
359
+ justify-content: center;
360
+ width:100%
361
+ }
362
+
363
+ .next-page, .prev-page, .step::before {
364
+ color: var(--link-color);
365
+ display:flex
366
+ }
367
+
368
+ .callout .callout-content > :first-child, .card .card-content > :first-child, .docmd-container > :first-child, .step-content > :first-child, .step-title {
369
+ margin-top:0
370
+ }
371
+
372
+ .theme-toggle-button .lucide-icon {
373
+ width: 1.2em;
374
+ height:1.2em
375
+ }
376
+
377
+ .docmd-container {
378
+ padding: 1rem 1.5rem;
379
+ margin-bottom: 1.5rem;
380
+ border-radius: 6px;
381
+ border: 1px solid var(--border-color);
382
+ background-color:var(--code-bg)
383
+ }
384
+
385
+ .callout .callout-content > :last-child, .card .card-content > :last-child, .docmd-container > :last-child, .step-content > :last-child {
386
+ margin-bottom:0
387
+ }
388
+
389
+ .callout {
390
+ border-left-width: 5px;
391
+ background-color:transparent
392
+ }
393
+
394
+ .callout-title {
395
+ font-weight: 700;
396
+ margin-bottom:.5em
397
+ }
398
+
399
+ .callout-info {
400
+ border-left-color: #3498db;
401
+ background-color:rgba(52, 152, 219, .07)
402
+ }
403
+
404
+ .callout-warning {
405
+ border-left-color: #f39c12;
406
+ background-color:rgba(243, 156, 18, .07)
407
+ }
408
+
409
+ .callout-success, .callout-tip {
410
+ border-left-color: #2ecc71;
411
+ background-color:rgba(46, 204, 113, .07)
412
+ }
413
+
414
+ .callout-danger {
415
+ border-left-color: #e74c3c;
416
+ background-color:rgba(231, 76, 60, .07)
417
+ }
418
+
419
+ .card .card-title {
420
+ font-weight: 700;
421
+ font-size: 1.1em;
422
+ margin: -1rem -1.5rem 1rem;
423
+ padding:.75rem 1.5rem
424
+ }
425
+
426
+ .docmd-container.steps {
427
+ position: relative;
428
+ padding-left: 3rem;
429
+ border: none;
430
+ background: 0 0;
431
+ box-shadow:none
432
+ }
433
+
434
+ .docmd-container.steps::before {
435
+ content: "";
436
+ position: absolute;
437
+ top: 1rem;
438
+ bottom: 1rem;
439
+ left: 2.5rem;
440
+ width: 2px;
441
+ background-color:var(--border-color)
442
+ }
443
+
444
+ .step {
445
+ position: relative;
446
+ padding-bottom:1.5rem
447
+ }
448
+
449
+ .step:last-child {
450
+ padding-bottom:0
451
+ }
452
+
453
+ .step::before {
454
+ content: attr(data-step);
455
+ position: absolute;
456
+ left: -3rem;
457
+ top: .1rem;
458
+ width: 2.5rem;
459
+ height: 2.5rem;
460
+ background-color: var(--bg-color);
461
+ border: 2px solid var(--border-color);
462
+ border-radius: 50%;
463
+ align-items: center;
464
+ justify-content: center;
465
+ font-size: 1rem;
466
+ font-weight: 600;
467
+ z-index:1
468
+ }
469
+
470
+ .step-title {
471
+ font-size: 1.25rem;
472
+ font-weight: 600;
473
+ margin-bottom:.5rem
474
+ }
475
+
476
+ .docmd-container.steps-reset {
477
+ counter-reset:step-counter 0
478
+ }
479
+
480
+ .docmd-container.steps-reset ol.steps-list {
481
+ counter-reset: list-counter 0;
482
+ list-style:none
483
+ }
484
+
485
+ .docmd-container.steps-reset ol.steps-list > li.step-item {
486
+ counter-increment: list-counter 1;
487
+ position: relative;
488
+ padding-left: 0;
489
+ margin-bottom:2.5rem
490
+ }
491
+
492
+ .docmd-container.steps-reset ol.steps-list > li.step-item::before {
493
+ font-size:2rem
494
+ }
495
+
496
+ .docmd-container.steps-reset .docmd-container.steps-reset ol.steps-list, .docmd-container.steps-reset ol.steps-list[start] {
497
+ counter-reset:list-counter 0
498
+ }
499
+
500
+ .docmd-container.steps-reset .docmd-container.steps-reset ol.steps-list > li.step-item, .docmd-container.steps-reset ol.steps-list[start] > li.step-item {
501
+ counter-increment:list-counter 1
502
+ }
503
+
504
+ .docmd-container.steps-reset ol:not(.steps-list)::before, .docmd-container.steps-reset ol:not(.steps-list) > li::before, .docmd-container.steps-reset ul::before, .docmd-container.steps-reset ul > li::before {
505
+ width: .75rem;
506
+ height: .75rem;
507
+ left: -1.5rem;
508
+ top: .5rem;
509
+ content: "" !important
510
+ }
511
+
512
+ .mermaid-container {
513
+ margin: 1.5rem 0;
514
+ overflow-x: auto;
515
+ text-align:center
516
+ }
517
+
518
+ .mermaid-container svg {
519
+ max-width: 100%;
520
+ height: auto;
521
+ display:inline-block
522
+ }
523
+
524
+ .mermaid-error {
525
+ color: #e74c3c;
526
+ padding: 1rem;
527
+ margin: 0;
528
+ background-color: rgba(231, 76, 60, .07);
529
+ border-left: 4px solid #e74c3c;
530
+ border-radius: 4px;
531
+ font-size:.9rem
532
+ }
533
+
534
+ pre.mermaid {
535
+ background-color: transparent;
536
+ padding: 0;
537
+ margin: 0;
538
+ border: none;
539
+ display: none
540
+ }
541
+
542
+ /* --- Collapsible (Accordion) Container --- */
543
+ .docmd-container.collapsible {
544
+ padding: 0;
545
+ background-color: var(--card-bg, var(--bg-color));
546
+ border: 1px solid var(--border-color);
547
+ border-radius: 8px;
548
+ overflow: hidden;
549
+ margin-bottom: 1.5rem;
550
+ transition: border-color 0.2s;
551
+ }
552
+
553
+ .docmd-container.collapsible[open] {
554
+ border-color: var(--link-color);
555
+ }
556
+
557
+ .collapsible-summary {
558
+ list-style: none;
559
+ padding: 0.75rem 1.25rem;
560
+ cursor: pointer;
561
+ display: flex;
562
+ align-items: center;
563
+ justify-content: space-between;
564
+ font-weight: 600;
565
+ background-color: var(--sidebar-bg);
566
+ user-select: none;
567
+ transition: background-color 0.2s;
568
+ }
569
+
570
+ .collapsible-summary:hover {
571
+ background-color: var(--sidebar-link-active-bg);
572
+ }
573
+
574
+ .collapsible-summary::-webkit-details-marker { display: none; }
575
+
576
+ .collapsible-arrow svg {
577
+ width: 1.2em;
578
+ height: 1.2em;
579
+ transition: transform 0.2s ease;
580
+ opacity: 0.7;
581
+ }
582
+
583
+ details[open] > .collapsible-summary .collapsible-arrow svg {
584
+ transform: rotate(180deg);
585
+ }
586
+
587
+ .collapsible-content {
588
+ padding: 1rem 1.25rem;
589
+ border-top: 1px solid var(--border-color);
590
+ }
591
+
592
+ /* --- Changelog Timeline (Mintlify Style) --- */
593
+ .docmd-container.changelog-timeline {
594
+ border: none;
595
+ background: transparent;
596
+ padding: 0;
597
+ margin-top: 2rem;
598
+ box-shadow: none; /* Remove default container shadow */
599
+ }
600
+
601
+ .changelog-entry {
602
+ display: grid;
603
+ grid-template-columns: 180px 1fr; /* Date width | Content width */
604
+ gap: 2rem;
605
+ margin-bottom: 3rem;
606
+ position: relative;
607
+ }
608
+
609
+ .changelog-meta {
610
+ text-align: right;
611
+ padding-top: 0.5rem;
612
+ }
613
+
614
+ .changelog-date {
615
+ display: inline-block;
616
+ background-color: var(--sidebar-bg);
617
+ color: var(--accent-color, var(--link-color));
618
+ border: 1px solid var(--border-color);
619
+ padding: 4px 12px;
620
+ border-radius: 20px;
621
+ font-size: 0.85rem;
622
+ font-weight: 600;
623
+ font-family: var(--font-family-mono);
624
+ }
625
+
626
+ .changelog-body {
627
+ border-left: 2px solid var(--border-color);
628
+ padding-left: 2rem;
629
+ padding-bottom: 1rem;
630
+ }
631
+
632
+ /* Reset top margin for the first element in the body */
633
+ .changelog-body > :first-child {
634
+ margin-top: 0;
635
+ }
636
+
637
+ :focus-visible {
638
+ outline: 2px solid var(--link-color);
639
+ outline-offset:2px
640
+ }
641
+
642
+ :focus:not(:focus-visible) {
643
+ outline:currentcolor
644
+ }
645
+
646
+ .sidebar nav li a:focus-visible {
647
+ background-color: var(--sidebar-link-active-bg);
648
+ outline: 2px solid var(--link-color);
649
+ outline-offset:-2px
650
+ }
651
+
652
+ .theme-toggle-button:focus-visible {
653
+ border-color: var(--link-color);
654
+ box-shadow:0 0 0 2px var(--link-color)
655
+ }
656
+
657
+ .page-footer, .page-navigation {
658
+ border-top:1px solid var(--border-color)
659
+ }
660
+
661
+ .page-navigation {
662
+ display: flex;
663
+ justify-content: space-between;
664
+ margin-top: 3rem;
665
+ padding-top:1.5rem
666
+ }
667
+
668
+ .next-page, .prev-page {
669
+ align-items: center;
670
+ text-decoration: none;
671
+ padding: .75rem;
672
+ border-radius: 6px;
673
+ transition: background-color .2s;
674
+ width: 48%;
675
+ max-width:48%
676
+ }
677
+
678
+ .next-page:hover, .prev-page:hover {
679
+ background-color: rgba(0, 0, 0, .05);
680
+ text-decoration:none
681
+ }
682
+
683
+ [data-theme=dark] .next-page:hover, [data-theme=dark] .prev-page:hover {
684
+ background-color:rgba(255, 255, 255, .05)
685
+ }
686
+
687
+ .prev-page {
688
+ justify-content:flex-start
689
+ }
690
+
691
+ .next-page {
692
+ justify-content: flex-end;
693
+ text-align:right
694
+ }
695
+
696
+ .next-page-placeholder, .prev-page-placeholder {
697
+ width:48%
698
+ }
699
+
700
+ .next-page span, .prev-page span {
701
+ display: flex;
702
+ flex-direction:column
703
+ }
704
+
705
+ .next-page small, .prev-page small {
706
+ font-size: .8rem;
707
+ opacity: .8;
708
+ margin-bottom:.25rem
709
+ }
710
+
711
+ .next-page strong, .prev-page strong {
712
+ font-weight:500
713
+ }
714
+
715
+ .page-nav-icon {
716
+ width: 1.2rem;
717
+ height:1.2rem
718
+ }
719
+
720
+ .prev-page .page-nav-icon {
721
+ margin-right:.75rem
722
+ }
723
+
724
+ .next-page .page-nav-icon {
725
+ margin-left:.75rem
726
+ }
727
+
728
+ .page-footer {
729
+ text-align: center;
730
+ padding: 20px 30px;
731
+ margin-top: auto;
732
+ font-size: .9em;
733
+ color: var(--text-color);
734
+ background-color:var(--sidebar-bg)
735
+ }
736
+
737
+ .footer-content {
738
+ display: flex;
739
+ justify-content: space-between;
740
+ align-items: center;
741
+ margin: 0 auto;
742
+ width:100%
743
+ }
744
+
745
+ .user-footer {
746
+ text-align:left
747
+ }
748
+
749
+ .branding-footer {
750
+ text-align: right;
751
+ opacity: .9;
752
+ font-weight:500
753
+ }
754
+
755
+ .branding-footer svg {
756
+ color:#fb3a3a
757
+ }
758
+
759
+ .page-footer a {
760
+ color: var(--link-color);
761
+ text-decoration:none
762
+ }
763
+
764
+ .page-footer a:hover, .toc-link:hover {
765
+ text-decoration:underline
766
+ }
767
+
768
+ .content-layout {
769
+ display: flex;
770
+ gap: 2rem;
771
+ width:100%
772
+ }
773
+
774
+ .main-content {
775
+ flex: 1 1 0%;
776
+ min-inline-size:0px
777
+ }
778
+
779
+ .toc-container {
780
+ margin: 0;
781
+ padding: 0;
782
+ border: none;
783
+ background-color:transparent
784
+ }
785
+
786
+ .docmd-container figure img, .toc-title {
787
+ margin-bottom:.5rem
788
+ }
789
+
790
+ .toc-title {
791
+ margin-top: 0;
792
+ font-size: 1rem;
793
+ font-weight: 700;
794
+ color:var(--text-muted)
795
+ }
796
+
797
+ .toc-list {
798
+ list-style: none;
799
+ padding-left: 0;
800
+ margin:0
801
+ }
802
+
803
+ .toc-item {
804
+ margin-bottom: .25rem;
805
+ line-height:1.4
806
+ }
807
+
808
+ .toc-link {
809
+ text-decoration: none;
810
+ color: var(--link-color);
811
+ display: inline-block;
812
+ padding: .1rem 0;
813
+ font-size: .9rem;
814
+ font-weight:500
815
+ }
816
+
817
+ .toc-level-3 {
818
+ margin-left: .75rem;
819
+ font-size:.85rem
820
+ }
821
+
822
+ .toc-level-4 {
823
+ margin-left: 1.5rem;
824
+ font-size:.8rem
825
+ }
826
+
827
+ .toc-sidebar {
828
+ width: 180px;
829
+ position: sticky;
830
+ top: 2rem;
831
+ max-height: calc(-4rem + 100vh);
832
+ overflow-y: auto;
833
+ align-self:flex-start
834
+ }
835
+
836
+ @media (max-width: 1024px) {
837
+ .content-layout {
838
+ display: flex;
839
+ flex-direction:column-reverse
840
+ }
841
+
842
+ .toc-sidebar {
843
+ width: 100%;
844
+ position: static;
845
+ margin-bottom:1rem
846
+ }
847
+ }
848
+
849
+ .docmd-tabs, img {
850
+ margin:1.5rem 0
851
+ }
852
+
853
+ img {
854
+ max-width: 100%;
855
+ height:auto
856
+ }
857
+
858
+ img.align-left {
859
+ float: left;
860
+ margin-right: 1.5rem;
861
+ margin-bottom:1rem
862
+ }
863
+
864
+ img.align-center {
865
+ margin-left: auto;
866
+ margin-right:auto
867
+ }
868
+
869
+ img.align-right {
870
+ float: right;
871
+ margin-left: 1.5rem;
872
+ margin-bottom:1rem
873
+ }
874
+
875
+ img.size-small {
876
+ max-width:300px
877
+ }
878
+
879
+ img.size-medium {
880
+ max-width:500px
881
+ }
882
+
883
+ img.size-large {
884
+ max-width:800px
885
+ }
886
+
887
+ img.with-border {
888
+ border: 1px solid var(--image-border-color);
889
+ padding:4px
890
+ }
891
+
892
+ img.with-shadow {
893
+ box-shadow:var(--image-shadow)
894
+ }
895
+
896
+ .docmd-container figure {
897
+ margin:2rem 0
898
+ }
899
+
900
+ .docmd-container figcaption {
901
+ font-size: .9rem;
902
+ color: var(--image-caption-text);
903
+ text-align: center;
904
+ padding: .5rem;
905
+ background-color: var(--image-caption-bg);
906
+ border-radius:0 0 4px 4px
907
+ }
908
+
909
+ .docmd-container .image-gallery {
910
+ display: grid;
911
+ grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
912
+ gap: 1rem;
913
+ margin:2rem 0
914
+ }
915
+
916
+ .docmd-container .image-gallery figure {
917
+ margin:0
918
+ }
919
+
920
+ .docmd-container .clear-float::after {
921
+ content: "";
922
+ display: table;
923
+ clear:both
924
+ }
925
+
926
+ .docmd-tabs {
927
+ border: 1px solid var(--border-color);
928
+ border-radius: 6px;
929
+ overflow: hidden;
930
+ box-shadow:rgba(0, 0, 0, .05) 0 1px 3px
931
+ }
932
+
933
+ .docmd-tabs-nav {
934
+ display: flex;
935
+ background-color: var(--sidebar-bg);
936
+ border-bottom: 1px solid var(--border-color);
937
+ overflow:auto hidden
938
+ }
939
+
940
+ .docmd-tabs-nav-item {
941
+ padding: .75rem 1.25rem;
942
+ cursor: pointer;
943
+ border-bottom: 3px solid transparent;
944
+ margin-bottom: -1px;
945
+ font-weight: 500;
946
+ color: var(--sidebar-text);
947
+ white-space:nowrap
948
+ }
949
+
950
+ .docmd-tabs-nav-item.active {
951
+ color: var(--link-color);
952
+ border-bottom-color: var(--link-color);
953
+ background-color:var(--bg-color)
954
+ }
955
+
956
+ .docmd-tabs-content {
957
+ padding:1.5rem
958
+ }
959
+
960
+ .tabs-container {
961
+ margin: 1rem 0;
962
+ border: 1px solid #e1e5e9;
963
+ border-radius:.375rem
964
+ }
965
+
966
+ .tab-navigation {
967
+ display: flex;
968
+ background-color: #f8f9fa;
969
+ border-bottom: 1px solid #e1e5e9;
970
+ border-radius:.375rem .375rem 0 0
971
+ }
972
+
973
+ .tab-button {
974
+ padding: .75rem 1rem;
975
+ border-width: medium medium 2px;
976
+ border-style: none none solid;
977
+ border-color: currentcolor currentcolor transparent;
978
+ border-image: none;
979
+ background: 0 0;
980
+ cursor: pointer;
981
+ transition:.2s
982
+ }
983
+
984
+ .tab-button:hover {
985
+ background-color:#e9ecef
986
+ }
987
+
988
+ .tab-button.active {
989
+ border-bottom-color: #007bff;
990
+ background-color:#fff
991
+ }
992
+
993
+ .tab-content {
994
+ padding:1rem
995
+ }
996
+
997
+ .docmd-lightbox {
998
+ display: none;
999
+ position: fixed;
1000
+ top: 0;
1001
+ left: 0;
1002
+ width: 100%;
1003
+ height: 100%;
1004
+ background-color: var(--lightbox-bg);
1005
+ z-index: 9999;
1006
+ justify-content: center;
1007
+ align-items: center;
1008
+ flex-direction:column
1009
+ }
1010
+
1011
+ .copy-code-button svg, .sponsor-icon {
1012
+ width: 1rem;
1013
+ height:1rem
1014
+ }
1015
+
1016
+ .docmd-lightbox-content {
1017
+ position: relative;
1018
+ max-width: 90%;
1019
+ max-height: 90%;
1020
+ text-align:center
1021
+ }
1022
+
1023
+ .docmd-lightbox-content img {
1024
+ max-width: 100%;
1025
+ max-height: 80vh;
1026
+ object-fit: contain;
1027
+ margin: 0 auto;
1028
+ box-shadow:rgba(0, 0, 0, .3) 0 0 20px
1029
+ }
1030
+
1031
+ .docmd-lightbox-caption {
1032
+ color: var(--lightbox-text);
1033
+ padding: 1rem;
1034
+ font-size: 1rem;
1035
+ max-width:100%
1036
+ }
1037
+
1038
+ .docmd-lightbox-close {
1039
+ position: absolute;
1040
+ top: 20px;
1041
+ right: 30px;
1042
+ color: var(--lightbox-text);
1043
+ font-size: 2.5rem;
1044
+ cursor: pointer;
1045
+ z-index:10000
1046
+ }
1047
+
1048
+ .docmd-lightbox-close:hover {
1049
+ color:#ddd
1050
+ }
1051
+
1052
+ .docmd-button, .sponsor-link, .sponsor-link:hover {
1053
+ color: #fff;
1054
+ text-decoration:none
1055
+ }
1056
+
1057
+ .docmd-container .image-gallery img, img.lightbox {
1058
+ cursor:zoom-in
1059
+ }
1060
+
1061
+ .docmd-button {
1062
+ display: inline-block;
1063
+ padding: .6rem 1.2rem;
1064
+ margin: .5rem;
1065
+ border-radius: 6px;
1066
+ background-color: var(--link-color);
1067
+ font-weight: 500;
1068
+ transition: background-color .2s, transform .2s;
1069
+ border: none;
1070
+ cursor:pointer
1071
+ }
1072
+
1073
+ .docmd-button:hover {
1074
+ text-decoration: none;
1075
+ filter: brightness(90%);
1076
+ transform:translateY(-1px)
1077
+ }
1078
+
1079
+ .sponsor-ribbon {
1080
+ position: fixed;
1081
+ bottom: 75px;
1082
+ right: 10px;
1083
+ z-index: 1000;
1084
+ transform: rotate(0);
1085
+ transform-origin: center center;
1086
+ opacity: .75;
1087
+ transition:.5s
1088
+ }
1089
+
1090
+ .sponsor-ribbon:hover {
1091
+ opacity:1
1092
+ }
1093
+
1094
+ .sponsor-link {
1095
+ display: flex;
1096
+ align-items: center;
1097
+ gap: .5rem;
1098
+ background: linear-gradient(135deg, #ff6b6b, #ee5a24);
1099
+ padding: .75rem 1.5rem;
1100
+ border-radius: 5px;
1101
+ box-shadow: rgba(255, 107, 107, .3) 0 4px 12px;
1102
+ font-weight: 600;
1103
+ font-size: .875rem;
1104
+ transition: .3s;
1105
+ white-space:nowrap
1106
+ }
1107
+
1108
+ .sponsor-link:hover {
1109
+ transform: scale(1.02);
1110
+ box-shadow:rgba(255, 107, 107, .4) 0 6px 20px
1111
+ }
1112
+
1113
+ .sponsor-icon {
1114
+ animation:2s ease-in-out infinite heartbeat
1115
+ }
1116
+
1117
+ .sponsor-text {
1118
+ font-family:inherit
1119
+ }
1120
+
1121
+ @keyframes heartbeat {
1122
+ 0%, 100% {
1123
+ transform:scale(1)
1124
+ }
1125
+
1126
+ 50% {
1127
+ transform:scale(1.1)
1128
+ }
1129
+ }
1130
+
1131
+ @media (max-width: 768px) {
1132
+ body {
1133
+ flex-direction:column
1134
+ }
1135
+
1136
+ .sidebar {
1137
+ width: 100%;
1138
+ height: auto;
1139
+ position: static;
1140
+ border-right: currentcolor;
1141
+ border-bottom:1px solid var(--border-color)
1142
+ }
1143
+
1144
+ .sidebar-toggle-button {
1145
+ display:block
1146
+ }
1147
+
1148
+ .main-content-wrapper {
1149
+ margin-left:0
1150
+ }
1151
+
1152
+ .content-area {
1153
+ padding:15px
1154
+ }
1155
+
1156
+ .footer-content, .page-navigation {
1157
+ flex-direction: column;
1158
+ gap:1rem
1159
+ }
1160
+
1161
+ .branding-footer, .user-footer {
1162
+ text-align:center
1163
+ }
1164
+
1165
+ .next-page, .next-page-placeholder, .prev-page, .prev-page-placeholder {
1166
+ width: 100%;
1167
+ max-width:100%
1168
+ }
1169
+
1170
+ img.align-left, img.align-right {
1171
+ float: none;
1172
+ margin-left: auto;
1173
+ margin-right:auto
1174
+ }
1175
+
1176
+ .docmd-container .image-gallery {
1177
+ grid-template-columns:1fr
1178
+ }
1179
+
1180
+ .sponsor-ribbon {
1181
+ bottom: 10px;
1182
+ right:10px
1183
+ }
1184
+
1185
+ .sponsor-link {
1186
+ padding: .5rem 1rem;
1187
+ font-size:.75rem
1188
+ }
1189
+
1190
+ .sponsor-icon {
1191
+ width: .875rem;
1192
+ height:.875rem
1193
+ }
1194
+
1195
+ .changelog-entry {
1196
+ grid-template-columns: 1fr;
1197
+ gap: 1rem;
1198
+ }
1199
+
1200
+ .changelog-meta {
1201
+ text-align: left;
1202
+ padding-top: 0;
1203
+ }
1204
+
1205
+ .changelog-body {
1206
+ border-left: 2px solid var(--border-color);
1207
+ padding-left: 1.5rem;
1208
+ margin-left: 0.5rem;
1209
+ }
1210
+ }
1211
+
1212
+ html[data-theme=dark] .sponsor-link {
1213
+ background: linear-gradient(135deg, #ff6b6b, #c44569);
1214
+ box-shadow:rgba(255, 107, 107, .2) 0 4px 12px
1215
+ }
1216
+
1217
+ html[data-theme=dark] .sponsor-link:hover {
1218
+ box-shadow:rgba(255, 107, 107, .3) 0 6px 20px
1219
+ }
1220
+
1221
+ .copy-code-button {
1222
+ position: absolute;
1223
+ top: .75rem;
1224
+ right: .75rem;
1225
+ padding: .5rem;
1226
+ background-color: var(--code-bg);
1227
+ border: 1px solid var(--border-color);
1228
+ border-radius: 6px;
1229
+ cursor: pointer;
1230
+ opacity: 0;
1231
+ transition: opacity .2s ease-in-out, background-color .2s;
1232
+ color: var(--sidebar-text);
1233
+ display: flex;
1234
+ align-items: center;
1235
+ justify-content: center;
1236
+ z-index: 10;
1237
+ pointer-events:auto
1238
+ }
1239
+
1240
+ .copy-code-button.copied {
1241
+ color: #10b981;
1242
+ opacity:1
1243
+ }
1244
+
1245
+ .sidebar nav li.collapsible > a {
1246
+ display: flex;
1247
+ justify-content: space-between;
1248
+ align-items:center
1249
+ }
1250
+
1251
+ .sidebar nav li.collapsible > a .nav-item-title {
1252
+ flex-grow:1
1253
+ }
1254
+
1255
+ .sidebar nav .collapse-icon {
1256
+ transition: transform .2s ease-in-out;
1257
+ flex-shrink: 0;
1258
+ margin-left:.5em
1259
+ }
1260
+
1261
+ .sidebar nav li.collapsible[aria-expanded=true] > a > .collapse-icon {
1262
+ transform:rotate(90deg)
1263
+ }
1264
+
1265
+ hr {
1266
+ color: rgba(245, 245, 245, .27);
1267
+ border-top-width: 1px
1268
+ }