forked from Unstructured-IO/unstructured
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathunstructured.css
More file actions
1038 lines (867 loc) · 24.6 KB
/
unstructured.css
File metadata and controls
1038 lines (867 loc) · 24.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/** css/custom.css **/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root {
--sidebarWidth: 280px;
--primaryColor: #3E5CC9;
--link: #3E5CC9;
--linkActive: #4C4EA3;
--linkHover: var(--primaryColor);
--sidebarBackground: #FFFFFF;
--sidebarBackgroundDark: #fcfcfc;
--sidebarBackgroundDarker: #F2F3F7;
--sidebarColor: #484848;
--sidebarTitleColor: #404040;
--noteHeader: #4C4EA3;
--hintHeader: #67c795;
--hintBackground: #67c7951C;
--warningHeader: #ffba28;
--warningBackground: #ffba281C;
--white: #ffffff;
--line: #e9eaed;
--icon-close: url('data:image/svg+xml;charset=utf-8,<svg viewBox="0 0 41 40" xmlns="http://www.w3.org/2000/svg"><path d="M8.9225 5.58721C8.13956 4.80426 6.87015 4.80426 6.08721 5.58721C5.30426 6.37015 5.30426 7.63956 6.08721 8.4225L17.6647 20L6.08733 31.5774C5.30438 32.3603 5.30438 33.6297 6.08733 34.4127C6.87027 35.1956 8.13968 35.1956 8.92262 34.4127L20.5 22.8353L32.0774 34.4127C32.8603 35.1956 34.1297 35.1956 34.9127 34.4127C35.6956 33.6297 35.6956 32.3603 34.9127 31.5774L23.3353 20L34.9128 8.4225C35.6957 7.63956 35.6957 6.37015 34.9128 5.58721C34.1298 4.80426 32.8604 4.80426 32.0775 5.58721L20.5 17.1647L8.9225 5.58721Z" fill="black"/></svg>');
--icon-slack: url('data:image/svg+xml;charset=utf-8,<svg viewBox="0 0 50 13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.9952 9.96175L16.6197 8.51131C17.2945 9.01494 18.191 9.27682 19.0774 9.27682C19.7321 9.27682 20.1451 9.02501 20.1451 8.64225C20.135 7.57456 16.2268 8.41058 16.1966 5.73129C16.1866 4.3715 17.3953 3.32396 19.1076 3.32396C20.1249 3.32396 21.1422 3.57577 21.8675 4.14991L21.2833 5.63057C20.6185 5.20752 19.7925 4.90535 19.0069 4.90535C18.473 4.90535 18.1205 5.15716 18.1205 5.47948C18.1306 6.52702 22.0689 5.95289 22.1092 8.51131C22.1092 9.90132 20.9307 10.8784 19.2385 10.8784C17.9996 10.8784 16.8614 10.5862 15.9952 9.96175ZM39.9577 7.98754C39.6455 8.53145 39.0613 8.90414 38.3864 8.90414C37.3892 8.90414 36.5834 8.09834 36.5834 7.10116C36.5834 6.10398 37.3892 5.29817 38.3864 5.29817C39.0613 5.29817 39.6455 5.67086 39.9577 6.21477L41.6801 5.25788C41.0355 4.10962 39.7966 3.32396 38.3864 3.32396C36.3014 3.32396 34.6092 5.01614 34.6092 7.10116C34.6092 9.18617 36.3014 10.8784 38.3864 10.8784C39.8066 10.8784 41.0355 10.1028 41.6801 8.94443L39.9577 7.98754ZM22.9754 0.191406H25.131V10.7373H22.9754V0.191406ZM42.5262 0.191406V10.7373H44.6817V7.57456L47.2401 10.7373H50L46.7466 6.98029L49.7583 3.47505H47.1193L44.6817 6.38601V0.191406H42.5262ZM31.5371 8.00768C31.2248 8.52138 30.5802 8.90414 29.855 8.90414C28.8578 8.90414 28.052 8.09834 28.052 7.10116C28.052 6.10398 28.8578 5.29817 29.855 5.29817C30.5802 5.29817 31.2248 5.70108 31.5371 6.22485V8.00768ZM31.5371 3.47505V4.33121C31.1845 3.73693 30.3082 3.32396 29.3916 3.32396C27.498 3.32396 26.0073 4.996 26.0073 7.09108C26.0073 9.18617 27.498 10.8784 29.3916 10.8784C30.3082 10.8784 31.1845 10.4654 31.5371 9.8711V10.7273H33.6926V3.47505H31.5371Z" fill="white"/><path d="M2.66922 7.99754C2.66922 8.73284 2.07494 9.32711 1.33964 9.32711C0.60435 9.32711 0.0100708 8.73284 0.0100708 7.99754C0.0100708 7.26225 0.60435 6.66797 1.33964 6.66797H2.66922V7.99754ZM3.334 7.99754C3.334 7.26225 3.92828 6.66797 4.66358 6.66797C5.39887 6.66797 5.99315 7.26225 5.99315 7.99754V11.3215C5.99315 12.0568 5.39887 12.651 4.66358 12.651C3.92828 12.651 3.334 12.0568 3.334 11.3215V7.99754Z" fill="white"/><path d="M4.66358 2.65915C3.92828 2.65915 3.33401 2.06487 3.33401 1.32957C3.33401 0.594279 3.92828 0 4.66358 0C5.39887 0 5.99315 0.594279 5.99315 1.32957V2.65915H4.66358ZM4.66358 3.33401C5.39887 3.33401 5.99315 3.92828 5.99315 4.66358C5.99315 5.39887 5.39887 5.99315 4.66358 5.99315H1.32957C0.594279 5.99315 0 5.39887 0 4.66358C0 3.92828 0.594279 3.33401 1.32957 3.33401H4.66358Z" fill="white"/><path d="M9.99196 4.66358C9.99196 3.92828 10.5862 3.33401 11.3215 3.33401C12.0568 3.33401 12.6511 3.92828 12.6511 4.66358C12.6511 5.39887 12.0568 5.99315 11.3215 5.99315H9.99196V4.66358ZM9.32718 4.66358C9.32718 5.39887 8.7329 5.99315 7.9976 5.99315C7.26231 5.99315 6.66803 5.39887 6.66803 4.66358V1.32957C6.66803 0.594279 7.26231 0 7.9976 0C8.7329 0 9.32718 0.594279 9.32718 1.32957V4.66358Z" fill="white"/><path d="M7.9976 9.9919C8.7329 9.9919 9.32718 10.5862 9.32718 11.3215C9.32718 12.0568 8.7329 12.651 7.9976 12.651C7.26231 12.651 6.66803 12.0568 6.66803 11.3215V9.9919H7.9976ZM7.9976 9.32711C7.26231 9.32711 6.66803 8.73284 6.66803 7.99754C6.66803 7.26225 7.26231 6.66797 7.9976 6.66797H11.3316C12.0669 6.66797 12.6612 7.26225 12.6612 7.99754C12.6612 8.73284 12.0669 9.32711 11.3316 9.32711H7.9976Z" fill="white"/></svg>');
--icon-external: url('data:image/svg+xml;charset=utf-8,<svg viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.125 1C6.125 0.792893 6.29289 0.625 6.5 0.625H9C9.05085 0.625 9.09933 0.635119 9.14354 0.653454C9.18777 0.671754 9.22921 0.698881 9.26517 0.734835C9.33839 0.808058 9.375 0.904029 9.375 1V3.5C9.375 3.70711 9.20711 3.875 9 3.875C8.79289 3.875 8.625 3.70711 8.625 3.5V1.90533L4.26517 6.26516C4.11872 6.41161 3.88128 6.41161 3.73483 6.26516C3.58839 6.11872 3.58839 5.88128 3.73483 5.73484L8.09467 1.375H6.5C6.29289 1.375 6.125 1.20711 6.125 1ZM1.02773 2.52773C1.28559 2.26987 1.63533 2.125 2 2.125H4.5C4.70711 2.125 4.875 2.29289 4.875 2.5C4.875 2.70711 4.70711 2.875 4.5 2.875H2C1.83424 2.875 1.67527 2.94085 1.55806 3.05806C1.44085 3.17527 1.375 3.33424 1.375 3.5V8C1.375 8.16576 1.44085 8.32473 1.55806 8.44194C1.67527 8.55915 1.83424 8.625 2 8.625H6.5C6.66576 8.625 6.82473 8.55915 6.94194 8.44194C7.05915 8.32473 7.125 8.16576 7.125 8V5.5C7.125 5.29289 7.29289 5.125 7.5 5.125C7.70711 5.125 7.875 5.29289 7.875 5.5V8C7.875 8.36467 7.73013 8.71441 7.47227 8.97227C7.21441 9.23013 6.86467 9.375 6.5 9.375H2C1.63533 9.375 1.28559 9.23013 1.02773 8.97227C0.769866 8.71441 0.625 8.36467 0.625 8V3.5C0.625 3.13533 0.769866 2.78559 1.02773 2.52773Z" fill="#607D8B"/></svg>');
--tuto-section-1: #FF4F46;
--tuto-section-2: #F8C0A7;
--tuto-section-3: #d2835e;
--tuto-section-4: #bb945e;
--tuto-section-5: #a59b78;
--tuto-section-6: #a68887;
--tuto-section-7: #fa8c5f;
--tuto-section-8: #E88D67;
--tuto-section-9: #7EB77F;
--tuto-section-10: #A1869E;
--tuto-section-11: #466362;
--tuto-section-11: #E7A9B5;
}
body {
font-family: "Inter", "Helvetica Neue", "Arial", "sans-serif";
color: #484848;
background: var(--color-background-primary);
}
html {
font-size: 16px;
}
h1 {
font-size: 36px;
}
h2 {
font-size: 28px;
}
.article {
color: #484848;
}
.content {
width: 50em;
margin-top: 1.5em;
}
.content--no-toc {
width: calc(50em + 15em);
}
.content .section h1 {
margin-top: 2em;
}
.content .section h1 span {
display: none;
}
.content .section h2 {
margin-top: 1.5em;
}
.content .section h3 {
margin-top: 2em;
}
p {
font-size: 16px;
line-height: 1.8em;
}
.content strong {
font-weight: 600;
}
.content a strong {
font-weight: 500;
}
p.admonition-title {
font-weight: 700;
font-size: 16px;
}
.admonition {
border-left: none;
border-radius: 6px;
}
.content .toctree-wrapper>p.caption,
h2,
h3,
h4,
h5,
h6,
legend {
font-weight: 600;
}
h1,
h2 {
font-weight: 700;
}
.button--primary {
position: relative;
border: 0;
text-decoration: none !important;
color: white !important;
border-radius: 5px;
padding: 0.3em;
font-size: 14px;
font-weight: 500;
transition: all 0.3s ease-in-out;
background: linear-gradient(-45deg, #0693e3, #0693e3);
display: inline-flex;
align-items: center;
line-height: 20px;
}
.button--primary span {
position: relative;
height: 14px;
width: 60px;
margin-left: 8px;
}
.button--primary:hover {
color: white !important;
transition: all 0.3s ease-in-out;
background: linear-gradient(-45deg, #003C5E, #003C5E);
}
.content .note .wy-alert-title,
.content .seealso .wy-alert-title,
.content .wy-alert-info.attention .wy-alert-title,
.content .wy-alert-info.caution .wy-alert-title,
.content .wy-alert-info.danger .wy-alert-title,
.content .wy-alert-info.error .wy-alert-title,
.content .wy-alert-info.hint .wy-alert-title,
.content .wy-alert-info.important .wy-alert-title,
.content .wy-alert-info.tip .wy-alert-title,
.content .wy-alert-info.warning .wy-alert-title,
.wy-alert.wy-alert-info .wy-alert-title {
background: var(--noteHeader);
}
.content .hint,
.content .seealso,
.content .wy-alert-info.attention,
.content .wy-alert-info.caution,
.content .wy-alert-info.danger,
.content .wy-alert-info.error,
.content .wy-alert-info.hint,
.content .wy-alert-info.important,
.content .wy-alert-info.tip,
.content .wy-alert-info.warning,
.wy-alert.wy-alert-info {
background: var(--hintBackground);
}
.content .hint .wy-alert-title,
.content .seealso .wy-alert-title,
.content .wy-alert-info.attention .wy-alert-title,
.content .wy-alert-info.caution .wy-alert-title,
.content .wy-alert-info.danger .wy-alert-title,
.content .wy-alert-info.error .wy-alert-title,
.content .wy-alert-info.hint .wy-alert-title,
.content .wy-alert-info.important .wy-alert-title,
.content .wy-alert-info.tip .wy-alert-title,
.content .wy-alert-info.warning .wy-alert-title,
.wy-alert.wy-alert-info .wy-alert-title {
background: var(--hintHeader);
}
.content .warning,
.content .seealso,
.content .wy-alert-info.attention,
.content .wy-alert-info.caution,
.content .wy-alert-info.danger,
.content .wy-alert-info.error,
.content .wy-alert-info.hint,
.content .wy-alert-info.important,
.content .wy-alert-info.tip,
.content .wy-alert-info.warning,
.wy-alert.wy-alert-info {
background: var(--warningBackground);
}
.content .warning .wy-alert-title,
.content .seealso .wy-alert-title,
.content .wy-alert-info.attention .wy-alert-title,
.content .wy-alert-info.caution .wy-alert-title,
.content .wy-alert-info.danger .wy-alert-title,
.content .wy-alert-info.error .wy-alert-title,
.content .wy-alert-info.hint .wy-alert-title,
.content .wy-alert-info.important .wy-alert-title,
.content .wy-alert-info.tip .wy-alert-title,
.content .wy-alert-info.warning .wy-alert-title,
.wy-alert.wy-alert-info .wy-alert-title {
background: var(--warningHeader);
}
.content code.literal,
.content tt.literal {
color: var(--color-literal);
}
.content div[class^=highlight],
.content pre.literal-block {
border: none;
border-radius: 5px;
}
:target>h1:first-of-type,
:target>h2:first-of-type,
:target>h3:first-of-type,
:target>h4:first-of-type,
:target>h5:first-of-type,
:target>h6:first-of-type,
span:target~h1:first-of-type,
span:target~h2:first-of-type,
span:target~h3:first-of-type,
span:target~h4:first-of-type,
span:target~h5:first-of-type,
span:target~h6:first-of-type {
background: none;
}
.highlight pre {
padding: 2em !important;
}
.highlight button.copybtn {
color: #ccc;
}
.highlight button.copybtn:hover {
color: #ffffff;
}
div.nbinput.container,
div.nboutput.container {
margin: 2em 0 !important;
}
.article-container img {
margin: 2em 0;
display: flex;
background: var(--color-img-background);
}
:target>h1:first-of-type,
:target>h2:first-of-type,
:target>h3:first-of-type,
:target>h4:first-of-type,
:target>h5:first-of-type,
:target>h6:first-of-type,
span:target~h1:first-of-type,
span:target~h2:first-of-type,
span:target~h3:first-of-type,
span:target~h4:first-of-type,
span:target~h5:first-of-type,
span:target~h6:first-of-type {
background: var(--color-sidebar-item-background--current);
}
/* mobile header */
.mobile-header .icon,
.mobile-header svg {
height: 1.5rem;
width: 1.5rem;
}
.mobile-header .theme-toggle-header {
padding: 0.75rem 0.5rem;
}
.header-logo {
max-width: 120px;
}
.header__search {
position: absolute;
top: 1em;
left: 1em;
right: 1em;
top: -5em;
z-index: 30;
transition: top 0.1s ease-in-out;
}
.mobile-header .header-right {
align-items: center;
}
.header__search__container {
align-items: center;
display: flex;
position: relative;
background: var(--color-sidebar-background-border);
border-radius: 5px;
padding: 0.75em;
}
.header__search__container:before {
background-color: var(--color-sidebar-search-text);
content: "";
height: var(--sidebar-search-icon-size);
left: 2em;
-webkit-mask-image: var(--icon-search);
mask-image: var(--icon-search);
position: absolute;
width: var(--sidebar-search-icon-size);
}
.header__search__input {
box-sizing: border-box;
border: none;
padding-left: 3em;
border-radius: 5px;
min-height: 50px;
width: 100%;
outline: none;
background: var(--color-sidebar-search-background);
color: var(--color-sidebar-search-text);
}
.search-icon {
position: relative;
height: 20px !important;
width: 20px !important;
cursor: pointer;
}
.search-icon:before {
background-color: var(--color-search-icon);
content: "";
-webkit-mask-image: var(--icon-search);
mask-image: var(--icon-search);
height: 100%;
width: 100%;
position: absolute;
}
.nav-overlay-icon .icon {
color: var(--color-search-icon) !important;
}
.close-icon {
position: absolute;
cursor: pointer;
width: 16px;
height: 16px;
right: 2em;
}
.close-icon:before {
background-color: var(--color-sidebar-search-text);
content: "";
-webkit-mask-image: var(--icon-close);
mask-image: var(--icon-close);
height: 100%;
width: 100%;
position: absolute;
}
.slack-icon:before {
position: absolute;
left: 0;
background-color: white;
content: "";
-webkit-mask-image: var(--icon-slack);
mask-image: var(--icon-slack);
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
height: 100%;
width: 100%;
}
#__search:checked~.page .header__search {
top: 1em;
transition: top 0.3s ease-in-out;
}
#__search:checked~.search-overlay {
height: 100%;
opacity: 1;
width: 100%;
}
#searchbox .highlight-link {
display: none;
}
.search-overlay {
z-index: 20;
}
/* table */
.jp-RenderedHTMLCommon table,
div.rendered_html table {
margin-top: 1em;
background: var(--color-table-bg) !important;
color: var(--color-foreground-primary) !important;
border-radius: 3px;
}
div.rendered_html table th,
div.rendered_html table td {
text-align: left !important;
padding: 1em;
}
.jp-RenderedHTMLCommon tbody tr:hover,
div.rendered_html tbody tr:hover {
background: initial !important;
}
.jp-RenderedHTMLCommon tbody tr:nth-child(odd),
div.rendered_html tbody tr:nth-child(odd) {
background: var(--color-table-row) !important;
}
.jp-RenderedHTMLCommon tbody tr:hover,
div.rendered_html tbody {
border-radius: 3px;
}
tbody tr:last-child td:first-child,
tbody tr:last-child th {
border-bottom-left-radius: 3px;
}
tbody tr:last-child td:last-child {
border-bottom-right-radius: 3px;
}
thead tr:last-child th:first-child {
border-top-left-radius: 3px;
}
thead tr:last-child th:last-child {
border-top-right-radius: 3px;
}
.jp-RenderedHTMLCommon thead,
div.rendered_html thead {
border-bottom: 0 !important;
background: var(--color-table-header) !important;
border-radius: 3px;
}
/* back-to-top */
a.back-to-top.muted-link {
color: var(--color-foreground-primary);
text-decoration: none !important;
}
/* sidebar */
.sidebar-container {
width: 19em;
}
.sidebar-tree li>ul {
margin-left: 0;
}
.sidebar-tree li>ul a {
padding-left: 1em;
}
.sidebar-tree .caption,
.sidebar-tree :not(.caption)>.caption-text {
font-size: 22px;
font-weight: normal;
text-transform: none;
}
.sidebar-tree .reference {
line-height: 1.8em;
padding-left: 2em;
}
.sidebar-tree .reference:hover {
font-weight: 600;
}
.sidebar-tree .current-page>.reference {
font-weight: 600;
color: var(--color-sidebar-current-text);
}
.sidebar-tree .toctree-l2 a {
padding-left: 4em;
}
.sidebar-logo {
max-width: 160px;
margin-top: 2em;
}
.sidebar-brand {
margin: 0;
}
.sidebar-search-container {
margin: 0 16px;
padding-bottom: 16px;
}
.sidebar-tree .reference.external:after {
color: var(--color-sidebar-link-text--top-level);
}
.sidebar-search {
border: 1px solid var(--color-sidebar-search-border);
padding-left: 2.5em;
border-radius: 3px;
min-height: 40px;
}
.sidebar-search:focus {
border: 1px solid var(--color-sidebar-search-border-focus);
}
.sidebar-search::placeholder {
color: var(--color-search-placeholder);
font-weight: 600;
}
.sidebar-scroll,
.toc-scroll {
-ms-overflow-style: none;
/* IE and Edge */
scrollbar-width: none;
/* Firefox */
}
.sidebar-scroll::-webkit-scrollbar,
.toc-scroll::-webkit-scrollbar {
display: none;
/* Chrome, Safari and Opera */
}
.sidebar-search-container:before {
z-index: 12;
background: var(--color-search-icon)
}
.sidebar__theme-toggle {
display: none;
}
.sidebar-tree ul {
margin-bottom: 1rem;
}
@media (max-width: 67em) {
.sidebar__theme-toggle {
display: block;
position: absolute;
z-index: 1;
right: 1em;
top: 0.4em;
}
.social {
justify-content: center !important;
margin: auto;
}
.social--sidebar {
display: none !important;
}
.sidebar-search-container {
display: none;
}
.open-in-colab__wrapper {
display: none;
}
}
@media (min-width: 67em) {
.social--main {
display: none !important;
}
.social--sidebar {
margin-bottom: 1em;
text-align: center;
align-items: center;
display: block !important;
}
.social--sidebar>* {
margin: 3px 4px;
vertical-align: middle;
}
.open-in-colab__wrapper {
display: inline-flex;
width: calc(100% - 40px);
gap: 2px;
justify-content: right;
margin-top: 1.4em;
}
}
@media (max-width: 82em) {
.open-in-colab__wrapper {
width: calc(100% - 70px);
}
}
/* toc */
.toc-title {
color: var(--color-toc-title);
text-transform: none;
font-size: 16px;
font-weight: 600;
}
.toc-tree .reference {
font-size: 14px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
display: block;
}
.toc-tree .reference:hover {
font-weight: 700;
color: var(--color-toc-item-text--active);
}
/* typography */
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 1.5rem;
margin-bottom: 1.5rem;
}
h1 {
margin-top: 2rem
}
h2 {
margin-top: 2rem
}
p {
margin-top: 1.5rem;
margin-bottom: 1.5rem;
}
/* anchors */
.headerlink {
height: 1px;
overflow: hidden;
white-space: nowrap;
width: 1px;
visibility: hidden !important;
}
.code-block-caption:hover>.headerlink:before,
dl dt:hover>.headerlink:before,
figcaption p:hover>.headerlink:before,
h1:hover>.headerlink:before,
h2:hover>.headerlink:before,
h3:hover>.headerlink:before,
h4:hover>.headerlink:before,
h5:hover>.headerlink:before,
h6:hover>.headerlink:before,
p.caption:hover>.headerlink:before,
table>caption:hover>.headerlink:before {
content: "\f0c1";
font-family: FontAwesome;
visibility: visible;
font-size: 16px;
}
/* links and buttons */
.article-container a:not(.headerlink):not(.github-stars a):not(:hover) {
color: var(--color-content-foreground);
}
.article-container a:not(.headerlink) {
text-decoration: underline;
}
a {
text-decoration: none;
}
/* add border-radius */
.content img {
border-radius: 5px;
}
.content video {
border-radius: 5px;
}
@font-face {
font-family: 'FontAwesome';
src: url('fonts/fontawesome-webfont.eot?v=4.7.0');
src: url('fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
font-weight: normal;
font-style: normal;
}
/* Change the white to any color */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
border: none;
-webkit-text-fill-color: var(--color-sidebar-search-text);
-webkit-box-shadow: 0 0 0px 1000px var(--color-sidebar-search-background) inset;
transition: background-color 5000s ease-in-out 0s;
}
/* code */
div.nbinput.container div.input_area {
border: none !important;
}
/* Tutorials sections */
a [class^="tuto-section-"] {
height: 14px;
width: 14px;
display: inline-block;
margin-right: 1em;
border-radius: 50%;
}
div[class*="tuto-section-"] {
padding: 0;
}
a .tuto-section-1 {
background: var(--tuto-section-1);
}
a .tuto-section-2 {
background: var(--tuto-section-2);
}
a .tuto-section-3 {
background: var(--tuto-section-3);
}
a .tuto-section-4 {
background: var(--tuto-section-4);
}
a .tuto-section-5 {
background: var(--tuto-section-5);
}
a .tuto-section-6 {
background: var(--tuto-section-6);
}
a .tuto-section-7 {
background: var(--tuto-section-7);
}
a .tuto-section-8 {
background: var(--tuto-section-8);
}
a .tuto-section-9 {
background: var(--tuto-section-9);
}
a .tuto-section-10 {
background: var(--tuto-section-10);
}
a .tuto-section-11 {
background: var(--tuto-section-11);
}
/* Copyright */
.left-details {
visibility: hidden;
}
.left-details .copyright {
visibility: visible;
}
/* Cards */
.sd-card {
border-top: 1px solid var(--color-background-primary);
border-left: 1px solid var(--color-background-primary);
border-right: 1px solid var(--color-background-primary);
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
margin-bottom: 1.5em;
}
.sd-card:hover {
transform: none;
}
.sd-card:hover .sd-card-title {
transition: color 0.2s ease-in-out;
}
.sd-card img {
width: auto;
margin: 2rem auto -1rem auto;
border-radius: 5px;
object-fit: cover;
object-position: 100% 0;
height: 100px;
}
@supports (object-fit: cover) {
.sd-card img {
width: 80%;
}
}
@media (min-width: 576px) {
.sd-card img {
height: 12vw;
}
}
@media (min-width: 1440px) {
.sd-card img {
height: 190px;
}
}
@media (max-width: 576px) {
.sd-card img {
height: 30vw;
}
}
.tuto-section-1 .sd-card {
border-color: var(--tuto-section-1);
background: var(--tuto-section-1);
}
.tuto-section-2 .sd-card {
border-bottom-color: var(--tuto-section-2);
background: var(--tuto-section-2);
transition: all 0.2s ease-in;
}
.tuto-section-2 .sd-card-hover:hover {
background: #f7b598;
border-color: #f7b598;
transition: all 0.2s ease-in;
box-shadow: 0 0.1rem 0.25rem var(--sd-color-shadow), 0 0 0.6rem rgba(0, 0, 0, .1) !important;
}
.tuto-section-3 .sd-card {
border-color: var(--tuto-section-3);
background: var(--tuto-section-3);
}
.tuto-section-4 .sd-card {
border-color: var(--tuto-section-4);
background: var(--tuto-section-4);
}
.tuto-section-5 .sd-card {
border-color: var(--tuto-section-5);
background: var(--tuto-section-5);
}
.tuto-section-6 .sd-card {
border-color: var(--tuto-section-6);
background: var(--tuto-section-6);
}
.tuto-section-7 .sd-card {
border-color: var(--tuto-section-7);
background: var(--tuto-section-7);
}
.tuto-section-8 .sd-card {
border-color: var(--tuto-section-8);
background: var(--tuto-section-8);
}
.tuto-section-9 .sd-card {
border-color: var(--tuto-section-9);
background: var(--tuto-section-9);
}
.tuto-section-10 .sd-card {
border-color: var(--tuto-section-10);
background: var(--tuto-section-10);
}
.tuto-section-11 .sd-card {
border-color: var(--tuto-section-11);
background: var(--tuto-section-11);
}
.sd-card img+.sd-card-body {
border-radius: 0
}
.sd-card-body {
background: var(--color-background-primary);
border-top-right-radius: 5px;
border-top-left-radius: 5px;
}
.sd-card-body .sd-card-title {
font-weight: normal !important;
margin-top: 10px;
margin-bottom: 20px;
}
.sd-card-body .sd-card-text {
font-size: 14px;
line-height: 1.8em;
}
/* pager */
.related-pages .title [class*="tuto-section-"] {
display: none;
}
.page-info {
color: var(--color-page-info);
}
.related-pages a:hover .page-info .title {
text-decoration: none;
}
/* selection */
::-moz-selection {
/* Code for Firefox */
color: white;
background: #0508D9;
}
::selection {
color: white;
background: #0508D9;
}
/* github star counter */
.github-stars {
display: inline-flex;
align-items: center;
}