@@ -519,6 +519,148 @@ p {
519519 font-size : 0.9rem ;
520520}
521521
522+ /* Enhanced Visual Elements for Encryption Modes */
523+ .mode-card {
524+ border : 1px solid var (--color-border );
525+ border-radius : 0.75rem ;
526+ padding : 1.5rem ;
527+ margin-bottom : 2rem ;
528+ background-color : white;
529+ box-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.05 );
530+ transition : transform 0.3s ease, box-shadow 0.3s ease;
531+ }
532+
533+ .mode-card : hover {
534+ transform : translateY (-5px );
535+ box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.1 );
536+ }
537+
538+ .mode-card-header {
539+ display : flex;
540+ align-items : center;
541+ margin-bottom : 1rem ;
542+ padding-bottom : 1rem ;
543+ border-bottom : 1px solid var (--color-border );
544+ }
545+
546+ .mode-card-icon {
547+ width : 48px ;
548+ height : 48px ;
549+ border-radius : 50% ;
550+ display : flex;
551+ align-items : center;
552+ justify-content : center;
553+ margin-right : 1rem ;
554+ flex-shrink : 0 ;
555+ }
556+
557+ .deterministic-icon {
558+ background-color : # 3b82f6 ;
559+ color : white;
560+ }
561+
562+ .nd-icon {
563+ background-color : # 10b981 ;
564+ color : white;
565+ }
566+
567+ .ndx-icon {
568+ background-color : # 8b5cf6 ;
569+ color : white;
570+ }
571+
572+ .mode-card-title {
573+ margin : 0 ;
574+ font-size : 1.25rem ;
575+ font-weight : 600 ;
576+ }
577+
578+ .mode-card-subtitle {
579+ margin : 0.25rem 0 0 0 ;
580+ font-size : 0.875rem ;
581+ color : var (--color-text-light );
582+ }
583+
584+ .feature-list {
585+ display : grid;
586+ grid-template-columns : repeat (auto-fit, minmax (200px , 1fr ));
587+ gap : 1rem ;
588+ margin : 1.5rem 0 ;
589+ }
590+
591+ .feature-item {
592+ display : flex;
593+ align-items : flex-start;
594+ }
595+
596+ .feature-icon {
597+ width : 24px ;
598+ height : 24px ;
599+ border-radius : 50% ;
600+ background-color : # f0f9ff ;
601+ color : # 3b82f6 ;
602+ display : flex;
603+ align-items : center;
604+ justify-content : center;
605+ margin-right : 0.75rem ;
606+ flex-shrink : 0 ;
607+ }
608+
609+ .feature-text {
610+ font-size : 0.875rem ;
611+ }
612+
613+ .mode-comparison {
614+ width : 100% ;
615+ border-collapse : collapse;
616+ margin : 2rem 0 ;
617+ }
618+
619+ .mode-comparison th ,
620+ .mode-comparison td {
621+ padding : 0.75rem 1rem ;
622+ border : 1px solid var (--color-border );
623+ text-align : left;
624+ }
625+
626+ .mode-comparison th {
627+ background-color : # f8fafc ;
628+ font-weight : 600 ;
629+ }
630+
631+ .mode-comparison tr : nth-child (even) {
632+ background-color : # f8fafc ;
633+ }
634+
635+ .mode-comparison .check {
636+ color : # 10b981 ;
637+ }
638+
639+ .mode-comparison .x {
640+ color : # ef4444 ;
641+ }
642+
643+ .mode-diagram {
644+ display : flex;
645+ flex-direction : column;
646+ align-items : center;
647+ margin : 2rem 0 ;
648+ }
649+
650+ .mode-diagram-title {
651+ font-size : 1rem ;
652+ font-weight : 600 ;
653+ margin-bottom : 1rem ;
654+ }
655+
656+ .mode-diagram-image {
657+ max-width : 100% ;
658+ height : auto;
659+ border-radius : 0.5rem ;
660+ box-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.1 );
661+ }
662+ }
663+
522664.max-w-4xl {
523665 max-width : 56rem ;
524666}
0 commit comments