Spaces:
Sleeping
Sleeping
File size: 1,857 Bytes
e17ada1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | .timeline {
position: relative;
max-width: 800px;
margin: 0 auto;
padding-left: 40px;
}
.timeline::before {
content: '';
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 2px;
background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
border-radius: 1px;
}
.timeline-item {
position: relative;
margin-bottom: 48px;
}
.timeline-item:last-child {
margin-bottom: 0;
}
.timeline-item::before {
content: '';
position: absolute;
left: -46px;
top: 8px;
width: 14px;
height: 14px;
border-radius: 50%;
background: var(--accent-gradient);
box-shadow: 0 0 15px var(--glow-primary);
}
.timeline-date {
display: inline-block;
background: var(--accent-gradient);
color: white;
padding: 4px 16px;
border-radius: var(--radius-full);
font-size: 0.85rem;
font-weight: 600;
margin-bottom: 16px;
}
.timeline-card {
background: var(--bg-card);
backdrop-filter: blur(10px);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-md);
padding: 28px;
transition: all var(--transition-base);
}
.timeline-card:hover {
border-color: var(--border-color);
box-shadow: var(--shadow-glow);
transform: translateX(5px);
}
.timeline-card h3 {
font-size: 1.3rem;
font-weight: 700;
color: var(--text-heading);
margin-bottom: 4px;
}
.timeline-card h4 {
font-size: 1rem;
font-weight: 500;
color: var(--accent-primary);
margin-bottom: 16px;
}
.timeline-card ul li {
position: relative;
padding-left: 20px;
color: var(--text-secondary);
margin-bottom: 8px;
font-size: 0.95rem;
}
.timeline-card ul li::before {
content: '▹';
position: absolute;
left: 0;
color: var(--accent-primary);
}
@media (max-width: 768px) {
.timeline { padding-left: 30px; }
.timeline-item::before { left: -36px; width: 12px; height: 12px; }
}
|