akhaliq's picture
akhaliq HF Staff
Upload style.css with huggingface_hub
e9918fb verified
Raw
History Blame Contribute Delete
2.05 kB
/* style.css */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f4f7fa;
color: #333;
line-height: 1.6;
padding: 20px;
}
.container {
max-width: 800px;
margin: 40px auto;
padding: 30px;
background-color: white;
border-radius: 12px;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
color: #2c3e50;
margin-bottom: 16px;
font-size: 1.8rem;
}
p {
text-align: center;
color: #7f8c8d;
margin-bottom: 24px;
font-size: 1.1rem;
}
.input-group {
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: #2c3e50;
}
input[type='text'] {
width: 100%;
padding: 12px;
font-size: 1rem;
border: 1px solid #ddd;
border-radius: 8px;
transition: border 0.3s;
}
input[type='text']:focus {
border-color: #3498db;
outline: none;
box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}
button {
display: block;
width: 100%;
padding: 14px;
font-size: 1rem;
font-weight: 600;
color: white;
background-color: #3498db;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #2980b9;
}
button:disabled {
background-color: #95a5a6;
cursor: not-allowed;
}
.result-area {
margin-top: 20px;
}
.loading,
.error {
padding: 12px;
margin: 12px 0;
border-radius: 8px;
display: none;
font-size: 0.95rem;
}
.loading {
background-color: #f8f9fa;
color: #16a085;
text-align: center;
}
.error {
background-color: #fadbd8;
color: #c0392b;
}
textarea#transcription-result {
width: 100%;
min-height: 150px;
padding: 14px;
font-size: 1rem;
border: 1px solid #ddd;
border-radius: 8px;
background-color: #f8f9fa;
color: #2c3e50;
resize: vertical;
font-family: inherit;
}
@media (max-width: 600px) {
.container {
padding: 20px;
}
h1 {
font-size: 1.5rem;
}
input[type='text'],
button {
font-size: 0.95rem;
}
}