Skip to content

Commit c6335c1

Browse files
committed
UPDATE edu files
1 parent fab686a commit c6335c1

6 files changed

Lines changed: 845 additions & 28 deletions

File tree

static/css/style.css

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,4 +708,162 @@
708708
#mainNav .navbar-nav {
709709
flex-direction: row !important;
710710
}
711+
}
712+
713+
/* =====================
714+
Lattice Authentication Styles
715+
===================== */
716+
/* Lattice Visualization Container */
717+
#lattice-visualization {
718+
background-color: var(--light);
719+
border-radius: var(--border-radius-lg);
720+
overflow: hidden;
721+
padding: 1rem;
722+
box-shadow: var(--shadow-sm);
723+
transition: all 0.3s ease;
724+
min-height: 400px;
725+
display: flex;
726+
flex-direction: column;
727+
align-items: center;
728+
justify-content: center;
729+
}
730+
731+
#lattice-visualization:hover {
732+
box-shadow: var(--shadow-md);
733+
}
734+
735+
.lattice-explanation {
736+
background-color: rgba(79, 70, 229, 0.05);
737+
border-left: 4px solid var(--lattice-primary);
738+
padding: 0.75rem;
739+
border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
740+
margin: 1rem 0;
741+
}
742+
743+
/* Authentication Protocol Visualization */
744+
#auth-protocol-visualization {
745+
padding: 1rem;
746+
border-radius: var(--border-radius-lg);
747+
background-color: var(--light);
748+
box-shadow: var(--shadow-sm);
749+
}
750+
751+
.auth-status-banner {
752+
position: relative;
753+
overflow: hidden;
754+
}
755+
756+
.auth-status-banner::before {
757+
content: '';
758+
position: absolute;
759+
top: 0;
760+
left: 0;
761+
width: 100%;
762+
height: 100%;
763+
background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
764+
pointer-events: none;
765+
}
766+
767+
.protocol-steps {
768+
counter-reset: step-counter;
769+
}
770+
771+
.protocol-step {
772+
position: relative;
773+
transition: transform 0.2s ease, box-shadow 0.2s ease;
774+
}
775+
776+
.protocol-step:hover {
777+
transform: translateY(-3px);
778+
box-shadow: var(--shadow-md);
779+
}
780+
781+
.protocol-step .card-header {
782+
background-color: rgba(79, 70, 229, 0.05);
783+
}
784+
785+
.step-number {
786+
display: flex;
787+
align-items: center;
788+
justify-content: center;
789+
width: 30px;
790+
height: 30px;
791+
font-weight: bold;
792+
}
793+
794+
.step-details {
795+
display: none;
796+
padding: 0.75rem;
797+
background-color: rgba(79, 70, 229, 0.05);
798+
border-radius: var(--border-radius-sm);
799+
margin-top: 0.5rem;
800+
}
801+
802+
.protocol-step:hover .step-details {
803+
display: block;
804+
animation: fadeIn 0.3s ease-in-out;
805+
}
806+
807+
@keyframes fadeIn {
808+
from { opacity: 0; transform: translateY(-10px); }
809+
to { opacity: 1; transform: translateY(0); }
810+
}
811+
812+
.crypto-comparison .card {
813+
transition: transform 0.2s ease, box-shadow 0.2s ease;
814+
}
815+
816+
.crypto-comparison .card:hover {
817+
transform: translateY(-3px);
818+
box-shadow: var(--shadow-md);
819+
}
820+
821+
/* Security Strength Visualization */
822+
#security-strength-visualization {
823+
padding: 1rem;
824+
border-radius: var(--border-radius-lg);
825+
background-color: var(--light);
826+
box-shadow: var(--shadow-sm);
827+
}
828+
829+
.security-levels {
830+
width: 100%;
831+
position: relative;
832+
}
833+
834+
.security-explanation {
835+
border-left: 4px solid var(--info);
836+
background-color: rgba(59, 130, 246, 0.1);
837+
}
838+
839+
/* 3D Lattice Point Visualization */
840+
.lattice-3d-container {
841+
width: 100%;
842+
height: 400px;
843+
position: relative;
844+
background-color: #141424;
845+
border-radius: var(--border-radius-lg);
846+
overflow: hidden;
847+
}
848+
849+
.lattice-point {
850+
position: absolute;
851+
width: 8px;
852+
height: 8px;
853+
background-color: var(--lattice-tertiary);
854+
border-radius: 50%;
855+
transform: translate(-50%, -50%);
856+
transition: background-color 0.3s ease;
857+
}
858+
859+
.lattice-point:hover {
860+
background-color: var(--lattice-accent);
861+
box-shadow: 0 0 10px var(--lattice-accent);
862+
}
863+
864+
.lattice-line {
865+
position: absolute;
866+
background-color: rgba(124, 58, 237, 0.3);
867+
transform-origin: 0 0;
868+
pointer-events: none;
711869
}

0 commit comments

Comments
 (0)