Spaces:
Sleeping
Sleeping
| /* General styling */ | |
| body { | |
| font-family: 'Arial', sans-serif; | |
| margin: 0; | |
| padding: 0; | |
| background-color: #121212; | |
| color: #ffffff; | |
| } | |
| h1 { | |
| color: #ffffff; | |
| text-align: center; | |
| margin-top: 20px; | |
| font-size: 2.5em; | |
| padding: 10px; | |
| } | |
| .container { | |
| display: flex; | |
| justify-content: space-between; | |
| padding: 20px; | |
| background-color: #1e1e1e; | |
| margin: 20px auto; | |
| max-width: 1200px; | |
| box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); | |
| border-radius: 8px; | |
| } | |
| .left-container, .right-container { | |
| flex: 1; | |
| margin: 10px; | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: flex-start; | |
| } | |
| form { | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .input-container { | |
| display: flex; | |
| flex-direction: column; | |
| margin-bottom: 20px; | |
| } | |
| .input-container input[type="text"], | |
| .input-container input[type="file"] { | |
| padding: 10px; | |
| margin: 5px 0; | |
| border: 1px solid #ccc; | |
| border-radius: 5px; | |
| box-sizing: border-box; | |
| background-color: #2e2e2e; | |
| color: #ffffff; | |
| } | |
| .input-container input[type="submit"], | |
| .input-container button { | |
| background-color: #007bff; | |
| color: #fff; | |
| border: none; | |
| padding: 10px 20px; | |
| cursor: pointer; | |
| border-radius: 5px; | |
| transition: background-color 0.3s ease; | |
| margin-top: 10px; | |
| } | |
| .input-container input[type="submit"]:hover, | |
| .input-container button:hover { | |
| background-color: #0056b3; | |
| } | |
| #processing { | |
| display: none; | |
| color: #007bff; | |
| font-size: 1.2em; | |
| margin-top: 20px; | |
| } | |
| /* Summary and Transcription */ | |
| .response-box { | |
| padding: 20px; | |
| background-color: #2e2e2e; | |
| border-radius: 8px; | |
| margin-top: 20px; | |
| box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); | |
| overflow-wrap: break-word; | |
| } | |
| .response-box h2 { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| margin-top: 0; | |
| font-size: 1.5em; | |
| color: #ffffff; | |
| } | |
| .response-box p { | |
| margin: 10px 0 0; | |
| font-size: 1em; | |
| color: #b0b0b0; | |
| } | |
| #summary, #transcription { | |
| margin-top: 10px; | |
| } | |
| .copy-btn { | |
| background-color: #007bff; | |
| color: #fff; | |
| border: none; | |
| padding: 5px 10px; | |
| cursor: pointer; | |
| border-radius: 5px; | |
| font-size: 0.7em; | |
| transition: background-color 0.3s ease; | |
| } | |
| .copy-btn:hover { | |
| background-color: #0056b3; | |
| } | |
| /* Responsive styling */ | |
| @media (max-width: 768px) { | |
| .container { | |
| flex-direction: column; | |
| align-items: center; | |
| } | |
| .left-container, .right-container { | |
| width: 100%; | |
| } | |
| } | |
| @media (max-width: 480px) { | |
| h1 { | |
| font-size: 2em; | |
| } | |
| .input-container input[type="text"], | |
| .input-container input[type="file"], | |
| .input-container input[type="submit"], | |
| .input-container button { | |
| width: 100%; | |
| margin: 5px 0; | |
| } | |
| } | |