1/**
2 * Any CSS included here will be global. The classic template
3 * bundles Infima by default. Infima is a CSS framework designed to
4 * work well for content-centric websites.
5 */
6
7@tailwind base;
8@tailwind components;
9@tailwind utilities;
10
11@layer base {
12 :root {
13 --background: 0 0% 100%;
14 --foreground: 222.2 84% 4.9%;
15 --card: 0 0% 100%;
16 --card-foreground: 222.2 84% 4.9%;
17 --popover: 0 0% 100%;
18 --popover-foreground: 222.2 84% 4.9%;
19 --primary: 25 90% 54%;
20 --primary-foreground: 0 0% 100%;
21 --secondary: 210 40% 96.1%;
22 --secondary-foreground: 222.2 47.4% 11.2%;
23 --muted: 210 40% 96.1%;
24 --muted-foreground: 215.4 16.3% 46.9%;
25 --accent: 210 40% 96.1%;
26 --accent-foreground: 222.2 47.4% 11.2%;
27 --destructive: 0 84.2% 60.2%;
28 --destructive-foreground: 210 40% 98%;
29 --border: 214.3 31.8% 91.4%;
30 --input: 214.3 31.8% 91.4%;
31 --ring: 222.2 84% 4.9%;
32 --radius: 0.75rem;
33 --chart-1: 12 76% 61%;
34 --chart-2: 173 58% 39%;
35 --chart-3: 197 37% 24%;
36 --chart-4: 43 74% 66%;
37 --chart-5: 27 87% 67%;
38 }
39
40 .dark {
41 --background: 222.2 84% 4.9%;
42 --foreground: 210 40% 98%;
43 --card: 222.2 84% 4.9%;
44 --card-foreground: 210 40% 98%;
45 --popover: 222.2 84% 4.9%;
46 --popover-foreground: 210 40% 98%;
47 --primary: 210 40% 98%;
48 --primary-foreground: 222.2 47.4% 11.2%;
49 --secondary: 217.2 32.6% 17.5%;
50 --secondary-foreground: 210 40% 98%;
51 --muted: 217.2 32.6% 17.5%;
52 --muted-foreground: 215 20.2% 65.1%;
53 --accent: 217.2 32.6% 17.5%;
54 --accent-foreground: 210 40% 98%;
55 --destructive: 0 62.8% 30.6%;
56 --destructive-foreground: 210 40% 98%;
57 --border: 217.2 32.6% 17.5%;
58 --input: 217.2 32.6% 17.5%;
59 --ring: 212.7 26.8% 83.9%;
60 --chart-1: 220 70% 50%;
61 --chart-2: 160 60% 45%;
62 --chart-3: 30 80% 55%;
63 --chart-4: 280 65% 60%;
64 --chart-5: 340 75% 55%;
65 }
66}
67
68@layer base {
69 .tailwind * {
70 @apply border-border;
71 }
72 .tailwind {
73 @apply bg-background text-foreground;
74 }
75}
76
77.sbdocs p {
78 font-size: 1rem;
79}
80
81.markdown h1:first-child {
82 --ifm-h1-font-size: 1.6rem;
83}
84
85.markdown h1 {
86 --ifm-h1-font-size: 1.4rem;
87}
88
89.markdown h2 {
90 --ifm-h2-font-size: 1.2rem;
91}
92
93.markdown h3 {
94 --ifm-h3-font-size: 1.1rem;
95}
96
97.markdown h4 {
98 --ifm-h4-font-size: 1rem;
99}
100
101.markdown h1,
102.markdown h2,
103.markdown h3,
104.markdown h4,
105.markdown h5,
106.markdown h6 {
107 line-height: 1.3;
108}
109
110nav.menu.thin-scrollbar {
111 padding-right: 0.5rem;
112}
113
114/* You can override the default Infima variables here. */
115:root {
116 --ifm-font-size-base: 0.9rem;
117 --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
118
119 --announcement-bar-bg: #fafbfc;
120 --announcement-bar-text: #091e42;
121
122 /* override code size */
123 --ifm-code-font-size: 13px;
124
125 /* disable shadows */
126 --ifm-global-shadow-lw: none;
127 --ifm-global-shadow-md: none;
128 --ifm-global-shadow-tl: none;
129 --ifm-code-background: rgb(246, 247, 248);
130
131 /* reduce border radius */
132 --ifm-global-radius: 4px;
133
134 /* adjust inline code paddings */
135 --ifm-code-padding-horizontal: 0.3rem;
136
137 /* OpenAPI method badge colors */
138 --openapi-code-green: #49cc90;
139 --openapi-code-red: #f93e3e;
140 --openapi-code-blue: #61affe;
141 --openapi-code-orange: #fca130;
142}
143
144.theme-code-block {
145 border: 1px solid var(--ifm-color-emphasis-300);
146}
147
148.navbar {
149 border-bottom: 1px solid var(--ifm-color-emphasis-300);
150}
151
152code {
153 border: 1px solid var(--ifm-color-emphasis-300);
154}
155
156pre {
157 font-family: 'iAWriterMonoS', monospace;
158}
159
160/* override card styles */
161.card {
162 box-shadow: none !important;
163 border-radius: var(--ifm-global-radius);
164 border-color: var(--ifm-color-emphasis-300) !important;
165}
166
167.card:hover {
168 border-color: var(--ifm-color-primary) !important;
169}
170
171.footer--dark {
172 --ifm-footer-background-color: #1c1917;
173}
174
175:root,
176[data-theme='light'] {
177 --ifm-font-family-base:
178 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans,
179 sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
180 --ifm-footer-background-color: #1c1917;
181
182 --ifm-color-primary: #ef5f00; /* base orange */
183 --ifm-color-primary-dark: #d65500; /* darker orange */
184 --ifm-color-primary-darker: #bf4c00; /* even darker */
185 --ifm-color-primary-darkest: #9e3f00; /* darkest orange */
186 --ifm-color-primary-light: #ff7519; /* light orange */
187 --ifm-color-primary-lighter: #ff8c40; /* lighter orange */
188 --ifm-color-primary-lightest: #ffa366; /* lightest orange */
189
190 --ifm-color-emphasis-200: #e7e5e4;
191 --ifm-color-emphasis-300: #d6d3d1;
192 --ifm-background-color: #ffffff;
193 --ifm-background-surface-color: #ffffff;
194}
195
196/* For readability concerns, you should choose a lighter palette in dark mode. */
197html[data-theme='dark'] {
198 --ifm-color-primary: #c25e00; /* base orange */
199 --ifm-color-primary-dark: #b05400; /* darker orange */
200 --ifm-color-primary-darker: #a64f00; /* even darker */
201 --ifm-color-primary-darkest: #873f00; /* darkest orange */
202 --ifm-color-primary-light: #cc6500; /* light orange */
203 --ifm-color-primary-lighter: #d66f00; /* lighter orange */
204 --ifm-color-primary-lightest: #e78100; /* lightest orange */
205
206 --ifm-color-emphasis-200: #292524;
207 --ifm-color-emphasis-300: #44403c;
208 --ifm-background-color: #1c1917;
209 --ifm-background-surface-color: #1c1917;
210
211 --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
212
213 --announcement-bar-bg: #000;
214 --announcement-bar-text: #fff;
215}
216
217[data-theme='light'] .DocSearch {
218 --docsearch-primary-color: var(--ifm-color-primary);
219 --docsearch-text-color: var(--ifm-font-color-base);
220 --docsearch-muted-color: var(--ifm-color-secondary-darkest);
221 --docsearch-container-background: rgba(94, 100, 112, 0.7);
222 /* Modal */
223 --docsearch-modal-background: var(--ifm-color-secondary-lighter);
224 /* Search box */
225 --docsearch-searchbox-background: var(--ifm-color-secondary);
226 --docsearch-searchbox-focus-background: var(--ifm-color-white);
227 /* Hit */
228 --docsearch-hit-color: var(--ifm-font-color-base);
229 --docsearch-hit-active-color: var(--ifm-color-white);
230 --docsearch-hit-background: var(--ifm-color-white);
231 /* Footer */
232 --docsearch-footer-background: var(--ifm-color-white);
233}
234
235[data-theme='dark'] .DocSearch {
236 --docsearch-primary-color: var(--ifm-color-primary);
237 --docsearch-text-color: var(--ifm-font-color-base);
238 --docsearch-muted-color: var(--ifm-color-secondary-darkest);
239 --docsearch-container-background: rgba(47, 55, 69, 0.7);
240 /* Modal */
241 --docsearch-modal-background: var(--ifm-background-color);
242 /* Search box */
243 --docsearch-searchbox-background: var(--ifm-background-color);
244 --docsearch-searchbox-focus-background: var(--ifm-color-black);
245 /* Hit */
246 --docsearch-hit-color: var(--ifm-font-color-base);
247 --docsearch-hit-active-color: var(--ifm-color-white);
248 --docsearch-hit-background: var(--ifm-color-emphasis-100);
249 /* Footer */
250 --docsearch-footer-background: var(--ifm-background-surface-color);
251 --docsearch-key-gradient: linear-gradient(
252 -26.5deg,
253 var(--ifm-color-emphasis-200) 0%,
254 var(--ifm-color-emphasis-100) 100%
255 );
256}
257
258.video-container {
259 display: flex;
260 flex-flow: column;
261 justify-content: center;
262 align-items: center;
263 aspect-ratio: 28 / 21;
264 overflow: hidden;
265 border-radius: 4px;
266}
267
268.video-container iframe {
269 width: 100%;
270 height: 100%;
271}
272
273.header-github-link::before {
274 content: '';
275 width: 24px;
276 height: 24px;
277 display: flex;
278 background-color: var(--ifm-navbar-link-color);
279 mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E");
280 transition: background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default);
281}
282
283.header-github-link:hover::before {
284 background-color: var(--ifm-navbar-link-hover-color);
285}
286
1/**
2 * Any CSS included here will be global. The classic template
3 * bundles Infima by default. Infima is a CSS framework designed to
4 * work well for content-centric websites.
5 */
6
7@tailwind base;
8@tailwind components;
9@tailwind utilities;
10
11@layer base {
12 :root {
13 --background: 0 0% 100%;
14 --foreground: 222.2 84% 4.9%;
15 --card: 0 0% 100%;
16 --card-foreground: 222.2 84% 4.9%;
17 --popover: 0 0% 100%;
18 --popover-foreground: 222.2 84% 4.9%;
19 --primary: 25 90% 54%;
20 --primary-foreground: 0 0% 100%;
21 --secondary: 210 40% 96.1%;
22 --secondary-foreground: 222.2 47.4% 11.2%;
23 --muted: 210 40% 96.1%;
24 --muted-foreground: 215.4 16.3% 46.9%;
25 --accent: 210 40% 96.1%;
26 --accent-foreground: 222.2 47.4% 11.2%;
27 --destructive: 0 84.2% 60.2%;
28 --destructive-foreground: 210 40% 98%;
29 --border: 214.3 31.8% 91.4%;
30 --input: 214.3 31.8% 91.4%;
31 --ring: 222.2 84% 4.9%;
32 --radius: 0.75rem;
33 --chart-1: 12 76% 61%;
34 --chart-2: 173 58% 39%;
35 --chart-3: 197 37% 24%;
36 --chart-4: 43 74% 66%;
37 --chart-5: 27 87% 67%;
38 }
39
40 .dark {
41 --background: 222.2 84% 4.9%;
42 --foreground: 210 40% 98%;
43 --card: 222.2 84% 4.9%;
44 --card-foreground: 210 40% 98%;
45 --popover: 222.2 84% 4.9%;
46 --popover-foreground: 210 40% 98%;
47 --primary: 210 40% 98%;
48 --primary-foreground: 222.2 47.4% 11.2%;
49 --secondary: 217.2 32.6% 17.5%;
50 --secondary-foreground: 210 40% 98%;
51 --muted: 217.2 32.6% 17.5%;
52 --muted-foreground: 215 20.2% 65.1%;
53 --accent: 217.2 32.6% 17.5%;
54 --accent-foreground: 210 40% 98%;
55 --destructive: 0 62.8% 30.6%;
56 --destructive-foreground: 210 40% 98%;
57 --border: 217.2 32.6% 17.5%;
58 --input: 217.2 32.6% 17.5%;
59 --ring: 212.7 26.8% 83.9%;
60 --chart-1: 220 70% 50%;
61 --chart-2: 160 60% 45%;
62 --chart-3: 30 80% 55%;
63 --chart-4: 280 65% 60%;
64 --chart-5: 340 75% 55%;
65 }
66}
67
68@layer base {
69 .tailwind * {
70 @apply border-border;
71 }
72 .tailwind {
73 @apply bg-background text-foreground;
74 }
75}
76
77.sbdocs p {
78 font-size: 1rem;
79}
80
81.markdown h1:first-child {
82 --ifm-h1-font-size: 1.6rem;
83}
84
85.markdown h1 {
86 --ifm-h1-font-size: 1.4rem;
87}
88
89.markdown h2 {
90 --ifm-h2-font-size: 1.2rem;
91}
92
93.markdown h3 {
94 --ifm-h3-font-size: 1.1rem;
95}
96
97.markdown h4 {
98 --ifm-h4-font-size: 1rem;
99}
100
101.markdown h1,
102.markdown h2,
103.markdown h3,
104.markdown h4,
105.markdown h5,
106.markdown h6 {
107 line-height: 1.3;
108}
109
110nav.menu.thin-scrollbar {
111 padding-right: 0.5rem;
112}
113
114/* You can override the default Infima variables here. */
115:root {
116 --ifm-font-size-base: 0.9rem;
117 --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
118
119 --announcement-bar-bg: #fafbfc;
120 --announcement-bar-text: #091e42;
121
122 /* override code size */
123 --ifm-code-font-size: 13px;
124
125 /* disable shadows */
126 --ifm-global-shadow-lw: none;
127 --ifm-global-shadow-md: none;
128 --ifm-global-shadow-tl: none;
129 --ifm-code-background: rgb(246, 247, 248);
130
131 /* reduce border radius */
132 --ifm-global-radius: 4px;
133
134 /* adjust inline code paddings */
135 --ifm-code-padding-horizontal: 0.3rem;
136
137 /* OpenAPI method badge colors */
138 --openapi-code-green: #49cc90;
139 --openapi-code-red: #f93e3e;
140 --openapi-code-blue: #61affe;
141 --openapi-code-orange: #fca130;
142}
143
144.theme-code-block {
145 border: 1px solid var(--ifm-color-emphasis-300);
146}
147
148.navbar {
149 border-bottom: 1px solid var(--ifm-color-emphasis-300);
150}
151
152code {
153 border: 1px solid var(--ifm-color-emphasis-300);
154}
155
156pre {
157 font-family: 'iAWriterMonoS', monospace;
158}
159
160/* override card styles */
161.card {
162 box-shadow: none !important;
163 border-radius: var(--ifm-global-radius);
164 border-color: var(--ifm-color-emphasis-300) !important;
165}
166
167.card:hover {
168 border-color: var(--ifm-color-primary) !important;
169}
170
171.footer--dark {
172 --ifm-footer-background-color: #1c1917;
173}
174
175:root,
176[data-theme='light'] {
177 --ifm-font-family-base:
178 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans,
179 sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
180 --ifm-footer-background-color: #1c1917;
181
182 --ifm-color-primary: #ef5f00; /* base orange */
183 --ifm-color-primary-dark: #d65500; /* darker orange */
184 --ifm-color-primary-darker: #bf4c00; /* even darker */
185 --ifm-color-primary-darkest: #9e3f00; /* darkest orange */
186 --ifm-color-primary-light: #ff7519; /* light orange */
187 --ifm-color-primary-lighter: #ff8c40; /* lighter orange */
188 --ifm-color-primary-lightest: #ffa366; /* lightest orange */
189
190 --ifm-color-emphasis-200: #e7e5e4;
191 --ifm-color-emphasis-300: #d6d3d1;
192 --ifm-background-color: #ffffff;
193 --ifm-background-surface-color: #ffffff;
194}
195
196/* For readability concerns, you should choose a lighter palette in dark mode. */
197html[data-theme='dark'] {
198 --ifm-color-primary: #c25e00; /* base orange */
199 --ifm-color-primary-dark: #b05400; /* darker orange */
200 --ifm-color-primary-darker: #a64f00; /* even darker */
201 --ifm-color-primary-darkest: #873f00; /* darkest orange */
202 --ifm-color-primary-light: #cc6500; /* light orange */
203 --ifm-color-primary-lighter: #d66f00; /* lighter orange */
204 --ifm-color-primary-lightest: #e78100; /* lightest orange */
205
206 --ifm-color-emphasis-200: #292524;
207 --ifm-color-emphasis-300: #44403c;
208 --ifm-background-color: #1c1917;
209 --ifm-background-surface-color: #1c1917;
210
211 --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
212
213 --announcement-bar-bg: #000;
214 --announcement-bar-text: #fff;
215}
216
217[data-theme='light'] .DocSearch {
218 --docsearch-primary-color: var(--ifm-color-primary);
219 --docsearch-text-color: var(--ifm-font-color-base);
220 --docsearch-muted-color: var(--ifm-color-secondary-darkest);
221 --docsearch-container-background: rgba(94, 100, 112, 0.7);
222 /* Modal */
223 --docsearch-modal-background: var(--ifm-color-secondary-lighter);
224 /* Search box */
225 --docsearch-searchbox-background: var(--ifm-color-secondary);
226 --docsearch-searchbox-focus-background: var(--ifm-color-white);
227 /* Hit */
228 --docsearch-hit-color: var(--ifm-font-color-base);
229 --docsearch-hit-active-color: var(--ifm-color-white);
230 --docsearch-hit-background: var(--ifm-color-white);
231 /* Footer */
232 --docsearch-footer-background: var(--ifm-color-white);
233}
234
235[data-theme='dark'] .DocSearch {
236 --docsearch-primary-color: var(--ifm-color-primary);
237 --docsearch-text-color: var(--ifm-font-color-base);
238 --docsearch-muted-color: var(--ifm-color-secondary-darkest);
239 --docsearch-container-background: rgba(47, 55, 69, 0.7);
240 /* Modal */
241 --docsearch-modal-background: var(--ifm-background-color);
242 /* Search box */
243 --docsearch-searchbox-background: var(--ifm-background-color);
244 --docsearch-searchbox-focus-background: var(--ifm-color-black);
245 /* Hit */
246 --docsearch-hit-color: var(--ifm-font-color-base);
247 --docsearch-hit-active-color: var(--ifm-color-white);
248 --docsearch-hit-background: var(--ifm-color-emphasis-100);
249 /* Footer */
250 --docsearch-footer-background: var(--ifm-background-surface-color);
251 --docsearch-key-gradient: linear-gradient(
252 -26.5deg,
253 var(--ifm-color-emphasis-200) 0%,
254 var(--ifm-color-emphasis-100) 100%
255 );
256}
257
258.video-container {
259 display: flex;
260 flex-flow: column;
261 justify-content: center;
262 align-items: center;
263 aspect-ratio: 28 / 21;
264 overflow: hidden;
265 border-radius: 4px;
266}
267
268.video-container iframe {
269 width: 100%;
270 height: 100%;
271}
272
273.header-github-link::before {
274 content: '';
275 width: 24px;
276 height: 24px;
277 display: flex;
278 background-color: var(--ifm-navbar-link-color);
279 mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E");
280 transition: background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default);
281}
282
283.header-github-link:hover::before {
284 background-color: var(--ifm-navbar-link-hover-color);
285}
286