Spaces:
Running
Running
File size: 1,570 Bytes
2f2e02d 3c09406 9751bf1 3c09406 2f2e02d 3c09406 9751bf1 3c09406 9751bf1 3c09406 9751bf1 3c09406 9751bf1 3c09406 9751bf1 3c09406 | 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 |
/* 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) !important;
border-radius: 0.5rem !important;
padding: 0.5rem 1rem !important;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}
.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);
} |