cosmic-explorer / style.css
zaixx's picture
get real planets position ,time laps s,h,DD,MM,YY
3f7abee verified
/* Custom styles beyond Tailwind */
.orbitron {
font-family: 'Orbitron', monospace;
}
.glass-effect {
background: rgba(15, 23, 42, 0.7);
backdrop-filter: blur(10px);
border: 1px solid rgba(147, 51, 234, 0.3);
}
.planet-glow {
filter: drop-shadow(0 0 10px currentColor);
}
/* Scrollbar styling */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: rgba(15, 23, 42, 0.3);
}
::-webkit-scrollbar-thumb {
background: linear-gradient(135deg, #9333ea, #ec4899);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: linear-gradient(135deg, #a855f7, #f472b6);
}
#locationDisplay, #timeDisplay {
cursor: pointer;
transition: opacity 0.3s ease;
}
#locationDisplay:hover, #timeDisplay:hover {
opacity: 0.8;
}
.time-controls {
display: flex;
gap: 8px;
align-items: center;
}
.time-unit {
padding: 4px 8px;
background: rgba(147, 51, 234, 0.2);
border-radius: 4px;
font-size: 12px;
cursor: pointer;
transition: all 0.3s ease;
}
.time-unit:hover {
background: rgba(147, 51, 234, 0.4);
transform: scale(1.05);
}
.time-unit.active {
background: rgba(147, 51, 234, 0.6);
}