Spaces:
Sleeping
Sleeping
Download static/style.css from Skinnyeggs/auto-caption: direct link, hf CLI and curl.
- Browser
- Download file 5.76 kB
-
https://huggingface.co/spaces/Skinnyeggs/auto-caption/resolve/main/static/style.css
- Command line
-
hf download hf://spaces/Skinnyeggs/auto-caption/static/style.css
-
curl -L -o style.css https://huggingface.co/spaces/Skinnyeggs/auto-caption/resolve/main/static/style.css
5.76 kB
| :root { | |
| --primary: #10b981; | |
| --primary-light: #34d399; | |
| --bg-dark: #0f172a; | |
| --card-bg: rgba(255, 255, 255, 0.05); | |
| --text-main: #f8fafc; | |
| --text-dim: #94a3b8; | |
| --gradient: linear-gradient(135deg, #10b981 0%, #3b82f6 100%); | |
| --glass-border: rgba(255, 255, 255, 0.1); | |
| } | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| background-color: var(--bg-dark); | |
| color: var(--text-main); | |
| line-height: 1.6; | |
| overflow-x: hidden; | |
| min-height: 100vh; | |
| } | |
| .background-glow { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background: radial-gradient(circle at 50% -20%, #1e3a8a 0%, transparent 50%), | |
| radial-gradient(circle at 0% 100%, #111827 0%, transparent 40%); | |
| z-index: -1; | |
| } | |
| nav { | |
| padding: 2rem 10%; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| .logo { | |
| font-size: 1.8rem; | |
| font-weight: 800; | |
| letter-spacing: -1px; | |
| } | |
| .logo span { | |
| color: var(--primary); | |
| } | |
| .nav-links a { | |
| color: var(--text-dim); | |
| text-decoration: none; | |
| margin-left: 2rem; | |
| font-weight: 500; | |
| transition: color 0.3s; | |
| } | |
| .nav-links a.active, | |
| .nav-links a:hover { | |
| color: var(--primary); | |
| } | |
| main { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 4rem 2rem; | |
| text-align: center; | |
| } | |
| .hero h1 { | |
| font-size: 3.5rem; | |
| font-weight: 800; | |
| margin-bottom: 1.5rem; | |
| letter-spacing: -2px; | |
| } | |
| .gradient-text { | |
| background: var(--gradient); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| .hero p { | |
| font-size: 1.25rem; | |
| color: var(--text-dim); | |
| max-width: 700px; | |
| margin: 0 auto 3rem; | |
| } | |
| .upload-container { | |
| max-width: 600px; | |
| margin: 0 auto; | |
| } | |
| .glass-card { | |
| background: var(--card-bg); | |
| backdrop-filter: blur(12px); | |
| -webkit-backdrop-filter: blur(12px); | |
| border: 1px solid var(--glass-border); | |
| border-radius: 24px; | |
| padding: 3rem; | |
| transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; | |
| } | |
| #drop-zone { | |
| cursor: pointer; | |
| border: 2px dashed var(--glass-border); | |
| } | |
| #drop-zone:hover, | |
| #drop-zone.drag-over { | |
| border-color: var(--primary); | |
| background: rgba(16, 185, 129, 0.05); | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); | |
| } | |
| .upload-icon { | |
| width: 64px; | |
| height: 64px; | |
| margin: 0 auto 1.5rem; | |
| color: var(--primary); | |
| } | |
| .upload-icon svg { | |
| width: 100%; | |
| height: 100%; | |
| } | |
| h3 { | |
| font-size: 1.5rem; | |
| margin-bottom: 0.5rem; | |
| } | |
| #drop-zone p { | |
| color: var(--text-dim); | |
| } | |
| .hidden { | |
| display: none ; | |
| } | |
| /* Processing Styles */ | |
| .spinner { | |
| width: 50px; | |
| height: 50px; | |
| border: 4px solid rgba(255, 255, 255, 0.1); | |
| border-top: 4px solid var(--primary); | |
| border-radius: 50%; | |
| margin: 0 auto 1.5rem; | |
| animation: spin 1s linear infinite; | |
| } | |
| @keyframes spin { | |
| 0% { | |
| transform: rotate(0deg); | |
| } | |
| 100% { | |
| transform: rotate(360deg); | |
| } | |
| } | |
| .progress-bar-container { | |
| width: 100%; | |
| height: 8px; | |
| background: rgba(255, 255, 255, 0.1); | |
| border-radius: 4px; | |
| margin-top: 2rem; | |
| overflow: hidden; | |
| } | |
| .progress-bar { | |
| width: 0%; | |
| height: 100%; | |
| background: var(--gradient); | |
| transition: width 0.3s ease; | |
| } | |
| /* Result Styles */ | |
| .success-icon { | |
| width: 64px; | |
| height: 64px; | |
| background: rgba(16, 185, 129, 0.2); | |
| color: var(--primary); | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| margin: 0 auto 1.5rem; | |
| } | |
| .success-icon svg { | |
| width: 32px; | |
| height: 32px; | |
| } | |
| .action-buttons { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 1rem; | |
| margin-top: 2rem; | |
| } | |
| .btn { | |
| padding: 1rem 2rem; | |
| border-radius: 12px; | |
| font-size: 1rem; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: all 0.3s; | |
| border: none; | |
| } | |
| .btn.primary { | |
| background: var(--gradient); | |
| color: white; | |
| } | |
| .btn.primary:hover { | |
| transform: scale(1.02); | |
| box-shadow: 0 5px 20px rgba(16, 185, 129, 0.4); | |
| } | |
| .btn.secondary { | |
| background: rgba(255, 255, 255, 0.1); | |
| color: white; | |
| } | |
| .btn.secondary:hover { | |
| background: rgba(255, 255, 255, 0.2); | |
| } | |
| .btn.outline { | |
| background: transparent; | |
| border: 1px solid var(--glass-border); | |
| color: var(--text-dim); | |
| } | |
| .btn.outline:hover { | |
| border-color: var(--text-main); | |
| color: var(--text-main); | |
| } | |
| /* Transcript Preview */ | |
| #transcript-preview { | |
| margin-top: 2rem; | |
| text-align: left; | |
| max-width: 800px; | |
| margin-left: auto; | |
| margin-right: auto; | |
| } | |
| .preview-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 1.5rem; | |
| } | |
| #close-preview { | |
| background: none; | |
| border: none; | |
| color: var(--text-dim); | |
| font-size: 2rem; | |
| cursor: pointer; | |
| } | |
| .scrollable { | |
| max-height: 400px; | |
| overflow-y: auto; | |
| padding-right: 1rem; | |
| } | |
| .scrollable::-webkit-scrollbar { | |
| width: 6px; | |
| } | |
| .scrollable::-webkit-scrollbar-track { | |
| background: rgba(255, 255, 255, 0.05); | |
| } | |
| .scrollable::-webkit-scrollbar-thumb { | |
| background: var(--glass-border); | |
| border-radius: 3px; | |
| } | |
| .transcript-line { | |
| display: flex; | |
| gap: 1.5rem; | |
| margin-bottom: 0.8rem; | |
| padding: 0.8rem; | |
| background: rgba(255, 255, 255, 0.02); | |
| border-radius: 8px; | |
| } | |
| .time { | |
| color: var(--primary); | |
| font-family: monospace; | |
| font-weight: 600; | |
| min-width: 80px; | |
| } | |
| footer { | |
| margin-top: auto; | |
| padding: 2rem; | |
| text-align: center; | |
| color: var(--text-dim); | |
| font-size: 0.9rem; | |
| } | |
| @media (max-width: 768px) { | |
| .hero h1 { | |
| font-size: 2.5rem; | |
| } | |
| nav { | |
| padding: 1.5rem 5%; | |
| } | |
| } |