Spaces:
Running
Running
| /* style.css */ | |
| * { | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| background-color: #f5f7fa; | |
| color: #333; | |
| line-height: 1.6; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| .container { | |
| max-width: 800px; | |
| margin: 2rem auto; | |
| padding: 2rem; | |
| 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: 0.5rem; | |
| } | |
| p { | |
| text-align: center; | |
| color: #7f8c8d; | |
| margin-bottom: 1.5rem; | |
| } | |
| .controls, | |
| .options { | |
| margin-bottom: 1.5rem; | |
| } | |
| label { | |
| display: block; | |
| margin-bottom: 0.5rem; | |
| color: #2c3e50; | |
| font-weight: 500; | |
| } | |
| input[type='file'] { | |
| width: 100%; | |
| padding: 0.75rem; | |
| border: 1px solid #bdc3c7; | |
| border-radius: 8px; | |
| background-color: #fdfefe; | |
| font-size: 1rem; | |
| } | |
| button { | |
| background-color: #3498db; | |
| color: white; | |
| border: none; | |
| padding: 0.75rem 1.25rem; | |
| margin-right: 0.5rem; | |
| border-radius: 8px; | |
| cursor: pointer; | |
| font-size: 1rem; | |
| transition: background-color 0.3s ease; | |
| margin-top: 0.5rem; | |
| } | |
| button:hover:not(:disabled) { | |
| background-color: #2980b9; | |
| } | |
| button:disabled { | |
| background-color: #95a5a6; | |
| cursor: not-allowed; | |
| } | |
| .options { | |
| display: flex; | |
| gap: 1rem; | |
| align-items: center; | |
| flex-wrap: wrap; | |
| } | |
| .audio-player { | |
| margin: 1.5rem 0; | |
| } | |
| audio { | |
| width: 100%; | |
| } | |
| .output { | |
| margin-top: 1.5rem; | |
| padding: 1rem; | |
| border-radius: 8px; | |
| background-color: #f8f9fa; | |
| min-height: 60px; | |
| word-break: break-word; | |
| } | |
| .spinner { | |
| text-align: center; | |
| color: #3498db; | |
| font-style: italic; | |
| } | |
| .error { | |
| color: #e74c3c; | |
| } | |
| ul { | |
| list-style-type: none; | |
| padding-left: 0; | |
| } | |
| li { | |
| background: #ecf0f1; | |
| margin: 0.4rem 0; | |
| padding: 0.6rem; | |
| border-radius: 6px; | |
| border-left: 4px solid #3498db; | |
| } | |
| @media (max-width: 600px) { | |
| .container { | |
| padding: 1.5rem; | |
| margin: 1rem; | |
| } | |
| h1 { | |
| font-size: 1.5rem; | |
| } | |
| button { | |
| width: 100%; | |
| margin-bottom: 0.5rem; | |
| } | |
| .options { | |
| flex-direction: column; | |
| align-items: flex-start; | |
| } | |
| } |