1717
1818 @font-face {
1919 font-family : 'Optimistic Display' ;
20- src : url ('https://beta.reactjs.org/fonts/Optimistic_Display_W_Lt.woff2' )
21- format ('woff2' );
20+ src : url ('/fonts/Optimistic_Display_W_Lt.woff2' ) format ('woff2' );
2221 font-weight : 300 ;
2322 font-style : normal;
2423 font-display : swap;
2524 }
2625
2726 @font-face {
2827 font-family : 'Optimistic Display' ;
29- src : url ('https://beta.reactjs.org/fonts/Optimistic_Display_W_Md.woff2' )
30- format ('woff2' );
28+ src : url ('/fonts/Optimistic_Display_W_Md.woff2' ) format ('woff2' );
3129 font-weight : 500 ;
3230 font-style : normal;
3331 font-display : swap;
3432 }
3533
3634 @font-face {
3735 font-family : 'Optimistic Display' ;
38- src : url ('https://beta.reactjs.org/fonts/Optimistic_Display_W_Bd.woff2' )
39- format ('woff2' );
36+ src : url ('/fonts/Optimistic_Display_W_Bd.woff2' ) format ('woff2' );
4037 font-weight : 700 ;
4138 font-style : normal;
4239 font-display : swap;
9895 }
9996 }
10097
101- a > code {
102- color : # 087ea4 !important ; /* blue-50 */
98+ a > code {
99+ color : # 087ea4 !important ;
100+ /* blue-50 */
103101 text-decoration : none !important ;
104102 }
105103
106- html .dark a > code {
107- color : # 149eca !important ; /* blue-40 */
104+ html .dark a > code {
105+ color : # 149eca !important ;
106+ /* blue-40 */
108107 }
109108
110109 .text-code {
123122 .text-gradient-electric-blue {
124123 background-image : linear-gradient (45deg , # 61dafb, # 0072ff );
125124 }
125+
126126 /* Stop purging. */
127127 /* Your own custom utilities */
128128
160160 html .no-bg-scrollbar {
161161 scrollbar-color : rgba (0 , 0 , 0 , 0.2 ) transparent;
162162 }
163+
163164 html .dark .no-bg-scrollbar {
164165 scrollbar-color : rgba (255 , 255 , 255 , 0.2 ) transparent;
165166 }
167+
166168 /*
167169 * Until then, we have ... this.
168170 * If you're changing this, make sure you've tested:
178180 html .no-bg-scrollbar ::-webkit-scrollbar-track {
179181 background-color : transparent;
180182 }
183+
181184 html .no-bg-scrollbar : hover ::-webkit-scrollbar-thumb ,
182185 html .no-bg-scrollbar : focus ::-webkit-scrollbar-thumb ,
183186 html .no-bg-scrollbar : focus-within ::-webkit-scrollbar-thumb ,
187190 background-clip : content-box;
188191 border-radius : 10px ;
189192 }
193+
190194 html .no-bg-scrollbar ::-webkit-scrollbar-thumb : hover ,
191195 html .no-bg-scrollbar ::-webkit-scrollbar-thumb : active {
192196 background-color : rgba (0 , 0 , 0 , 0.35 ) !important ;
193197 }
198+
194199 html .dark .no-bg-scrollbar : hover ::-webkit-scrollbar-thumb ,
195200 html .dark .no-bg-scrollbar : focus ::-webkit-scrollbar-thumb ,
196201 html .dark .no-bg-scrollbar : focus-within ::-webkit-scrollbar-thumb ,
197202 html .dark .no-bg-scrollbar : active ::-webkit-scrollbar-thumb {
198203 background-color : rgba (255 , 255 , 255 , 0.2 );
199204 }
205+
200206 html .dark .no-bg-scrollbar ::-webkit-scrollbar-thumb : hover ,
201207 html .dark .no-bg-scrollbar ::-webkit-scrollbar-thumb : active {
202208 background-color : rgba (255 , 255 , 255 , 0.35 ) !important ;
211217 background : none !important ;
212218 padding : 2px !important ;
213219}
220+
214221html .dark .code-step * {
215222 color : inherit !important ;
216223}
@@ -233,31 +240,38 @@ html.dark .code-step * {
233240 visibility : hidden;
234241 content : '' ;
235242}
243+
236244.mdx-heading .mdx-header-anchor {
237245 /* Prevent the anchor from
238246 overflowing to its own line */
239247 height : 0px ;
240248 width : 0px ;
241249}
250+
242251.mdx-heading .mdx-header-anchor svg {
243252 display : inline;
244253}
254+
245255.mdx-heading .mdx-header-anchor svg {
246256 visibility : hidden;
247257}
258+
248259.mdx-heading : hover .mdx-header-anchor svg {
249260 visibility : visible;
250261}
262+
251263.mdx-heading .mdx-header-anchor : focus svg {
252264 visibility : visible;
253265}
254266
255- .mdx-blockquote > span > p : first-of-type {
267+ .mdx-blockquote > span > p : first-of-type {
256268 margin-bottom : 0 ;
257269}
258- .mdx-blockquote > span > p : last-of-type {
270+
271+ .mdx-blockquote > span > p : last-of-type {
259272 margin-bottom : 1rem ;
260273}
274+
261275.mdx-illustration-block {
262276 display : flex;
263277 flex-direction : row;
@@ -267,9 +281,11 @@ html.dark .code-step * {
267281 align-items : stretch;
268282 gap : 42px ;
269283}
284+
270285ol .mdx-illustration-block {
271286 gap : 60px ;
272287}
288+
273289.mdx-illustration-block li {
274290 display : flex;
275291 align-items : flex-start;
@@ -278,6 +294,7 @@ ol.mdx-illustration-block {
278294 position : relative;
279295 padding : 1rem ;
280296}
297+
281298.mdx-illustration-block figure {
282299 display : flex;
283300 flex-direction : column;
@@ -288,6 +305,7 @@ ol.mdx-illustration-block {
288305 position : relative;
289306 height : 100% ;
290307}
308+
291309.mdx-illustration-block li : after {
292310 content : ' ' ;
293311 display : block;
@@ -299,22 +317,27 @@ ol.mdx-illustration-block {
299317 height : 49px ;
300318 background : center / contain no-repeat url ('/images/g_arrow.png' );
301319}
320+
302321.mdx-illustration-block li : first-child : after {
303322 content : ' ' ;
304323 display : none;
305324}
325+
306326.mdx-illustration-block img {
307327 max-height : 250px ;
308328 width : 100% ;
309329}
330+
310331@media (max-width : 680px ) {
311332 .mdx-illustration-block {
312333 flex-direction : column;
313334 }
335+
314336 .mdx-illustration-block img {
315337 max-height : 200px ;
316338 width : auto;
317339 }
340+
318341 .mdx-illustration-block li : after {
319342 top : 0 ;
320343 left : 50% ;
0 commit comments