Spaces:
Sleeping
Sleeping
Download static/css/style.css from doshibhavya/Imagify: direct link, hf CLI and curl.
- Browser
- Download file 12.6 kB
-
https://huggingface.co/spaces/doshibhavya/Imagify/resolve/main/static/css/style.css
- Command line
-
hf download hf://spaces/doshibhavya/Imagify/static/css/style.css
-
curl -L -o style.css https://huggingface.co/spaces/doshibhavya/Imagify/resolve/main/static/css/style.css
12.6 kB
| /* Reset and Base Styles */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| :root { | |
| --primary-color: #6366f1; | |
| --primary-dark: #4f46e5; | |
| --secondary-color: #f59e0b; | |
| --accent-color: #10b981; | |
| --text-dark: #1f2937; | |
| --text-light: #6b7280; | |
| --bg-light: #f8fafc; | |
| --bg-white: #ffffff; | |
| --glass-bg: rgba(255, 255, 255, 0.1); | |
| --glass-border: rgba(255, 255, 255, 0.2); | |
| --shadow: 0 10px 25px rgba(0, 0, 0, 0.1); | |
| --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.15); | |
| --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); | |
| } | |
| /* Base */ | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| line-height: 1.6; | |
| color: var(--text-dark); | |
| background: var(--bg-light); | |
| overflow-x: hidden; | |
| } | |
| /* Typography */ | |
| h1, h2, h3, h4, h5, h6 { | |
| font-family: 'Playfair Display', serif; | |
| font-weight: 600; | |
| line-height: 1.2; | |
| } | |
| /* Navigation */ | |
| .navbar { | |
| position: fixed; | |
| top: 0; | |
| width: 100%; | |
| background: rgba(255, 255, 255, 0.95); | |
| backdrop-filter: blur(20px); | |
| border-bottom: 1px solid rgba(255, 255, 255, 0.2); | |
| z-index: 1000; | |
| transition: all 0.3s ease; | |
| } | |
| .nav-container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 0 2rem; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| height: 70px; | |
| } | |
| .nav-logo { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| font-size: 1.5rem; | |
| font-weight: 700; | |
| color: var(--primary-color); | |
| } | |
| .nav-logo i { | |
| font-size: 1.8rem; | |
| } | |
| .nav-menu { | |
| display: flex; | |
| list-style: none; | |
| gap: 2rem; | |
| align-items: center; | |
| } | |
| .nav-link { | |
| text-decoration: none; | |
| color: var(--text-dark); | |
| font-weight: 500; | |
| transition: all 0.3s ease; | |
| position: relative; | |
| } | |
| .nav-link:hover { | |
| color: var(--primary-color); | |
| } | |
| .nav-link::after { | |
| content: ''; | |
| position: absolute; | |
| bottom: -5px; | |
| left: 0; | |
| width: 0; | |
| height: 2px; | |
| background: var(--primary-color); | |
| transition: width 0.3s ease; | |
| } | |
| .nav-link:hover::after { | |
| width: 100%; | |
| } | |
| .btn-primary { | |
| background: var(--gradient); | |
| color: white; | |
| padding: 0.75rem 1.5rem; | |
| border-radius: 50px; | |
| text-decoration: none; | |
| font-weight: 500; | |
| transition: all 0.3s ease; | |
| border: none; | |
| cursor: pointer; | |
| } | |
| .btn-primary:hover { | |
| transform: translateY(-2px); | |
| box-shadow: var(--shadow); | |
| } | |
| /* Hero Section */ | |
| .hero { | |
| min-height: 100vh; | |
| background: var(--gradient); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .hero::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: url('../images/hero-bg.jpg') center/cover; | |
| opacity: 0.1; | |
| } | |
| .hero-content { | |
| text-align: center; | |
| color: white; | |
| z-index: 1; | |
| max-width: 800px; | |
| padding: 2rem; | |
| } | |
| .hero-title { | |
| font-size: 4rem; | |
| margin-bottom: 1rem; | |
| animation: fadeInUp 1s ease; | |
| } | |
| .hero-subtitle { | |
| font-size: 1.5rem; | |
| margin-bottom: 2rem; | |
| opacity: 0.9; | |
| animation: fadeInUp 1s ease 0.2s both; | |
| } | |
| .hero-buttons { | |
| display: flex; | |
| gap: 1rem; | |
| justify-content: center; | |
| animation: fadeInUp 1s ease 0.4s both; | |
| } | |
| .btn-secondary { | |
| background: transparent; | |
| color: white; | |
| padding: 0.75rem 2rem; | |
| border: 2px solid rgba(255, 255, 255, 0.3); | |
| border-radius: 50px; | |
| text-decoration: none; | |
| font-weight: 500; | |
| transition: all 0.3s ease; | |
| } | |
| .btn-secondary:hover { | |
| background: white; | |
| color: var(--primary-color); | |
| transform: translateY(-2px); | |
| } | |
| /* Glass Morphism */ | |
| .glass-card { | |
| background: var(--glass-bg); | |
| backdrop-filter: blur(20px); | |
| border: 1px solid var(--glass-border); | |
| border-radius: 20px; | |
| padding: 2rem; | |
| box-shadow: var(--shadow); | |
| } | |
| /* Upload Section */ | |
| .upload-section { | |
| padding: 6rem 2rem; | |
| background: var(--bg-white); | |
| } | |
| .section-title { | |
| text-align: center; | |
| font-size: 2.5rem; | |
| margin-bottom: 1rem; | |
| color: var(--text-dark); | |
| } | |
| .section-subtitle { | |
| text-align: center; | |
| color: var(--text-light); | |
| margin-bottom: 3rem; | |
| max-width: 600px; | |
| margin-left: auto; | |
| margin-right: auto; | |
| } | |
| .upload-container { | |
| max-width: 800px; | |
| margin: 0 auto; | |
| } | |
| .upload-area { | |
| border: 3px dashed #d1d5db; | |
| border-radius: 20px; | |
| padding: 3rem 2rem; | |
| text-align: center; | |
| transition: all 0.3s ease; | |
| cursor: pointer; | |
| background: var(--bg-light); | |
| } | |
| .upload-area:hover { | |
| border-color: var(--primary-color); | |
| background: rgba(99, 102, 241, 0.05); | |
| } | |
| .upload-area.dragover { | |
| border-color: var(--primary-color); | |
| background: rgba(99, 102, 241, 0.1); | |
| } | |
| .upload-icon { | |
| font-size: 4rem; | |
| color: var(--primary-color); | |
| margin-bottom: 1rem; | |
| } | |
| .upload-text h3 { | |
| margin-bottom: 0.5rem; | |
| color: var(--text-dark); | |
| } | |
| .upload-text p { | |
| color: var(--text-light); | |
| margin-bottom: 1rem; | |
| } | |
| .file-input { | |
| display: none; | |
| } | |
| /* Options Section */ | |
| .options-section { | |
| padding: 2rem; | |
| background: var(--bg-light); | |
| } | |
| .options-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
| gap: 2rem; | |
| max-width: 800px; | |
| margin: 0 auto; | |
| } | |
| .option-card { | |
| background: white; | |
| padding: 2rem; | |
| border-radius: 15px; | |
| text-align: center; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| border: 2px solid transparent; | |
| } | |
| .option-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: var(--shadow); | |
| } | |
| .option-card.active { | |
| border-color: var(--primary-color); | |
| background: rgba(99, 102, 241, 0.05); | |
| } | |
| .option-icon { | |
| font-size: 2.5rem; | |
| color: var(--primary-color); | |
| margin-bottom: 1rem; | |
| } | |
| /* Loading Animation */ | |
| .loading-container { | |
| text-align: center; | |
| padding: 3rem; | |
| } | |
| .loading-spinner { | |
| width: 60px; | |
| height: 60px; | |
| border: 4px solid #f3f3f3; | |
| border-top: 4px solid var(--primary-color); | |
| border-radius: 50%; | |
| animation: spin 1s linear infinite; | |
| margin: 0 auto 1rem; | |
| } | |
| /* Results Section */ | |
| .results-section { | |
| padding: 3rem 2rem; | |
| background: var(--bg-white); | |
| } | |
| /* Result Card styling */ | |
| .result-card { | |
| background: white; | |
| border-radius: 20px; | |
| padding: 2rem; | |
| box-shadow: var(--shadow); | |
| margin-bottom: 2rem; | |
| } | |
| /* Result image */ | |
| .result-image { | |
| width: 100%; | |
| max-width: 400px; | |
| border-radius: 15px; | |
| margin-bottom: 2rem; | |
| object-fit: cover; | |
| } | |
| /* Result content */ | |
| .result-content { | |
| margin-bottom: 2rem; | |
| } | |
| /* Actions container (default visible) */ | |
| .result-actions { | |
| display: flex; | |
| gap: 1rem; | |
| justify-content: center; | |
| } | |
| /* ----- Results actions always visible & stronger styling ----- */ | |
| .result-actions { | |
| display: flex ; | |
| gap: 0.75rem; | |
| justify-content: flex-start; | |
| align-items: center; | |
| flex-wrap: wrap; | |
| margin-top: 1rem; | |
| } | |
| /* Make action buttons visually prominent */ | |
| .result-actions .btn-primary, | |
| .result-actions .btn-secondary { | |
| border-radius: 999px; | |
| padding: 0.6rem 1rem; | |
| font-weight: 600; | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| cursor: pointer; | |
| transition: transform 0.18s ease, box-shadow 0.18s ease; | |
| } | |
| .result-actions .btn-primary:hover, | |
| .result-actions .btn-secondary:hover { | |
| transform: translateY(-3px); | |
| box-shadow: var(--shadow); | |
| } | |
| /* Make secondary buttons lighter background */ | |
| .btn-secondary { | |
| background: transparent; | |
| color: var(--primary-dark); | |
| border: 1px solid rgba(99,102,241,0.12); | |
| } | |
| .btn-secondary i, | |
| .btn-primary i { | |
| font-size: 0.95rem; | |
| } | |
| /* Loading improved visuals */ | |
| .loading-container .loading-title { | |
| font-size: 1.05rem; | |
| color: var(--text-dark); | |
| } | |
| .loading-container .loading-subtitle { | |
| height: 12px; | |
| border-radius: 8px; | |
| opacity: 0.9; | |
| } | |
| /* About Section */ | |
| .about-section { | |
| padding: 8rem 2rem 6rem; | |
| background: var(--bg-light); | |
| } | |
| .about-content { | |
| max-width: 1000px; | |
| margin: 0 auto; | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 4rem; | |
| align-items: center; | |
| } | |
| .about-text h2 { | |
| font-size: 2.5rem; | |
| margin-bottom: 1.5rem; | |
| } | |
| .about-features { | |
| list-style: none; | |
| margin-top: 2rem; | |
| } | |
| .about-features li { | |
| margin-bottom: 1rem; | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| } | |
| .about-features i { | |
| color: var(--accent-color); | |
| } | |
| .about-visual { | |
| text-align: center; | |
| } | |
| .visual-card { | |
| background: var(--gradient); | |
| padding: 2rem; | |
| border-radius: 20px; | |
| color: white; | |
| box-shadow: var(--shadow-lg); | |
| } | |
| /* Working Section */ | |
| .working-section { | |
| padding: 8rem 2rem 6rem; | |
| background: var(--bg-white); | |
| } | |
| .steps-container { | |
| max-width: 1000px; | |
| margin: 0 auto; | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
| gap: 2rem; | |
| } | |
| .step-card { | |
| background: white; | |
| padding: 2rem; | |
| border-radius: 15px; | |
| text-align: center; | |
| box-shadow: var(--shadow); | |
| transition: all 0.3s ease; | |
| } | |
| .step-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: var(--shadow-lg); | |
| } | |
| .step-number { | |
| width: 50px; | |
| height: 50px; | |
| background: var(--gradient); | |
| color: white; | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| margin: 0 auto 1rem; | |
| font-weight: bold; | |
| } | |
| /* Footer */ | |
| .footer { | |
| background: var(--text-dark); | |
| color: white; | |
| padding: 3rem 2rem 1rem; | |
| } | |
| .footer-container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| } | |
| .footer-content { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
| gap: 2rem; | |
| margin-bottom: 2rem; | |
| } | |
| .footer-section h3, | |
| .footer-section h4 { | |
| margin-bottom: 1rem; | |
| color: white; | |
| } | |
| .footer-section ul { | |
| list-style: none; | |
| } | |
| .footer-section ul li { | |
| margin-bottom: 0.5rem; | |
| } | |
| .footer-section a { | |
| color: #d1d5db; | |
| text-decoration: none; | |
| transition: color 0.3s ease; | |
| } | |
| .footer-section a:hover { | |
| color: white; | |
| } | |
| .social-links { | |
| display: flex; | |
| gap: 1rem; | |
| margin-top: 1rem; | |
| } | |
| .social-links a { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| width: 40px; | |
| height: 40px; | |
| background: rgba(255, 255, 255, 0.1); | |
| border-radius: 50%; | |
| transition: all 0.3s ease; | |
| } | |
| .social-links a:hover { | |
| background: var(--primary-color); | |
| transform: translateY(-2px); | |
| } | |
| .footer-bottom { | |
| text-align: center; | |
| padding-top: 2rem; | |
| border-top: 1px solid rgba(255, 255, 255, 0.1); | |
| color: #9ca3af; | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 768px) { | |
| .nav-menu { | |
| position: fixed; | |
| left: -100%; | |
| top: 70px; | |
| flex-direction: column; | |
| background: white; | |
| width: 100%; | |
| text-align: center; | |
| transition: 0.3s; | |
| box-shadow: var(--shadow); | |
| padding: 2rem 0; | |
| } | |
| .nav-menu.active { | |
| left: 0; | |
| } | |
| .hamburger { | |
| display: block; | |
| cursor: pointer; | |
| } | |
| .bar { | |
| display: block; | |
| width: 25px; | |
| height: 3px; | |
| margin: 5px auto; | |
| background: var(--text-dark); | |
| transition: all 0.3s ease; | |
| } | |
| .hamburger.active .bar:nth-child(2) { | |
| opacity: 0; | |
| } | |
| .hamburger.active .bar:nth-child(1) { | |
| transform: translateY(8px) rotate(45deg); | |
| } | |
| .hamburger.active .bar:nth-child(3) { | |
| transform: translateY(-8px) rotate(-45deg); | |
| } | |
| .hero-title { | |
| font-size: 2.5rem; | |
| } | |
| .hero-subtitle { | |
| font-size: 1.2rem; | |
| } | |
| .about-content { | |
| grid-template-columns: 1fr; | |
| gap: 2rem; | |
| } | |
| .hero-buttons { | |
| flex-direction: column; | |
| align-items: center; | |
| } | |
| /* Make result card stack vertically on small screens */ | |
| .result-card { | |
| flex-direction: column; | |
| align-items: center; | |
| } | |
| } | |