41
41
.nav-link.active {
42
42
border-width : 1px ;
43
43
border-style : solid ;
44
- border-image : linear-gradient (to bottom ,
44
+ border-image : linear-gradient (
45
+ to bottom ,
45
46
rgba ($dark , 0.2 ) 30% ,
46
47
rgba ($primary , 0.3 ) 60% ,
47
- $primary 90% 100% ) 1 ;
48
+ $primary 90% 100%
49
+ )
50
+ 1 ;
48
51
padding-bottom : 0.3rem ;
49
52
align-items : center ;
50
53
justify-content : center ;
92
95
93
96
// Inline code
94
97
p code ,
95
- li > code ,
98
+ li > code ,
96
99
table code {
97
100
color : inherit ;
98
101
padding : 0.2em 0.4em ;
@@ -113,7 +116,7 @@ body {
113
116
background-color : $gray-900 ;
114
117
padding : $spacer ;
115
118
116
- >code {
119
+ > code {
117
120
background-color : inherit !important ;
118
121
padding : 0 ;
119
122
margin : 0 ;
@@ -167,7 +170,6 @@ a:not([href]):not([class]):hover {
167
170
// .taxonomy-terms-cloud
168
171
169
172
.taxonomy-term {
170
-
171
173
border-width : 0 ;
172
174
border-radius : 0 3px 3px 0 ;
173
175
display : inline-block ;
@@ -182,13 +184,10 @@ a:not([href]):not([class]):hover {
182
184
transition : color 0.2s ;
183
185
clip-path : polygon (100% 0 , 100% 100% , 0.8em 100% , 0 50% , 0.8em 0 );
184
186
185
-
186
187
& :hover {
187
188
background-color : $primary ;
188
189
color : $white ;
189
-
190
190
}
191
-
192
191
}
193
192
194
193
.article-teaser {
@@ -217,12 +216,14 @@ a:not([href]):not([class]):hover {
217
216
}
218
217
219
218
.td-sidebar {
220
- background-image : linear-gradient (to top ,
221
- #1e2117 ,
222
- #1d1912 ,
223
- #18120e ,
224
- #0f0a09 ,
225
- #000000 );
219
+ background-image : linear-gradient (
220
+ to top ,
221
+ #1e2117 ,
222
+ #1d1912 ,
223
+ #18120e ,
224
+ #0f0a09 ,
225
+ #000000
226
+ );
226
227
position : sticky ;
227
228
height : calc (100vh - 5.5rem );
228
229
top : 5.5rem ;
@@ -268,18 +269,9 @@ a:not([href]):not([class]):hover {
268
269
269
270
& __section {
270
271
margin-top : 1rem ;
271
- font-family :
272
- " Qanelas Soft" ,
273
- sans-serif ,
274
- -apple-system ,
275
- BlinkMacSystemFont,
276
- " Segoe UI" ,
277
- Roboto,
278
- " Helvetica Neue" ,
279
- Arial ,
280
- " Apple Color Emoji" ,
281
- " Segoe UI Emoji" ,
282
- " Segoe UI Symbol" ;
272
+ font-family : " Qanelas Soft" , sans-serif , -apple-system , BlinkMacSystemFont,
273
+ " Segoe UI" , Roboto, " Helvetica Neue" , Arial , " Apple Color Emoji" ,
274
+ " Segoe UI Emoji" , " Segoe UI Symbol" ;
283
275
}
284
276
}
285
277
@@ -292,14 +284,20 @@ a:not([href]):not([class]):hover {
292
284
& .active :not (.tree-root ) {
293
285
border-width : 1px ;
294
286
border-style : solid ;
295
- border-image : linear-gradient (to left ,
287
+ border-image : linear-gradient (
288
+ to left ,
296
289
rgba ($dark , 0 ) 30% ,
297
290
rgba ($primary , 0.3 ) 60% ,
298
- $primary 90% 100% ) 1 ;
299
- background-image : linear-gradient (to left ,
291
+ $primary 90% 100%
292
+ )
293
+ 1 ;
294
+ background-image : linear-gradient (
295
+ to left ,
300
296
rgba ($dark , 0.2 ) 30% ,
301
297
rgba ($primary , 0.3 ) 60% ,
302
- $primary 90% 100% ) 1 ;
298
+ $primary 90% 100%
299
+ )
300
+ 1 ;
303
301
padding : 0.25rem ;
304
302
padding-left : 0.5rem !important ;
305
303
// background-image: linear-gradient(to left, rgba($dark,.33),rgba($dark,.5),rgba($dark,.75),#1e2117, #31412b, #3b6447, #378b6d, #00b39f);
@@ -321,12 +319,14 @@ a:not([href]):not([class]):hover {
321
319
.td-sidebar-toc {
322
320
line-height : 1.25rem ;
323
321
border-left : 1px solid $border-color ;
324
- background-image : linear-gradient (to top ,
325
- #1e2117 ,
326
- #1d1912 ,
327
- #18120e ,
328
- #0f0a09 ,
329
- #000000 );
322
+ background-image : linear-gradient (
323
+ to top ,
324
+ #1e2117 ,
325
+ #1d1912 ,
326
+ #18120e ,
327
+ #0f0a09 ,
328
+ #000000
329
+ );
330
330
331
331
@supports (position : sticky ) {
332
332
position : sticky ;
@@ -403,13 +403,13 @@ a:not([href]):not([class]):hover {
403
403
}
404
404
405
405
.matterinfo .plan-support {
406
- padding : .5rem ;
407
- border : .5px solid $border-color ;
406
+ padding : 0 .5rem ;
407
+ border : 0 .5px solid $border-color ;
408
408
display : flex ;
409
409
align-items : center ;
410
410
color : $casper ;
411
411
& :hover {
412
- background-color : rgba ($primary , 0.3 )
412
+ background-color : rgba ($primary , 0.3 );
413
413
}
414
414
}
415
415
@@ -429,7 +429,6 @@ a:not([href]):not([class]):hover {
429
429
color : $casper ;
430
430
}
431
431
432
-
433
432
// Style alert boxes.
434
433
435
434
.alert {
@@ -456,12 +455,12 @@ a:not([href]):not([class]):hover {
456
455
transition : color 0.8s ;
457
456
transition : background-color 0.8s ;
458
457
459
- >img {
458
+ > img {
460
459
width : 2rem ;
461
460
margin-right : 0.5rem ;
462
461
}
463
462
464
- >img :hover {
463
+ > img :hover {
465
464
filter : brightness (0 ) invert (1 );
466
465
}
467
466
@@ -484,7 +483,7 @@ a:not([href]):not([class]):hover {
484
483
.td-content figure > img {
485
484
width : auto ;
486
485
max-width : 100% ;
487
- border-radius : .5rem .5rem 0 0 ;
486
+ border-radius : 0 .5rem 0 .5rem 0 0 ;
488
487
box-shadow : 0 0 0.5rem rgba (0 , 179 , 159 , 0.4 );
489
488
transition : box-shadow 0.2s ;
490
489
}
@@ -495,7 +494,7 @@ a:not([href]):not([class]):hover {
495
494
padding : 0.5rem 1rem ;
496
495
background-color : rgba ($lightslategray , 1 );
497
496
color : $dark ;
498
- border-radius : 0 0 .5rem .5rem ;
497
+ border-radius : 0 0 0 .5rem 0 .5rem ;
499
498
box-sizing : border-box ;
500
499
}
501
500
@@ -504,23 +503,24 @@ a:not([href]):not([class]):hover {
504
503
margin-bottom : 4rem ;
505
504
font-size : 5rem ;
506
505
text-align : left ;
507
- background : linear-gradient (217deg ,
508
- rgba (249 , 245 , 13 , 0.26 ),
509
- rgba (223 , 255 , 219 , 0.57 ) 9.03% ),
510
- linear-gradient (127deg ,
511
- rgba (249 , 245 , 13 , 0.7 ),
512
- rgba (223 , 225 , 199 , 0.1 ) 41.12% ),
513
- linear-gradient (336deg ,
514
- rgba (249 , 245 , 13 , 0.1 ),
515
- rgba (239 , 239 , 251 , 0.81 ) 0% );
516
- background-position :
517
- 0% 0% ,
518
- 0% 0% ;
506
+ background-image : linear-gradient (
507
+ 135deg ,
508
+ rgb (224 , 242 , 157 ),
509
+ rgb (218 , 237 , 192 ),
510
+ rgb (211 , 227 , 212 ),
511
+ rgb (213 , 232 , 213 ),
512
+ rgb (211 , 227 , 212 ),
513
+ rgb (218 , 237 , 192 ),
514
+ rgb (224 , 242 , 157 ),
515
+ );
516
+ background-size : 200% ;
519
517
box-sizing : auto ;
520
- color : rgba ( 0 , 0 , 0 , 0 ) ;
518
+ color : transparent ;
521
519
display : block ;
522
520
text-rendering : optimizelegibility ;
523
- background-clip : text , text ;
521
+ background-clip : text ;
522
+ -webkit-background-clip : text ;
523
+ animation : color- shift 8s linear infinite ;
524
524
525
525
@media (max-width : 768px ) {
526
526
font-size : 3.5rem ;
@@ -531,15 +531,23 @@ a:not([href]):not([class]):hover {
531
531
// }
532
532
}
533
533
534
+ @keyframes color-shift {
535
+ to {
536
+ background-position : -200% ;
537
+ }
538
+ }
539
+
534
540
.dash-tangle {
535
541
width : 78.14231rem ;
536
542
height : 74.72rem ;
537
543
transform : rotate (-55.68deg );
538
544
flex-shrink : 0 ;
539
545
overflow : hidden ;
540
- background-image : linear-gradient (180deg ,
541
- rgba (0 , 179 , 115 , 0 ) 0% ,
542
- rgba (0 , 179 , 159 , 0.3 ) 100% );
546
+ background-image : linear-gradient (
547
+ 180deg ,
548
+ rgba (0 , 179 , 115 , 0 ) 0% ,
549
+ rgba (0 , 179 , 159 , 0.3 ) 100%
550
+ );
543
551
position : absolute ;
544
552
top : -18rem ;
545
553
right : -32rem ;
@@ -568,13 +576,15 @@ a:not([href]):not([class]):hover {
568
576
left : -24rem ;
569
577
overflow : hidden ;
570
578
571
- >.dash-ircle {
579
+ > .dash-ircle {
572
580
width : 74.125rem ;
573
581
height : 74.125rem ;
574
582
flex-shrink : 0 ;
575
- background : radial-gradient (50% 50% at 50% 50% ,
576
- rgba (0 , 179 , 159 , 0.2 ) 0% ,
577
- rgba (0 , 179 , 159 , 0 ) 100% );
583
+ background : radial-gradient (
584
+ 50% 50% at 50% 50% ,
585
+ rgba (0 , 179 , 159 , 0.2 ) 0% ,
586
+ rgba (0 , 179 , 159 , 0 ) 100%
587
+ );
578
588
position : absolute ;
579
589
overflow : hidden ;
580
590
background-clip : border-box ;
@@ -605,9 +615,7 @@ a:not([href]):not([class]):hover {
605
615
606
616
a .dash-sign {
607
617
color : #fffbf1 ;
608
- text-shadow :
609
- 0 20px 25px #2e2e31 ,
610
- 0 40px 60px #2e2e31 ;
618
+ text-shadow : 0 20px 25px #2e2e31 , 0 40px 60px #2e2e31 ;
611
619
font-size : 28px ;
612
620
font-weight : 600 ;
613
621
text-decoration : none ;
@@ -711,7 +719,7 @@ a:not([href]):not([class]):hover {
711
719
gap : 1rem ;
712
720
}
713
721
714
- .tab-content > .active {
722
+ .tab-content > .active {
715
723
display : flex ;
716
724
}
717
725
@@ -727,14 +735,17 @@ a:not([href]):not([class]):hover {
727
735
[id ^= " tabs-" ] {
728
736
border : 1px solid rgba ($light , 0.1 );
729
737
border-radius : 0.5rem ;
730
- padding : .5rem ;
738
+ padding : 0 .5rem ;
731
739
margin-bottom : 1rem ;
732
740
background-color : rgba ($light , 0.02 );
733
741
box-shadow : 0 0 8px rgba ($dark , 0.2 );
734
742
735
743
.nav-link {
736
744
color : $light ;
737
- background-color : rgba ($light , 0.3 ); // 🆕 consistent visible bg for inactive tabs
745
+ background-color : rgba (
746
+ $light ,
747
+ 0.3
748
+ ); // 🆕 consistent visible bg for inactive tabs
738
749
border : 2px solid rgba ($light , 0.15 );
739
750
border-radius : 0.5rem 0.5rem 0 0 ;
740
751
margin : 2px ;
@@ -762,7 +773,7 @@ a:not([href]):not([class]):hover {
762
773
}
763
774
}
764
775
765
- .nav-link.disabled {
776
+ .nav-link.disabled {
766
777
background : transparent ;
767
778
border : none ;
768
779
color : rgba ($light , 0.5 );
@@ -783,6 +794,11 @@ html {
783
794
scroll-behavior : smooth ;
784
795
}
785
796
786
- h1 , h2 , h3 , h4 , h5 , h6 {
797
+ h1 ,
798
+ h2 ,
799
+ h3 ,
800
+ h4 ,
801
+ h5 ,
802
+ h6 {
787
803
scroll-margin-top : 1rem ;
788
804
}
0 commit comments