vclone / style.css
Rashidkareem's picture
Create style.css
9b51089 verified
/* Container */
.gradio-container {
max-width: 900px !important;
margin: 0 auto !important;
font-family: "Inter", "Segoe UI", sans-serif !important;
background: #0f172a;
color: #f1f5f9;
padding: 20px;
border-radius: 20px;
}
/* Headings */
h1, h2, h3, .gr-markdown {
color: #e2e8f0 !important;
text-align: center !important;
}
/* Card blocks */
#wrap, #ref, #lang, #txt, #spd, #split, #out_audio, #dl {
background: rgba(255, 255, 255, 0.05) !important;
border: 1px solid rgba(255,255,255,0.15) !important;
border-radius: 16px !important;
padding: 16px !important;
backdrop-filter: blur(12px);
box-shadow: 0 4px 16px rgba(0,0,0,0.25);
margin-bottom: 16px;
}
/* Special highlight cards */
#ref, #out_audio {
background: rgba(30, 58, 138, 0.4) !important;
}
#dl {
background: rgba(22, 163, 74, 0.3) !important;
}
/* Inputs */
textarea, select, input, .gr-text-input, .gr-textbox {
background: #1e293b !important;
border: 1px solid #334155 !important;
color: #f1f5f9 !important;
border-radius: 10px !important;
}
/* Slider */
input[type="range"] {
accent-color: #38bdf8 !important;
}
/* Button styles */
#gen button {
background: linear-gradient(90deg, #10b981, #06b6d4) !important;
border: none !important;
color: #fff !important;
font-weight: 600 !important;
padding: 12px 20px !important;
border-radius: 12px !important;
transition: all 0.25s ease;
font-size: 16px !important;
}
#gen button:hover {
transform: translateY(-1px) scale(1.02);
box-shadow: 0 6px 18px rgba(16,185,129,0.35);
}
/* Download button */
#dl button {
background: #3b82f6 !important;
color: white !important;
border-radius: 12px !important;
font-weight: 600 !important;
}
#dl button:hover {
background: #2563eb !important;
}
/* Audio player */
audio {
width: 100% !important;
border-radius: 10px;
background: #1e293b !important;
padding: 6px;
}
/* Hide HF/Gradio branding */
footer, .footer, #footer,
a[href*="gradio.live"], a[href*="gradio.app"], a[href*="/api"], a[href*="hf.space"],
button[aria-label="Settings"],
[data-testid="block-analytics"], [data-testid="embed-info"] {
display: none !important;
}