Spaces:
Running
Running
Download style.css from JamesJ1995/cryptovision-tracker: direct link, hf CLI and curl.
- Browser
- Download file 1.57 kB
-
https://huggingface.co/spaces/JamesJ1995/cryptovision-tracker/resolve/main/style.css
- Command line
-
hf download hf://spaces/JamesJ1995/cryptovision-tracker/style.css
-
curl -L -o style.css https://huggingface.co/spaces/JamesJ1995/cryptovision-tracker/resolve/main/style.css
1.57 kB
| /* Custom styles */ | |
| @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; | |
| } | |
| /* Recommendation colors */ | |
| .buy-recommendation { | |
| color: #10B981; | |
| } | |
| .sell-recommendation { | |
| color: #EF4444; | |
| } | |
| .hold-recommendation { | |
| color: #F59E0B; | |
| } | |
| #vanta-bg { | |
| opacity: 0.3; | |
| } | |
| /* Chart tooltip customization */ | |
| .chartjs-tooltip { | |
| background-color: rgba(31, 41, 55, 0.9) ; | |
| border-radius: 0.5rem ; | |
| padding: 0.5rem 1rem ; | |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) ; | |
| } | |
| .chartjs-tooltip-key { | |
| display: inline-block; | |
| width: 10px; | |
| height: 10px; | |
| margin-right: 5px; | |
| } | |
| /* Animation for price changes */ | |
| @keyframes pulseGreen { | |
| 0% { background-color: rgba(16, 185, 129, 0); } | |
| 50% { background-color: rgba(16, 185, 129, 0.2); } | |
| 100% { background-color: rgba(16, 185, 129, 0); } | |
| } | |
| @keyframes pulseRed { | |
| 0% { background-color: rgba(239, 68, 68, 0); } | |
| 50% { background-color: rgba(239, 68, 68, 0.2); } | |
| 100% { background-color: rgba(239, 68, 68, 0); } | |
| } | |
| .price-up { | |
| animation: pulseGreen 1s ease-in-out; | |
| } | |
| .price-down { | |
| animation: pulseRed 1s ease-in-out; | |
| } | |
| /* News card hover effect */ | |
| .news-card { | |
| transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; | |
| } | |
| .news-card:hover { | |
| transform: translateY(-4px); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| } |