Download style.css from FaZeranajit/tertiary-tales-explorer-interactive-data-visualization: direct link, hf CLI and curl.
- Browser
- Download file 3.11 kB
-
https://huggingface.co/spaces/FaZeranajit/tertiary-tales-explorer-interactive-data-visualization/resolve/main/style.css
- Command line
-
hf download hf://spaces/FaZeranajit/tertiary-tales-explorer-interactive-data-visualization/style.css
-
curl -L -o style.css https://huggingface.co/spaces/FaZeranajit/tertiary-tales-explorer-interactive-data-visualization/resolve/main/style.css
3.11 kB
| @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; | |
| } |