gnosticdev's picture
Create styles.css
8afe91f verified
/* Estilo global para el cuerpo */
body {
font-family: 'Inter', sans-serif;
background-color: #f9fafb;
color: #1f2937;
margin: 0;
padding: 0;
}
/* Encabezado del título */
h1 {
font-size: 2rem;
font-weight: 700;
color: #1e40af;
text-align: center;
margin-bottom: 1rem;
}
/* Descripción debajo del título */
p {
font-size: 1rem;
color: #4b5563;
text-align: center;
margin-bottom: 2rem;
}
/* Contenedor principal */
.gradio-container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
background: #ffffff;
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Inputs y controles */
input, textarea, select, button {
font-family: 'Inter', sans-serif;
font-size: 1rem;
border: 1px solid #d1d5db;
border-radius: 8px;
padding: 0.75rem 1rem;
transition: all 0.2s ease-in-out;
background-color: #f9fafb;
color: #1f2937;
}
input:focus, textarea:focus, select:focus {
border-color: #3b82f6;
outline: none;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
/* Botones */
button {
background-color: #3b82f6;
color: #ffffff;
cursor: pointer;
font-weight: 600;
}
button:hover {
background-color: #2563eb;
}
button:disabled {
background-color: #9ca3af;
cursor: not-allowed;
}
/* Sliders */
input[type="range"] {
width: 100%;
height: 10px;
background: #e5e7eb;
border-radius: 5px;
outline: none;
-webkit-appearance: none;
appearance: none;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 20px;
height: 20px;
background: #3b82f6;
border-radius: 50%;
cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
width: 20px;
height: 20px;
background: #3b82f6;
border-radius: 50%;
cursor: pointer;
}
/* Salidas (Audio y Video) */
audio, video {
width: 100%;
margin-top: 1rem;
border-radius: 8px;
overflow: hidden;
}
/* Mensajes de advertencia */
.warning {
background-color: #fef2f2;
color: #b91c1c;
padding: 1rem;
border-radius: 8px;
margin-top: 1rem;
font-size: 0.9rem;
}
/* Espaciado entre elementos */
.gradio-container > div {
margin-bottom: 1.5rem;
}
/* Pie de página */
footer {
text-align: center;
font-size: 0.875rem;
color: #6b7280;
margin-top: 2rem;
}