akhaliq's picture
akhaliq HF Staff
Upload style.css with huggingface_hub
6e4c2c6 verified
Raw
History Blame Contribute Delete
2.08 kB
/* style.css */
* {
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f7f9fc;
color: #333;
line-height: 1.6;
margin: 0;
padding: 0;
}
.container {
max-width: 900px;
margin: 2rem auto;
padding: 2rem;
background-color: white;
border-radius: 12px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
color: #2c3e50;
margin-bottom: 1rem;
}
p {
text-align: center;
color: #7f8c8d;
margin-bottom: 2rem;
}
.input-section,
.options-section,
.player-section,
.output-section {
margin-bottom: 1.8rem;
}
label {
display: block;
margin-bottom: 0.6rem;
font-weight: 600;
color: #2c3e50;
}
#audioInput {
width: 100%;
padding: 0.6rem;
border: 1px solid #bdc3c7;
border-radius: 8px;
font-size: 1rem;
}
#useSample {
margin-top: 0.8rem;
padding: 0.6rem 1rem;
background-color: #3498db;
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
font-size: 0.95rem;
transition: background-color 0.2s;
}
#useSample:hover {
background-color: #2980b9;
}
.options {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}
.options label {
font-weight: normal;
display: flex;
align-items: center;
font-size: 0.95rem;
}
.player-section audio {
width: 100%;
}
#status {
margin-bottom: 1rem;
padding: 0.8rem;
background-color: #f1f1f1;
border-radius: 8px;
font-size: 0.95rem;
color: #555;
text-align: center;
}
.output-section h2 {
margin-bottom: 0.8rem;
color: #2c3e50;
font-size: 1.2rem;
}
#output {
background-color: #2c3e50;
color: #ecf0f1;
padding: 1.2rem;
border-radius: 8px;
font-family: 'Courier New', Courier, monospace;
font-size: 0.9rem;
max-height: 400px;
overflow-y: auto;
white-space: pre-wrap;
}
/* Responsive */
@media (max-width: 600px) {
.container {
padding: 1.2rem;
margin: 1rem;
border-radius: 8px;
}
h1 {
font-size: 1.5rem;
}
.options {
flex-direction: column;
gap: 0.5rem;
}
#useSample {
font-size: 0.9rem;
}
}