JamesJ1995's picture
Make the full fledged website. Add live price with live realtime changes.
2f2e02d verified
Raw History Blame Contribute Delete
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) !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);
}