Spaces:
Sleeping
Sleeping
Download static/css/landing.css from Presight-AI/app: direct link, hf CLI and curl.
- Browser
- Download file 10.9 kB
-
https://huggingface.co/spaces/Presight-AI/app/resolve/main/static/css/landing.css
- Command line
-
hf download hf://spaces/Presight-AI/app/static/css/landing.css
-
curl -L -o landing.css https://huggingface.co/spaces/Presight-AI/app/resolve/main/static/css/landing.css
10.9 kB
| /* Dark 3D Grid Landing Page Design */ | |
| :root { | |
| --bg-dark: #0a0a0a; | |
| --grid-line: rgba(255, 255, 255, 0.05); | |
| --primary-glow: #10a37f; | |
| --text-primary: #ffffff; | |
| --text-secondary: #a1a1aa; | |
| --card-bg: rgba(255, 255, 255, 0.03); | |
| --card-border: rgba(255, 255, 255, 0.1); | |
| } | |
| * { | |
| box-sizing: border-box; | |
| } | |
| html { | |
| overflow-x: hidden; | |
| width: 100%; | |
| } | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| margin: 0; | |
| padding: 0; | |
| height: 100vh; | |
| width: 100%; | |
| background-color: var(--bg-dark); | |
| color: var(--text-primary); | |
| display: flex; | |
| flex-direction: column; | |
| overflow: hidden; | |
| /* 3D Grid Background */ | |
| background-image: | |
| linear-gradient(var(--grid-line) 1px, transparent 1px), | |
| linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); | |
| background-size: 50px 50px; | |
| background-position: center top; | |
| perspective: 1000px; | |
| } | |
| /* Vignette Effect */ | |
| body::after { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 80%); | |
| pointer-events: none; | |
| z-index: -1; | |
| } | |
| /* Header */ | |
| header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: 1.5rem 2rem; | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| width: 100%; | |
| box-sizing: border-box; | |
| z-index: 10; | |
| } | |
| .logo { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| font-weight: 700; | |
| font-size: 1.25rem; | |
| color: var(--text-primary); | |
| text-decoration: none; | |
| } | |
| .logo i { | |
| color: var(--primary-glow); | |
| text-shadow: 0 0 10px rgba(16, 163, 127, 0.5); | |
| } | |
| .nav-links { | |
| display: flex; | |
| gap: 1rem; | |
| } | |
| .btn { | |
| padding: 0.6rem 1.2rem; | |
| border-radius: 8px; | |
| font-weight: 500; | |
| text-decoration: none; | |
| transition: all 0.2s; | |
| font-size: 0.9rem; | |
| cursor: pointer; | |
| } | |
| .btn-ghost { | |
| color: var(--text-secondary); | |
| background: transparent; | |
| border: none; | |
| } | |
| .btn-ghost:hover { | |
| color: var(--text-primary); | |
| background: rgba(255, 255, 255, 0.05); | |
| } | |
| .btn-primary { | |
| background: var(--primary-glow); | |
| color: white; | |
| border: none; | |
| box-shadow: 0 0 15px rgba(16, 163, 127, 0.3); | |
| } | |
| .btn-primary:hover { | |
| background: #0d8a6a; | |
| transform: translateY(-1px); | |
| box-shadow: 0 0 20px rgba(16, 163, 127, 0.5); | |
| } | |
| /* Main Content */ | |
| main { | |
| flex: 1; | |
| width: 100%; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| text-align: center; | |
| padding: 2rem; | |
| position: relative; | |
| z-index: 1; | |
| } | |
| h1 { | |
| font-size: 4rem; | |
| font-weight: 800; | |
| line-height: 1.1; | |
| margin-bottom: 1.5rem; | |
| max-width: 900px; | |
| letter-spacing: -0.02em; | |
| background: linear-gradient(to bottom right, #ffffff, #a1a1aa); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| text-shadow: 0 0 30px rgba(255, 255, 255, 0.1); | |
| text-wrap: balance; | |
| } | |
| .brand-highlight { | |
| color: var(--primary-glow); | |
| white-space: nowrap; | |
| -webkit-text-fill-color: var(--primary-glow); | |
| } | |
| .subtitle { | |
| font-size: 1.25rem; | |
| color: var(--text-secondary); | |
| max-width: 600px; | |
| margin-bottom: 3rem; | |
| line-height: 1.6; | |
| } | |
| /* Glassmorphism Upload Trigger */ | |
| /* Glassmorphism Upload Trigger */ | |
| .upload-trigger { | |
| background: #1e1e1e; | |
| border: 1px solid var(--card-border); | |
| border-radius: 24px; | |
| padding: 1.5rem; | |
| width: 100%; | |
| max-width: 700px; | |
| min-height: 140px; | |
| box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); | |
| cursor: pointer; | |
| transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: space-between; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .upload-trigger:hover { | |
| border-color: var(--primary-glow); | |
| box-shadow: 0 20px 50px rgba(16, 163, 127, 0.15); | |
| background: #252525; | |
| } | |
| .upload-text { | |
| text-align: left; | |
| color: var(--text-secondary); | |
| font-size: 1.1rem; | |
| font-weight: 400; | |
| margin-bottom: 1rem; | |
| } | |
| .upload-footer { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| width: 100%; | |
| } | |
| .upload-tools-left, | |
| .upload-tools-right { | |
| display: flex; | |
| gap: 0.8rem; | |
| align-items: center; | |
| } | |
| .action-icon { | |
| width: 40px; | |
| height: 40px; | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| color: var(--text-secondary); | |
| background: rgba(255, 255, 255, 0.05); | |
| transition: all 0.2s; | |
| font-size: 1rem; | |
| } | |
| .action-icon:hover { | |
| background: rgba(255, 255, 255, 0.1); | |
| color: var(--text-primary); | |
| } | |
| .send-btn { | |
| background: var(--primary-glow); | |
| color: white; | |
| } | |
| .send-btn:hover { | |
| background: #0d8a6a; | |
| transform: scale(1.05); | |
| } | |
| /* Modal (Dark Theme) */ | |
| .modal-overlay { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background: rgba(0, 0, 0, 0.6); | |
| backdrop-filter: blur(8px); | |
| z-index: 1000; | |
| display: none; | |
| align-items: center; | |
| justify-content: center; | |
| opacity: 0; | |
| transition: opacity 0.3s ease; | |
| } | |
| .modal-overlay.active { | |
| display: flex; | |
| opacity: 1; | |
| } | |
| .modal-card { | |
| background: #121212; | |
| border: 1px solid var(--card-border); | |
| border-radius: 16px; | |
| padding: 2.5rem; | |
| width: 100%; | |
| max-width: 400px; | |
| text-align: left; | |
| box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5); | |
| transform: scale(0.95); | |
| transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); | |
| position: relative; | |
| color: var(--text-primary); | |
| } | |
| .modal-overlay.active .modal-card { | |
| transform: scale(1); | |
| } | |
| .close-btn { | |
| position: absolute; | |
| top: 1rem; | |
| right: 1rem; | |
| background: transparent; | |
| border: none; | |
| font-size: 1.2rem; | |
| color: var(--text-secondary); | |
| cursor: pointer; | |
| padding: 0.5rem; | |
| border-radius: 50%; | |
| transition: background 0.2s; | |
| } | |
| .close-btn:hover { | |
| background: rgba(255, 255, 255, 0.1); | |
| color: var(--text-primary); | |
| } | |
| .modal-brand-icon { | |
| font-size: 2rem; | |
| margin-bottom: 1rem; | |
| background: linear-gradient(135deg, #10a37f 0%, #4fffa7 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| display: inline-block; | |
| } | |
| .modal-title { | |
| font-size: 1.75rem; | |
| font-weight: 700; | |
| margin-bottom: 0.5rem; | |
| color: var(--text-primary); | |
| } | |
| .modal-subtitle { | |
| color: var(--text-secondary); | |
| margin-bottom: 1.5rem; | |
| font-size: 1.1rem; | |
| } | |
| .auth-btn-stack { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 0.8rem; | |
| } | |
| .social-btn { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 0.75rem; | |
| width: 100%; | |
| padding: 0.8rem; | |
| border: 1px solid var(--card-border); | |
| border-radius: 8px; | |
| background: rgba(255, 255, 255, 0.05); | |
| color: var(--text-primary); | |
| font-weight: 500; | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| font-size: 0.95rem; | |
| text-decoration: none; | |
| position: relative; | |
| } | |
| .social-btn:hover { | |
| background: rgba(255, 255, 255, 0.1); | |
| border-color: rgba(255, 255, 255, 0.2); | |
| } | |
| .divider { | |
| margin: 1.5rem 0; | |
| display: flex; | |
| align-items: center; | |
| color: var(--text-secondary); | |
| font-size: 0.75rem; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| } | |
| .divider::before, | |
| .divider::after { | |
| content: ""; | |
| flex: 1; | |
| border-bottom: 1px solid var(--card-border); | |
| } | |
| .divider::before { | |
| margin-right: 1rem; | |
| } | |
| .divider::after { | |
| margin-left: 1rem; | |
| } | |
| .email-btn { | |
| background: var(--primary-glow); | |
| color: white; | |
| border: none; | |
| } | |
| .email-btn:hover { | |
| background: #0d8a6a; | |
| } | |
| .form-input { | |
| width: 100%; | |
| padding: 0.8rem; | |
| background: rgba(0, 0, 0, 0.2); | |
| border: 1px solid var(--card-border); | |
| border-radius: 8px; | |
| font-size: 1rem; | |
| color: white; | |
| box-sizing: border-box; | |
| } | |
| .form-input:focus { | |
| outline: none; | |
| border-color: var(--primary-glow); | |
| box-shadow: 0 0 0 2px rgba(16, 163, 127, 0.2); | |
| } | |
| .toggle-auth-mode { | |
| margin-top: 1rem; | |
| font-size: 0.9rem; | |
| text-align: center; | |
| color: var(--text-secondary); | |
| } | |
| .toggle-auth-mode a { | |
| color: var(--primary-glow); | |
| text-decoration: none; | |
| font-weight: 600; | |
| cursor: pointer; | |
| } | |
| /* Floating Shapes (Subtle Glows) */ | |
| .floating-shape { | |
| position: absolute; | |
| border-radius: 50%; | |
| filter: blur(100px); | |
| z-index: -1; | |
| opacity: 0.4; | |
| } | |
| .shape-1 { | |
| top: -20%; | |
| left: -10%; | |
| width: 600px; | |
| height: 600px; | |
| background: rgba(16, 163, 127, 0.2); | |
| } | |
| .shape-2 { | |
| bottom: -20%; | |
| right: -10%; | |
| width: 700px; | |
| height: 700px; | |
| background: rgba(59, 130, 246, 0.15); | |
| } | |
| /* Toast Notification */ | |
| .error-toast { | |
| position: fixed; | |
| bottom: 24px; | |
| right: 24px; | |
| background-color: #1a1a1a; | |
| color: white; | |
| padding: 16px 20px; | |
| border-radius: 12px; | |
| box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| z-index: 9999; | |
| transform: translateY(100px); | |
| opacity: 0; | |
| transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); | |
| font-weight: 500; | |
| font-size: 0.95rem; | |
| max-width: 400px; | |
| pointer-events: none; | |
| border: 1px solid var(--card-border); | |
| } | |
| .error-toast.show { | |
| transform: translateY(0); | |
| opacity: 1; | |
| pointer-events: auto; | |
| } | |
| .error-icon { | |
| color: #ff4d4f; | |
| font-size: 1.2rem; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| background: rgba(255, 77, 79, 0.1); | |
| width: 32px; | |
| height: 32px; | |
| border-radius: 50%; | |
| flex-shrink: 0; | |
| } | |
| /* Email Form Styles */ | |
| .email-form { | |
| display: none; | |
| flex-direction: column; | |
| gap: 1rem; | |
| width: 100%; | |
| } | |
| .email-form.active { | |
| display: flex; | |
| } | |
| .back-btn { | |
| background: transparent; | |
| border: none; | |
| color: var(--text-secondary); | |
| cursor: pointer; | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| font-size: 0.9rem; | |
| padding: 0; | |
| margin-bottom: 0.5rem; | |
| width: fit-content; | |
| transition: color 0.2s; | |
| } | |
| .back-btn:hover { | |
| color: var(--text-primary); | |
| } | |
| .back-btn i { | |
| font-size: 0.8rem; | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 768px) { | |
| header { | |
| padding: 1rem; | |
| } | |
| h1 { | |
| font-size: 2.5rem; | |
| margin-bottom: 1rem; | |
| padding: 0 1rem; | |
| } | |
| .subtitle { | |
| font-size: 1rem; | |
| margin-bottom: 2rem; | |
| padding: 0 1rem; | |
| } | |
| .upload-trigger { | |
| padding: 1rem; | |
| width: 90%; | |
| gap: 0.8rem; | |
| } | |
| .upload-text { | |
| font-size: 0.9rem; | |
| } | |
| } | |
| @media (max-width: 480px) { | |
| h1 { | |
| font-size: 2rem; | |
| } | |
| .upload-trigger { | |
| flex-direction: column; | |
| text-align: center; | |
| gap: 1rem; | |
| } | |
| .upload-text { | |
| text-align: center; | |
| } | |
| .upload-actions { | |
| width: 100%; | |
| justify-content: center; | |
| } | |
| } |