Spaces:
Running

cryptovoid-terminal / style.css
it4ma's picture
add crypto stocks too
fec56b0 verified
Raw History Blame Contribute Delete
4.2 kB
/* CryptoVoid Terminal - Global Styles */
:root {
--void-900: #050505;
--void-800: #0a0a0a;
--void-700: #111111;
--void-600: #1a1a1a;
--void-500: #222222;
--void-400: #333333;
--void-300: #555555;
--void-200: #888888;
--void-100: #aaaaaa;
--void-50: #cccccc;
--accent-cyan: #00f0ff;
--accent-magenta: #ff00a0;
--accent-lime: #39ff14;
--accent-amber: #ffaa00;
}
* {
scrollbar-width: thin;
scrollbar-color: var(--void-500) var(--void-900);
}
*::-webkit-scrollbar {
width: 6px;
height: 6px;
}
*::-webkit-scrollbar-track {
background: var(--void-900);
}
*::-webkit-scrollbar-thumb {
background: var(--void-500);
border-radius: 3px;
}
*::-webkit-scrollbar-thumb:hover {
background: var(--void-400);
}
::selection {
background: var(--accent-cyan);
color: var(--void-900);
}
body {
background-color: var(--void-900);
color: var(--void-100);
}
/* CRT Effect Overlay */
.crt-overlay {
background: linear-gradient(
rgba(18, 16, 16, 0) 50%,
rgba(0, 0, 0, 0.25) 50%
);
background-size: 100% 4px;
pointer-events: none;
}
/* Glow Effects */
.glow-cyan {
box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}
.glow-magenta {
box-shadow: 0 0 10px rgba(255, 0, 160, 0.3);
}
.glow-lime {
box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}
/* Price Animations */
@keyframes price-up {
0% { color: var(--accent-lime); text-shadow: 0 0 10px var(--accent-lime); }
100% { color: inherit; text-shadow: none; }
}
@keyframes price-down {
0% { color: var(--accent-magenta); text-shadow: 0 0 10px var(--accent-magenta); }
100% { color: inherit; text-shadow: none; }
}
.price-flash-up {
animation: price-up 1s ease-out;
}
.price-flash-down {
animation: price-down 1s ease-out;
}
/* Ticker Animation */
@keyframes ticker {
0% { transform: translateX(0); }
100% { transform: translateX(-50%); }
}
.ticker-wrap {
overflow: hidden;
}
.ticker-content {
display: flex;
animation: ticker 30s linear infinite;
}
.ticker-content:hover {
animation-play-state: paused;
}
/* Card Hover Effects */
.void-card {
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.void-card::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 2px;
background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
transition: left 0.5s ease;
}
.void-card:hover::before {
left: 100%;
}
.void-card:hover {
transform: translateY(-2px);
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
/* Gradient Text */
.gradient-text {
background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Status Indicators */
.status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
position: relative;
}
.status-dot::after {
content: '';
position: absolute;
inset: -4px;
border-radius: 50%;
animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 currentColor; }
100% { transform: scale(2); opacity: 0; box-shadow: 0 0 0 10px transparent; }
}
/* Chart Bars */
.chart-bar {
transition: all 0.3s ease;
}
.chart-bar:hover {
opacity: 0.8;
}
/* Loading Skeleton */
.skeleton {
background: linear-gradient(90deg, var(--void-700) 25%, var(--void-600) 50%, var(--void-700) 75%);
background-size: 200% 100%;
animation: skeleton-loading 1.5s ease-in-out infinite;
}
@keyframes skeleton-loading {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}
/* Terminal Cursor */
.terminal-cursor::after {
content: '_';
animation: blink 1s step-end infinite;
color: var(--accent-cyan);
}
@keyframes blink {
50% { opacity: 0; }
}
/* Responsive Utilities */
@media (max-width: 1024px) {
.sidebar-collapsed {
transform: translateX(-100%);
}
}
/* Print Styles */
@media print {
.no-print {
display: none !important;
}
}