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: 16px;
79}
80
81.markdown h1:first-child {
82 --ifm-h1-font-size: 1.75rem;
83}
84
85.markdown h1 {
86 --ifm-h1-font-size: 1.5rem;
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: 1.0rem;
99}
100
101nav.menu.thin-scrollbar {
102 padding-right: 0.5rem;
103}
104
105/* You can override the default Infima variables here. */
106:root {
107
108 --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
109
110 --announcement-bar-bg: #fafbfc;
111 --announcement-bar-text: #091e42;
112
113 /* override code size */
114 --ifm-code-font-size: 13px;
115
116 /* disable shadows */
117 --ifm-global-shadow-lw: none;
118 --ifm-global-shadow-md: none;
119 --ifm-global-shadow-tl: none;
120 --ifm-code-background: rgb(246, 247, 248);
121
122 /* reduce border radius */
123 --ifm-global-radius: 4px;
124
125 /* adjust inline code paddings */
126 --ifm-code-padding-horizontal: 0.3rem;
127}
128
129.theme-code-block {
130 border: 1px solid var(--ifm-color-emphasis-300);
131}
132
133.navbar {
134 border-bottom: 1px solid var(--ifm-color-emphasis-300);
135}
136
137code {
138 border: 1px solid var(--ifm-color-emphasis-300);
139}
140
141pre {
142 font-family: 'iAWriterMonoS', monospace;
143}
144
145/* override card styles */
146.card {
147 box-shadow: none !important;
148 border-radius: var(--ifm-global-radius);
149 border-color: var(--ifm-color-emphasis-300) !important;
150}
151
152.card:hover {
153 border-color: var(--ifm-color-primary) !important;
154}
155
156:root {
157 --ifm-font-family-base: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
158 --ifm-footer-background-color: #1c1917;
159}
160
161.footer--dark {
162 --ifm-footer-background-color: #1c1917;
163}
164
165:root, [data-theme='light'] {
166 --ifm-color-primary: #EF5F00; /* base orange */
167 --ifm-color-primary-dark: #CC4E00; /* darker orange */
168 --ifm-color-primary-darker: #582D1D; /* even darker */
169 --ifm-color-primary-darkest: #7d3d00;/* darkest orange */
170 --ifm-color-primary-light: #cc6500; /* light orange */
171 --ifm-color-primary-lighter: #d66f00;/* lighter orange */
172 --ifm-color-primary-lightest: #e78100;/* lightest orange */
173
174 --ifm-color-emphasis-200: #e7e5e4;
175 --ifm-color-emphasis-300: #d6d3d1;
176 --ifm-background-color: #ffffff;
177 --ifm-background-surface-color: #ffffff;
178}
179
180/* For readability concerns, you should choose a lighter palette in dark mode. */
181html[data-theme='dark'] {
182 --ifm-color-primary: #c25e00; /* base orange */
183 --ifm-color-primary-dark: #b05400; /* darker orange */
184 --ifm-color-primary-darker: #a64f00; /* even darker */
185 --ifm-color-primary-darkest: #873f00;/* darkest orange */
186 --ifm-color-primary-light: #cc6500; /* light orange */
187 --ifm-color-primary-lighter: #d66f00;/* lighter orange */
188 --ifm-color-primary-lightest: #e78100;/* lightest orange */
189
190 --ifm-color-emphasis-200: #292524;
191 --ifm-color-emphasis-300: #44403c;
192 --ifm-background-color: #1c1917;
193 --ifm-background-surface-color: #1c1917;
194
195 --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
196
197 --announcement-bar-bg: #000;
198 --announcement-bar-text: #fff;
199}
200
201[data-theme='light'] .DocSearch {
202 --docsearch-primary-color: var(--ifm-color-primary);
203 --docsearch-text-color: var(--ifm-font-color-base);
204 --docsearch-muted-color: var(--ifm-color-secondary-darkest);
205 --docsearch-container-background: rgba(94, 100, 112, 0.7);
206 /* Modal */
207 --docsearch-modal-background: var(--ifm-color-secondary-lighter);
208 /* Search box */
209 --docsearch-searchbox-background: var(--ifm-color-secondary);
210 --docsearch-searchbox-focus-background: var(--ifm-color-white);
211 /* Hit */
212 --docsearch-hit-color: var(--ifm-font-color-base);
213 --docsearch-hit-active-color: var(--ifm-color-white);
214 --docsearch-hit-background: var(--ifm-color-white);
215 /* Footer */
216 --docsearch-footer-background: var(--ifm-color-white);
217}
218
219[data-theme='dark'] .DocSearch {
220 --docsearch-primary-color: var(--ifm-color-primary);
221 --docsearch-text-color: var(--ifm-font-color-base);
222 --docsearch-muted-color: var(--ifm-color-secondary-darkest);
223 --docsearch-container-background: rgba(47, 55, 69, 0.7);
224 /* Modal */
225 --docsearch-modal-background: var(--ifm-background-color);
226 /* Search box */
227 --docsearch-searchbox-background: var(--ifm-background-color);
228 --docsearch-searchbox-focus-background: var(--ifm-color-black);
229 /* Hit */
230 --docsearch-hit-color: var(--ifm-font-color-base);
231 --docsearch-hit-active-color: var(--ifm-color-white);
232 --docsearch-hit-background: var(--ifm-color-emphasis-100);
233 /* Footer */
234 --docsearch-footer-background: var(--ifm-background-surface-color);
235 --docsearch-key-gradient: linear-gradient(
236 -26.5deg,
237 var(--ifm-color-emphasis-200) 0%,
238 var(--ifm-color-emphasis-100) 100%
239 );
240}
241
242.video-container {
243 display: flex;
244 flex-flow: column;
245 justify-content: center;
246 align-items: center;
247 aspect-ratio: 28 / 21;
248 overflow: hidden;
249 border-radius: 4px;
250}
251
252.video-container iframe {
253 width: 100%;
254 height: 100%;
255}
256
257.header-github-link::before {
258 content: '';
259 width: 24px;
260 height: 24px;
261 display: flex;
262 background-color: var(--ifm-navbar-link-color);
263 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");
264 transition: background-color var(--ifm-transition-fast)
265 var(--ifm-transition-timing-default);
266}
267
268.header-github-link:hover::before {
269 background-color: var(--ifm-navbar-link-hover-color);
270}
271
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: 16px;
79}
80
81.markdown h1:first-child {
82 --ifm-h1-font-size: 1.75rem;
83}
84
85.markdown h1 {
86 --ifm-h1-font-size: 1.5rem;
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: 1.0rem;
99}
100
101nav.menu.thin-scrollbar {
102 padding-right: 0.5rem;
103}
104
105/* You can override the default Infima variables here. */
106:root {
107
108 --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
109
110 --announcement-bar-bg: #fafbfc;
111 --announcement-bar-text: #091e42;
112
113 /* override code size */
114 --ifm-code-font-size: 13px;
115
116 /* disable shadows */
117 --ifm-global-shadow-lw: none;
118 --ifm-global-shadow-md: none;
119 --ifm-global-shadow-tl: none;
120 --ifm-code-background: rgb(246, 247, 248);
121
122 /* reduce border radius */
123 --ifm-global-radius: 4px;
124
125 /* adjust inline code paddings */
126 --ifm-code-padding-horizontal: 0.3rem;
127}
128
129.theme-code-block {
130 border: 1px solid var(--ifm-color-emphasis-300);
131}
132
133.navbar {
134 border-bottom: 1px solid var(--ifm-color-emphasis-300);
135}
136
137code {
138 border: 1px solid var(--ifm-color-emphasis-300);
139}
140
141pre {
142 font-family: 'iAWriterMonoS', monospace;
143}
144
145/* override card styles */
146.card {
147 box-shadow: none !important;
148 border-radius: var(--ifm-global-radius);
149 border-color: var(--ifm-color-emphasis-300) !important;
150}
151
152.card:hover {
153 border-color: var(--ifm-color-primary) !important;
154}
155
156:root {
157 --ifm-font-family-base: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
158 --ifm-footer-background-color: #1c1917;
159}
160
161.footer--dark {
162 --ifm-footer-background-color: #1c1917;
163}
164
165:root, [data-theme='light'] {
166 --ifm-color-primary: #EF5F00; /* base orange */
167 --ifm-color-primary-dark: #CC4E00; /* darker orange */
168 --ifm-color-primary-darker: #582D1D; /* even darker */
169 --ifm-color-primary-darkest: #7d3d00;/* darkest orange */
170 --ifm-color-primary-light: #cc6500; /* light orange */
171 --ifm-color-primary-lighter: #d66f00;/* lighter orange */
172 --ifm-color-primary-lightest: #e78100;/* lightest orange */
173
174 --ifm-color-emphasis-200: #e7e5e4;
175 --ifm-color-emphasis-300: #d6d3d1;
176 --ifm-background-color: #ffffff;
177 --ifm-background-surface-color: #ffffff;
178}
179
180/* For readability concerns, you should choose a lighter palette in dark mode. */
181html[data-theme='dark'] {
182 --ifm-color-primary: #c25e00; /* base orange */
183 --ifm-color-primary-dark: #b05400; /* darker orange */
184 --ifm-color-primary-darker: #a64f00; /* even darker */
185 --ifm-color-primary-darkest: #873f00;/* darkest orange */
186 --ifm-color-primary-light: #cc6500; /* light orange */
187 --ifm-color-primary-lighter: #d66f00;/* lighter orange */
188 --ifm-color-primary-lightest: #e78100;/* lightest orange */
189
190 --ifm-color-emphasis-200: #292524;
191 --ifm-color-emphasis-300: #44403c;
192 --ifm-background-color: #1c1917;
193 --ifm-background-surface-color: #1c1917;
194
195 --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
196
197 --announcement-bar-bg: #000;
198 --announcement-bar-text: #fff;
199}
200
201[data-theme='light'] .DocSearch {
202 --docsearch-primary-color: var(--ifm-color-primary);
203 --docsearch-text-color: var(--ifm-font-color-base);
204 --docsearch-muted-color: var(--ifm-color-secondary-darkest);
205 --docsearch-container-background: rgba(94, 100, 112, 0.7);
206 /* Modal */
207 --docsearch-modal-background: var(--ifm-color-secondary-lighter);
208 /* Search box */
209 --docsearch-searchbox-background: var(--ifm-color-secondary);
210 --docsearch-searchbox-focus-background: var(--ifm-color-white);
211 /* Hit */
212 --docsearch-hit-color: var(--ifm-font-color-base);
213 --docsearch-hit-active-color: var(--ifm-color-white);
214 --docsearch-hit-background: var(--ifm-color-white);
215 /* Footer */
216 --docsearch-footer-background: var(--ifm-color-white);
217}
218
219[data-theme='dark'] .DocSearch {
220 --docsearch-primary-color: var(--ifm-color-primary);
221 --docsearch-text-color: var(--ifm-font-color-base);
222 --docsearch-muted-color: var(--ifm-color-secondary-darkest);
223 --docsearch-container-background: rgba(47, 55, 69, 0.7);
224 /* Modal */
225 --docsearch-modal-background: var(--ifm-background-color);
226 /* Search box */
227 --docsearch-searchbox-background: var(--ifm-background-color);
228 --docsearch-searchbox-focus-background: var(--ifm-color-black);
229 /* Hit */
230 --docsearch-hit-color: var(--ifm-font-color-base);
231 --docsearch-hit-active-color: var(--ifm-color-white);
232 --docsearch-hit-background: var(--ifm-color-emphasis-100);
233 /* Footer */
234 --docsearch-footer-background: var(--ifm-background-surface-color);
235 --docsearch-key-gradient: linear-gradient(
236 -26.5deg,
237 var(--ifm-color-emphasis-200) 0%,
238 var(--ifm-color-emphasis-100) 100%
239 );
240}
241
242.video-container {
243 display: flex;
244 flex-flow: column;
245 justify-content: center;
246 align-items: center;
247 aspect-ratio: 28 / 21;
248 overflow: hidden;
249 border-radius: 4px;
250}
251
252.video-container iframe {
253 width: 100%;
254 height: 100%;
255}
256
257.header-github-link::before {
258 content: '';
259 width: 24px;
260 height: 24px;
261 display: flex;
262 background-color: var(--ifm-navbar-link-color);
263 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");
264 transition: background-color var(--ifm-transition-fast)
265 var(--ifm-transition-timing-default);
266}
267
268.header-github-link:hover::before {
269 background-color: var(--ifm-navbar-link-hover-color);
270}
271