@@ -471,41 +471,87 @@ footer {
471
471
472
472
// Home page dark-mode
473
473
@media (prefers-color-scheme : dark ) {
474
- .cid-home main {
475
- background-color : $dark-bg-color-2 ;
476
- color :$dark-text-color-1 ;
477
- }
474
+ body .cid-home {
475
+ main {
476
+ background-color : $dark-bg-color-2 ;
477
+ color :$dark-text-color-1 ;
478
+
479
+ section :not (#video ):not (#cncf ) {
480
+ background-color : $dark-bg-color-1 ;
481
+ color :$dark-text-color-1 ;
482
+ }
478
483
479
- .cid-home main section :not (#video ):not (#cncf ) {
480
- background-color : $dark-bg-color-1 ;
481
- color :$dark-text-color-1 ;
482
- }
484
+ section #video #desktopShowVideoButton {
485
+ background-color : $dark-bg-color-1 ;
486
+ }
483
487
484
- .cid-home .feature-box div {
485
- background-color : $dark-bg-color-2 ;
486
- color :$dark-text-color-1 ;
487
- }
488
+ section #video #desktopShowVideoButton {
489
+ color : $white ;
490
+ background-color : $primary ;
488
491
489
- .cid-home main section :is (#video ) #desktopShowVideoButton {
490
- background-color : $dark-bg-color-1 ;
491
- }
492
+ & :hover {
493
+ color : $primary ;
494
+ background-color : $white ;
495
+ }
492
496
493
- .cid-home main section :is( #video ) #desktopShowVideoButton :hover {
494
- color : $dark-text-color-2 ;
495
- }
497
+ & ::before {
498
+ border- color : transparent transparent transparent $white ;
499
+ }
496
500
497
- .cid-home main section :is(#video ) #desktopKCButton :hover {
498
- background-color : $dark-bg-color-1 ;
499
- }
501
+ & :hover ::before {
502
+ border-color : transparent transparent transparent $primary ;
503
+ }
504
+ }
500
505
501
- .cid-home main section :is(#talkToUs ) img {
502
- filter : invert (100% );
503
- -webkit-filter : invert (100% );
504
- }
506
+ section #video #desktopKCButton :hover {
507
+ background-color : $dark-bg-color-1 ;
508
+ }
509
+
510
+ section #cncf {
511
+ background-color : $dark-bg-color-2 ;
512
+ }
505
513
506
- .cid-home main section :is(#cncf ) {
507
- background-color : $dark-bg-color-2 ;
508
- background-image : url (/ images/cncf-white.png );
514
+ section .features-container .k8s-features-heading {
515
+ color : $white ;
516
+ background-color : $dark-bg-color-1 ;
517
+ }
518
+
519
+ section .features-container > div > .feature-box {
520
+ background-color : $dark-bg-color-2 ;
521
+ color :$dark-text-color-1 ;
522
+
523
+ h3 a , h4 a , h5 a {
524
+ color : $white ;
525
+ background : transparent ;
526
+ }
527
+
528
+ h3 a :hover , h4 a :hover , h5 a :hover {
529
+ text-decoration : underline ;
530
+ }
531
+ }
532
+
533
+ .search-bar {
534
+ background-color : #d3d3d3 ;
535
+ color : #ffffff ;
536
+ > * {
537
+ color : #ffffff ;
538
+ }
539
+ }
540
+
541
+ input .search-input , input .email {
542
+ background-color : #D3D3D3 !important ;
543
+ color : #000 !important ;
544
+ }
545
+
546
+ input .search-input ::placeholder , input .email ::placeholder {
547
+ color : #000 ;
548
+ }
549
+
550
+ #mc_embed_signup_scroll input .email {
551
+ color : #ffffff !important ;
552
+ background-color : #a9a9a9 !important ;
553
+ }
554
+ }
509
555
}
510
556
}
511
557
0 commit comments