@@ -86,6 +86,8 @@ html[data-theme="dark"] {
86
86
}
87
87
}
88
88
89
+ // COLLAPSIBLE STYLING
90
+
89
91
details {
90
92
color : #1d232e ;
91
93
background-color : white !important ;
@@ -121,6 +123,7 @@ details [class*="collapsibleContent"] {
121
123
border-radius : 0 ;
122
124
}
123
125
126
+
124
127
ul .tabs {
125
128
border-bottom : 1px solid #cbd4de !important ;
126
129
column-gap : 0.5rem !important ;
@@ -136,52 +139,12 @@ li.tabs__item--active {
136
139
border-bottom : 1px solid #6d28d9 !important ;
137
140
}
138
141
142
+ // TOP NAV STYLING
143
+
139
144
.navbar {
140
145
background-color : #1d232e ;
141
146
}
142
147
143
- .menu {
144
- font-weight : 400 ;
145
- background-image : radial-gradient (rgba (0 , 0 , 0 , 0.121 ) 1px , transparent 1px );
146
- background-size : 20px 20px ;
147
- }
148
-
149
- html [data-theme = " dark" ] .menu {
150
- background-image : radial-gradient (
151
- rgba (30 , 29 , 32 , 0.131 ) 1px ,
152
- transparent 1px
153
- );
154
- background-size : 20px 20px ;
155
- }
156
-
157
- .menu_list {
158
- padding-left : 0rem !important ;
159
- }
160
-
161
- .menu__link {
162
- font-size : 15px ;
163
- padding-top : 0.4rem !important ;
164
- padding-bottom : 0.4rem !important ;
165
- }
166
-
167
- .menu__link--active {
168
- // font-weight: 400 !important;
169
- font-weight : 500 !important ;
170
- background-color : rgba (115 , 0 , 255 , 0.083 ) !important ;
171
- // border: 1px solid #710bee;
172
- // border-right: 1px solid #e0e0e0;
173
- // border-top-right-radius: 0;
174
- // border-bottom-right-radius: 0;
175
- // box-sizing: border-box;
176
- }
177
-
178
- .menu__link--sublist-caret :after {
179
- width : 0.7rem ;
180
- height : 0.7rem ;
181
- min-width : 0.7rem ;
182
- background : var (--ifm-menu-link-sublist-icon ) 50% / 1.2rem 1.2rem ;
183
- }
184
-
185
148
.avatar__name > a {
186
149
color : black !important ;
187
150
}
@@ -342,14 +305,6 @@ html[data-theme="dark"] #light-invertable-img {
342
305
filter : invert (100% );
343
306
}
344
307
345
- #confident-workflow {
346
- width : 70% ;
347
- }
348
-
349
- html [data-theme = " dark" ] #confident-workflow {
350
- filter : invert (100% );
351
- }
352
-
353
308
#rag-evaluation {
354
309
margin-left : 140px ;
355
310
width : 50% ;
@@ -385,10 +340,6 @@ html[data-theme="dark"] #rag-evaluation {
385
340
}
386
341
387
342
@media (max-width : 600px ) {
388
- #confident-workflow {
389
- width : 100% !important ;
390
- }
391
-
392
343
#rag-evaluation {
393
344
margin-left : 0 !important ;
394
345
width : 80% !important ;
@@ -405,39 +356,7 @@ video {
405
356
border-radius : 6px ;
406
357
}
407
358
408
- .glowing {
409
- animation : glow 2s infinite alternate ;
410
- }
411
-
412
- @keyframes glow {
413
- 0% {
414
- filter : drop-shadow (0 0 5px #c4b5fd );
415
- }
416
- 30% {
417
- filter : drop-shadow (0 0 15px #7c3aed );
418
- }
419
- 100% {
420
- filter : drop-shadow (0 0 25px #6d28d9 );
421
- }
422
- }
423
-
424
- [class *= " codeBlockTitle" ] {
425
- font-size : 14px !important ;
426
- font-weight : 400 !important ;
427
- padding : 0.5rem 1rem !important ;
428
- border-bottom : 1px solid #51565d !important ;
429
- }
430
-
431
-
432
- /* Add border to code blocks */
433
- .prism-code {
434
- border-radius : 6px ;
435
- font-size : 15px !important ;
436
- }
437
-
438
- html [data-theme = " dark" ] .prism-code {
439
- border : 1px solid #334155 ;
440
- }
359
+ // MENU STYLING
441
360
442
361
/* Remove all the sidebar item ::before content */
443
362
.sidebar-item-getting-started > .menu__list-item-collapsible > a ::before ,
@@ -451,7 +370,6 @@ html[data-theme="dark"] .prism-code {
451
370
}
452
371
453
372
454
-
455
373
.sidebar-item-getting-started ul :not (:first-child ),
456
374
.sidebar-item-icon-llm-eval ul :not (:first-child ),
457
375
.sidebar-item-icon-synthetic-data ul :not (:first-child ),
@@ -517,12 +435,40 @@ html[data-theme="dark"] .sidebar-item-icon-others > a::before {
517
435
brightness (95% ) contrast (95% );
518
436
}
519
437
520
- .theme-code-block-highlighted-line {
521
- background-color : #242945 !important ;
438
+ .menu {
439
+ font-weight : 400 ;
440
+ background-image : radial-gradient (rgba (0 , 0 , 0 , 0.121 ) 1px , transparent 1px );
441
+ background-size : 20px 20px ;
522
442
}
523
443
524
- .theme-code-block-highlighted-line > span {
525
- background-color : #242945 !important ;
444
+ html [data-theme = " dark" ] .menu {
445
+ background-image : radial-gradient (
446
+ rgba (30 , 29 , 32 , 0.131 ) 1px ,
447
+ transparent 1px
448
+ );
449
+ background-size : 20px 20px ;
450
+ }
451
+
452
+ .menu_list {
453
+ padding-left : 0rem !important ;
454
+ }
455
+
456
+ .menu__link {
457
+ font-size : 15px ;
458
+ padding-top : 0.4rem !important ;
459
+ padding-bottom : 0.4rem !important ;
460
+ }
461
+
462
+ .menu__link--active {
463
+ font-weight : 500 !important ;
464
+ background-color : rgba (115 , 0 , 255 , 0.083 ) !important ;
465
+ }
466
+
467
+ .menu__link--sublist-caret :after {
468
+ width : 0.7rem ;
469
+ height : 0.7rem ;
470
+ min-width : 0.7rem ;
471
+ background : var (--ifm-menu-link-sublist-icon ) 50% / 1.2rem 1.2rem ;
526
472
}
527
473
528
474
.theme-doc-sidebar-item-category-level-1 > .menu__list-item-collapsible > .menu__link :first-of-type {
@@ -537,4 +483,33 @@ html[data-theme="dark"] .sidebar-item-icon-others > a::before {
537
483
538
484
.menu__list .menu__list {
539
485
padding-left : 3px !important ;
540
- }
486
+ }
487
+
488
+
489
+ // CODE STYLING
490
+
491
+
492
+ [class *= " codeBlockTitle" ] {
493
+ font-size : 14px !important ;
494
+ font-weight : 400 !important ;
495
+ padding : 0.5rem 1rem !important ;
496
+ border-bottom : 1px solid #51565d !important ;
497
+ }
498
+
499
+ .theme-code-block-highlighted-line {
500
+ background-color : #242945 !important ;
501
+ }
502
+
503
+ .theme-code-block-highlighted-line > span {
504
+ background-color : #242945 !important ;
505
+ }
506
+
507
+ /* Add border to code blocks */
508
+ .prism-code {
509
+ border-radius : 6px ;
510
+ font-size : 15px !important ;
511
+ }
512
+
513
+ html [data-theme = " dark" ] .prism-code {
514
+ border : 1px solid #334155 ;
515
+ }
0 commit comments