File size: 3,110 Bytes
7a31e27 56cb84d 7a31e27 56cb84d 7a31e27 56cb84d 7a31e27 56cb84d 8954cb6 7a31e27 56cb84d 7a31e27 56cb84d 7a31e27 | 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 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
min-height: 100vh;
display: flex;
flex-direction: column;
}
.activity-card {
@apply bg-white rounded-xl shadow-md p-6 text-center cursor-pointer transition-all hover:shadow-lg;
}
.activity-card:hover {
transform: translateY(-4px);
}
.activity-card i {
@apply w-12 h-12 mx-auto mb-4 p-3 rounded-full bg-indigo-50;
}
.activity-card h3 {
@apply text-lg font-semibold text-gray-800 mb-2;
}
.activity-card p {
@apply text-gray-500 text-sm;
}
#detail-panel {
transition: all 0.3s ease;
}
#detail-panel.show {
display: block;
animation: fadeIn 0.3s;
}
/* Digital Divide Section Styles */
.digital-divide-card {
@apply bg-white rounded-xl shadow-md p-6 mb-6;
}
.digital-divide-card h2 {
@apply text-2xl font-bold text-indigo-700 mb-6;
}
.digital-divide-info {
@apply bg-indigo-50 p-4 rounded-lg mb-4;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
/* Interactive Components */
.interactive-map {
height: 400px;
background: url('http://static.photos/map/1024x576/1') center/cover;
border-radius: 12px;
position: relative;
margin: 2rem 0;
overflow: hidden;
}
.map-hotspot {
position: absolute;
width: 30px;
height: 30px;
background: rgba(79, 70, 229, 0.7);
border-radius: 50%;
border: 2px solid white;
cursor: pointer;
transition: all 0.3s;
}
.map-hotspot:hover {
transform: scale(1.2);
background: rgba(236, 72, 153, 0.7);
}
.timeline {
position: relative;
max-width: 1200px;
margin: 2rem auto;
}
.timeline::after {
content: '';
position: absolute;
width: 6px;
background-color: #6366f1;
top: 0;
bottom: 0;
left: 50%;
margin-left: -3px;
}
.timeline-item {
padding: 10px 40px;
position: relative;
width: 50%;
box-sizing: border-box;
}
.timeline-item::after {
content: '';
position: absolute;
width: 25px;
height: 25px;
right: -12px;
background-color: white;
border: 4px solid #6366f1;
top: 15px;
border-radius: 50%;
z-index: 1;
}
.left {
left: 0;
}
.right {
left: 50%;
}
.timeline-content {
padding: 20px 30px;
background-color: white;
position: relative;
border-radius: 6px;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 768px) {
.timeline::after {
left: 31px;
}
.timeline-item {
width: 100%;
padding-left: 70px;
padding-right: 25px;
}
.timeline-item::after {
left: 18px;
}
.right {
left: 0%;
}
}
.member-card {
@apply bg-indigo-50 rounded-lg p-4 text-center transition-all hover:bg-indigo-100;
}
.member-card img {
@apply w-20 h-20 rounded-full mx-auto mb-3 object-cover;
}
.member-card h3 {
@apply font-medium text-gray-800;
}
.member-card p {
@apply text-sm text-gray-500;
} |