Spaces:
Running
Running
| body { | |
| padding: 2rem; | |
| font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif; | |
| } | |
| h1 { | |
| font-size: 16px; | |
| margin-top: 0; | |
| } | |
| p { | |
| color: rgb(107, 114, 128); | |
| font-size: 15px; | |
| margin-bottom: 10px; | |
| margin-top: 5px; | |
| } | |
| .card { | |
| max-width: 620px; | |
| margin: 0 auto; | |
| padding: 16px; | |
| border: 1px solid lightgray; | |
| border-radius: 16px; | |
| } | |
| .card p:last-child { | |
| margin-bottom: 0; | |
| } | |
| .card pre { | |
| background: #f0ebe3; | |
| border-radius: 6px; | |
| padding: 0.6rem 0.9rem; | |
| font-size: 0.82rem; | |
| overflow-x: auto; | |
| margin: 0.5rem 0 0.75rem; | |
| } | |
| /* === Audio Player === */ | |
| .audio-card { | |
| position: relative; | |
| background: #faf6f0; | |
| border: 1.5px solid #e0d5c5; | |
| border-radius: 8px; | |
| padding: 1rem 1.25rem; | |
| max-width: 620px; /* add */ | |
| margin: 0 auto 1rem; /* replaces margin-bottom: 1rem */ | |
| } | |
| .audio-card-label { | |
| font-size: 0.8rem; | |
| color: #8a7e6e; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| margin-bottom: 0.2rem; | |
| } | |
| .audio-card-title { | |
| font-size: 0.95rem; | |
| font-weight: 600; | |
| color: #343a40; | |
| margin-bottom: 0.75rem; | |
| } | |
| .audio-card audio { | |
| width: 100%; | |
| display: block; | |
| } | |
| /* === Interactive Transcript === */ | |
| .transcript-card { | |
| background: #faf6f0; | |
| border: 1.5px solid #e0d5c5; | |
| border-radius: 8px; | |
| padding: 1rem 1.5rem; | |
| max-width: 620px; /* add */ | |
| margin: 0 auto 1.5rem; /* replaces margin-bottom: 1.5rem */ | |
| } | |
| .transcript-container { | |
| max-height: 600px; | |
| overflow-y: auto; | |
| line-height: 1.8; | |
| } | |
| .transcript-container .chunk { | |
| margin-bottom: 1rem; | |
| } | |
| .transcript-container .alignment { | |
| cursor: pointer; | |
| border-radius: 4px; | |
| padding: 2px 0; | |
| transition: background-color 0.15s ease; | |
| } | |
| .transcript-container .alignment:hover { | |
| background-color: rgba(39, 128, 227, 0.10); | |
| } | |
| .transcript-container .word { | |
| transition: background-color 0.15s ease, color 0.15s ease; | |
| border-radius: 2px; | |
| padding: 1px 0; | |
| } | |
| .highlight-sentence { | |
| background-color: rgba(39, 128, 227, 0.12); | |
| } | |
| .highlight-word { | |
| background-color: rgba(39, 128, 227, 0.35); | |
| } | |