mgbam's picture
Update genesis/static/style.css
3703d2e verified
raw
history blame
2.66 kB
/* ---------- GLOBAL THEME ---------- */
body {
background-color: #0a1a0f;
font-family: 'Orbitron', sans-serif;
color: #e0e0e0;
margin: 0;
padding: 0;
overflow-x: hidden;
}
h1, h2, h3 {
font-family: 'Orbitron', sans-serif;
color: #00ff9d;
text-shadow: 0 0 10px rgba(0, 255, 157, 0.6);
}
a {
color: #ff9100;
text-decoration: none;
}
a:hover {
text-shadow: 0 0 8px #ff9100;
}
/* ---------- GRADIO PANEL STYLING ---------- */
.gradio-container {
max-width: 95%;
margin: auto;
padding: 15px;
}
.gr-block {
background: rgba(0, 255, 157, 0.05);
border: 1px solid rgba(0, 255, 157, 0.2);
border-radius: 12px;
box-shadow: 0 0 15px rgba(0, 255, 157, 0.15);
padding: 15px;
margin-bottom: 20px;
transition: all 0.3s ease-in-out;
}
.gr-block:hover {
box-shadow: 0 0 20px rgba(255, 145, 0, 0.4);
transform: scale(1.02);
}
/* ---------- BUTTONS ---------- */
button, .gr-button {
background: linear-gradient(90deg, #00ff9d, #ff9100);
color: #0a1a0f !important;
font-weight: bold;
border-radius: 6px;
padding: 10px 20px;
border: none;
text-transform: uppercase;
box-shadow: 0 0 10px rgba(0, 255, 157, 0.4);
cursor: pointer;
transition: all 0.3s ease;
}
button:hover, .gr-button:hover {
box-shadow: 0 0 15px rgba(255, 145, 0, 0.6);
transform: translateY(-2px);
}
/* ---------- TABS ---------- */
.gradio-tabs {
background: rgba(0, 255, 157, 0.05);
border-radius: 8px;
border: 1px solid rgba(255, 145, 0, 0.4);
box-shadow: 0 0 10px rgba(255, 145, 0, 0.3);
}
/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #0a1a0f;
}
::-webkit-scrollbar-thumb {
background: linear-gradient(#00ff9d, #ff9100);
border-radius: 5px;
}
/* ---------- INPUT FIELDS ---------- */
input, textarea {
background: rgba(0, 255, 157, 0.05);
border: 1px solid rgba(0, 255, 157, 0.2);
border-radius: 8px;
color: #fff;
padding: 8px;
}
input:focus, textarea:focus {
border-color: #ff9100;
outline: none;
box-shadow: 0 0 8px rgba(255, 145, 0, 0.5);
}
/* ---------- GRAPH DISPLAY ---------- */
.graph-container {
background: rgba(0, 255, 157, 0.05);
padding: 10px;
border-radius: 8px;
box-shadow: inset 0 0 15px rgba(0, 255, 157, 0.2);
}
/* ---------- ANIMATION ---------- */
@keyframes pulse {
0% { box-shadow: 0 0 5px rgba(0, 255, 157, 0.4); }
50% { box-shadow: 0 0 20px rgba(255, 145, 0, 0.6); }
100% { box-shadow: 0 0 5px rgba(0, 255, 157, 0.4); }
}
.pulse {
animation: pulse 2s infinite;
}