Download static/css/style.css from mozaloom/medgan: direct link, hf CLI and curl.
- Browser
- Download file 17.9 kB
-
https://huggingface.co/spaces/mozaloom/medgan/resolve/main/static/css/style.css
- Command line
-
hf download hf://spaces/mozaloom/medgan/static/css/style.css
-
curl -L -o style.css https://huggingface.co/spaces/mozaloom/medgan/resolve/main/static/css/style.css
17.9 kB
| /* General Reset */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| color: #333; | |
| background: linear-gradient(120deg, #f5f7fa, #eaeff1); | |
| line-height: 1.6; | |
| overflow-x: hidden; | |
| transition: all 0.3s ease-in-out; | |
| } | |
| /* Smooth Scroll */ | |
| html { | |
| scroll-behavior: smooth; | |
| } | |
| /* Ultra-Enhanced Navbar */ | |
| .navbar { | |
| background: linear-gradient(135deg, #1e3a8a, #1d4ed8, #60a5fa); | |
| background-size: 400% 400%; | |
| color: white; | |
| padding: 10px 30px; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| position: sticky; | |
| top: 0; | |
| z-index: 1000; | |
| box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); | |
| animation: gradientShift 8s ease infinite; | |
| transition: all 0.5s ease; | |
| } | |
| .navbar:hover { | |
| box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); | |
| transform: translateY(-2px); | |
| } | |
| @keyframes gradientShift { | |
| 0% { background-position: 0% 50%; } | |
| 50% { background-position: 100% 50%; } | |
| 100% { background-position: 0% 50%; } | |
| } | |
| .navbar .logo { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| font-size: 1.8rem; | |
| font-weight: bold; | |
| color: white; | |
| text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); | |
| cursor: pointer; | |
| transition: transform 0.5s ease, text-shadow 0.5s ease; | |
| } | |
| .navbar .logo img { | |
| width: 50px; | |
| height: auto; | |
| border-radius: 50%; | |
| transition: transform 0.6s ease, box-shadow 0.5s ease; | |
| } | |
| .navbar .logo img:hover { | |
| transform: scale(1.3) rotate(360deg); | |
| box-shadow: 0 8px 20px rgba(255, 255, 255, 0.4); | |
| } | |
| .navbar nav { | |
| display: flex; | |
| align-items: center; | |
| gap: 20px; | |
| } | |
| .navbar nav ul { | |
| list-style: none; | |
| display: flex; | |
| gap: 20px; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| .navbar nav ul li { | |
| position: relative; | |
| } | |
| .navbar nav ul li a { | |
| text-decoration: none; | |
| color: white; | |
| font-weight: bold; | |
| font-size: 1.1rem; | |
| padding: 8px 16px; | |
| border-radius: 8px; | |
| background: linear-gradient(135deg, #0044ff, #0044ff, #60a5fa); | |
| box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); | |
| transition: background 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease; | |
| position: relative; | |
| } | |
| .navbar nav ul li a:hover { | |
| background: #b37ed4; | |
| color: #ffffff; | |
| transform: translateY(-5px); | |
| box-shadow: 0 8px 25px rgba(255, 223, 87, 0.5); | |
| } | |
| .navbar nav ul li ul { | |
| display: none; | |
| position: absolute; | |
| top: calc(100% + 5px); | |
| left: 0; | |
| background: rgba(30, 41, 59, 0.95); | |
| border-radius: 10px; | |
| overflow: hidden; | |
| box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5); | |
| opacity: 0; | |
| transform: translateY(-10px); | |
| transition: opacity 0.4s ease, transform 0.4s ease; | |
| z-index: 100; | |
| } | |
| .navbar nav ul li:hover ul { | |
| display: block; | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| .navbar nav ul li ul li { | |
| padding: 10px; | |
| } | |
| .navbar nav ul li ul li a { | |
| color: white; | |
| padding: 8px 12px; | |
| display: block; | |
| background: none; | |
| transition: color 0.3s ease, background 0.3s ease; | |
| } | |
| .navbar nav ul li ul li a:hover { | |
| background: rgba(255, 255, 255, 0.2); | |
| color: #38bdf8; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(-15px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| /* Hero Section */ | |
| .hero { | |
| background: linear-gradient(135deg, #1e3a8a, #60a5fa); | |
| color: white; | |
| text-align: center; | |
| padding: 150px 20px; | |
| border-bottom-left-radius: 50px; | |
| border-bottom-right-radius: 50px; | |
| box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); | |
| animation: fadeInHero 1.5s ease; | |
| } | |
| @keyframes fadeInHero { | |
| from { | |
| opacity: 0; | |
| transform: translateY(-30px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .hero h1 { | |
| font-size: 3.5rem; | |
| margin-bottom: 20px; | |
| font-weight: bold; | |
| text-shadow: 0 0 10px #ffffff, 0 0 15px #007BFF; | |
| animation: textGlow 2s infinite alternate; | |
| } | |
| @keyframes textGlow { | |
| 0% { | |
| text-shadow: 0 0 10px #ffffff, 0 0 15px #007BFF; | |
| } | |
| 100% { | |
| text-shadow: 0 0 20px #ffffff, 0 0 30px #86E3CE; | |
| } | |
| } | |
| .hero p { | |
| font-size: 1.2rem; | |
| max-width: 800px; | |
| margin: 0 auto 30px; | |
| color: #e0f7ff; | |
| } | |
| .btn-primary { | |
| background: #007BFF; | |
| color: white; | |
| padding: 12px 30px; | |
| border-radius: 30px; | |
| font-size: 1rem; | |
| font-weight: bold; | |
| text-decoration: none; | |
| transition: background 0.3s ease, transform 0.3s ease; | |
| box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); | |
| } | |
| .btn-primary:hover { | |
| background: #0056b3; | |
| transform: translateY(-5px) scale(1.1); | |
| } | |
| /* About Section */ | |
| .about { | |
| padding: 80px 20px; | |
| text-align: center; | |
| background: #f9f9fc; | |
| border-radius: 20px; | |
| animation: fadeInSection 1.5s ease; | |
| box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); | |
| } | |
| .about h2 { | |
| font-size: 2.8rem; | |
| color: #007BFF; | |
| margin-bottom: 20px; | |
| position: relative; | |
| } | |
| .about h2::after { | |
| content: ''; | |
| position: absolute; | |
| width: 80px; | |
| height: 4px; | |
| background: linear-gradient(135deg, #007BFF, #86E3CE); | |
| bottom: -10px; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| animation: slideIn 1s ease; | |
| } | |
| .about p { | |
| font-size: 21px; | |
| color: #1d1d1d; | |
| max-width: 800px; | |
| margin: 20px auto 40px; | |
| line-height: 1.8; | |
| } | |
| /* Features Grid */ | |
| .features-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
| gap: 30px; | |
| margin-top: 40px; | |
| align-items: stretch; | |
| } | |
| .feature-card { | |
| background: linear-gradient(135deg, #007BFF, #86E3CE); | |
| color: white; | |
| padding: 30px; | |
| border-radius: 15px; | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); | |
| text-align: center; | |
| transform: scale(0.95); | |
| transition: transform 0.3s ease, box-shadow 0.3s ease; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .feature-card::before { | |
| content: ''; | |
| position: absolute; | |
| top: -50%; | |
| left: -50%; | |
| width: 200%; | |
| height: 200%; | |
| background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 70%); | |
| opacity: 0; | |
| transform: scale(0); | |
| transition: transform 0.5s ease, opacity 0.5s ease; | |
| z-index: 0; | |
| } | |
| .feature-card:hover::before { | |
| transform: scale(1); | |
| opacity: 1; | |
| } | |
| .feature-card:hover { | |
| transform: scale(1.05); | |
| box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); | |
| } | |
| .feature-card h3 { | |
| font-size: 1.8rem; /* Increased font size for the heading */ | |
| margin-bottom: 15px; | |
| font-weight: bold; | |
| position: relative; | |
| z-index: 1; | |
| } | |
| .feature-card p { | |
| font-size: 1.8rem; /* Increased font size for the paragraph */ | |
| line-height: 2; /* Adjusted line height for readability */ | |
| position: relative; | |
| z-index: 1; | |
| color: #ffffff; /* Optional: Ensure contrast with the background */ | |
| } | |
| .feature-card:hover h3 { | |
| text-shadow: 0 0 10px rgba(255, 255, 255, 0.8); | |
| } | |
| /* Features Section */ | |
| .features-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
| gap: 20px; | |
| margin-top: 40px; | |
| } | |
| .feature-card { | |
| background: linear-gradient(135deg, #1e3a8a, #60a5fa); | |
| color: white; | |
| padding: 30px; | |
| border-radius: 15px; | |
| box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); | |
| text-align: center; | |
| transform: scale(0.95); | |
| transition: transform 0.3s ease, box-shadow 0.3s ease; | |
| } | |
| .feature-card:hover { | |
| transform: scale(1.05); | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); | |
| } | |
| .feature-card h3 { | |
| font-size: 1.5rem; | |
| margin-bottom: 15px; | |
| } | |
| .feature-card p { | |
| font-size: 1rem; | |
| line-height: 1.5; | |
| } | |
| /* Generate Section */ | |
| .generate { | |
| padding: 70px 20px; | |
| background: linear-gradient(135deg, #ffffff, #f5f7fa); | |
| text-align: center; | |
| border-radius: 20px; | |
| margin: 50px auto; | |
| max-width: 700px; | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); | |
| position: relative; | |
| overflow: hidden; | |
| z-index: 1; | |
| } | |
| .generate::before, | |
| .generate::after { | |
| content: ''; | |
| position: absolute; | |
| width: 200%; | |
| height: 200%; | |
| top: -50%; | |
| left: -50%; | |
| background: radial-gradient(circle, rgba(0, 123, 255, 0.1), transparent 80%); | |
| animation: rotateGlow 10s linear infinite; | |
| z-index: -1; | |
| } | |
| @keyframes rotateGlow { | |
| 0% { | |
| transform: rotate(0deg); | |
| } | |
| 100% { | |
| transform: rotate(360deg); | |
| } | |
| } | |
| /* Generate Section */ | |
| .generate { | |
| padding: 80px 20px; | |
| background: linear-gradient(135deg, #e3f2fd, #ffffff); | |
| text-align: center; | |
| border-radius: 30px; | |
| margin: 50px auto; | |
| max-width: 700px; | |
| box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); | |
| position: relative; | |
| overflow: hidden; | |
| z-index: 1; | |
| } | |
| .generate::before { | |
| content: ''; | |
| position: absolute; | |
| top: -50%; | |
| left: -50%; | |
| width: 200%; | |
| height: 200%; | |
| background: radial-gradient(circle, rgba(0, 123, 255, 0.1), transparent 70%); | |
| animation: rotateGlow 8s linear infinite; | |
| z-index: -1; | |
| } | |
| @keyframes rotateGlow { | |
| 0% { | |
| transform: rotate(0deg); | |
| } | |
| 100% { | |
| transform: rotate(360deg); | |
| } | |
| } | |
| .generate h2 { | |
| font-size: 2.5rem; | |
| color: #007BFF; | |
| font-weight: bold; | |
| margin-bottom: 30px; | |
| animation: fadeInTitle 1s ease-in-out; | |
| } | |
| @keyframes fadeInTitle { | |
| 0% { | |
| opacity: 0; | |
| transform: translateY(-20px); | |
| } | |
| 100% { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| /* Form Styling */ | |
| .form { | |
| background: #ffffff; | |
| padding: 40px; | |
| border-radius: 20px; | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); | |
| animation: slideInForm 1.5s ease; | |
| max-width: 500px; | |
| margin: 0 auto; | |
| } | |
| @keyframes slideInForm { | |
| 0% { | |
| opacity: 0; | |
| transform: translateY(30px); | |
| } | |
| 100% { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .form-group { | |
| margin-bottom: 20px; | |
| text-align: left; | |
| } | |
| label { | |
| font-size: 1rem; | |
| font-weight: bold; | |
| color: #333; | |
| display: block; | |
| margin-bottom: 8px; | |
| } | |
| select, input { | |
| width: 100%; | |
| padding: 12px; | |
| font-size: 1rem; | |
| border: 1px solid #ddd; | |
| border-radius: 10px; | |
| transition: border 0.3s ease, box-shadow 0.3s ease; | |
| box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); | |
| } | |
| select:focus, input:focus { | |
| border-color: #007BFF; | |
| box-shadow: 0 0 10px rgba(0, 123, 255, 0.5); | |
| outline: none; | |
| transform: scale(1.02); | |
| } | |
| button { | |
| display: inline-block; | |
| background: linear-gradient(135deg, #007BFF, #0056b3); | |
| color: white; | |
| padding: 15px 40px; | |
| border: none; | |
| border-radius: 30px; | |
| font-size: 1.2rem; | |
| font-weight: bold; | |
| text-transform: uppercase; | |
| cursor: pointer; | |
| position: relative; | |
| transition: all 0.3s ease-in-out; | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); | |
| } | |
| button:hover { | |
| background: linear-gradient(135deg, #0056b3, #003f7f); | |
| transform: translateY(-3px) scale(1.05); | |
| box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); | |
| } | |
| button:active { | |
| transform: translateY(2px); | |
| box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); | |
| } | |
| /* Results Section */ | |
| .results { | |
| padding: 60px 20px; | |
| background: #ffffff; | |
| margin: 40px auto; | |
| max-width: 1200px; | |
| border-radius: 15px; | |
| box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); | |
| text-align: center; | |
| } | |
| .results h1 { | |
| font-size: 2.5rem; | |
| color: #007BFF; | |
| margin-bottom: 20px; | |
| font-weight: bold; | |
| } | |
| .results p { | |
| font-size: 1.2rem; | |
| margin-bottom: 30px; | |
| color: #555; | |
| } | |
| .gallery { | |
| display: grid; | |
| grid-template-columns: repeat(4, 1fr); | |
| gap: 20px; | |
| justify-items: center; | |
| } | |
| .image-card { | |
| background: white; | |
| border-radius: 15px; | |
| overflow: hidden; | |
| box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); | |
| padding: 15px; | |
| transition: transform 0.3s ease, box-shadow 0.3s ease; | |
| text-align: center; | |
| } | |
| .image-card img { | |
| width: 100%; | |
| height: auto; | |
| border-radius: 10px; | |
| } | |
| .image-card:hover { | |
| transform: scale(1.1); | |
| box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); | |
| } | |
| /* Button Styles */ | |
| .results .btn-primary, .results .btn-secondary { | |
| display: inline-block; | |
| background: linear-gradient(135deg, #007BFF, #0056b3); | |
| color: white; | |
| padding: 12px 30px; | |
| border: none; | |
| border-radius: 25px; | |
| font-size: 1rem; | |
| font-weight: bold; | |
| text-align: center; | |
| text-transform: uppercase; | |
| text-decoration: none; | |
| cursor: pointer; | |
| position: relative; | |
| transition: all 0.3s ease-in-out; | |
| box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); | |
| } | |
| .results .btn-primary:hover, .results .btn-secondary:hover { | |
| background: linear-gradient(135deg, #0056b3, #003f7f); | |
| box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3), 0 0 10px #007BFF, 0 0 20px #0056b3; | |
| transform: translateY(-3px); | |
| } | |
| .results .btn-primary:active, .results .btn-secondary:active { | |
| transform: translateY(2px); | |
| box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); | |
| } | |
| /* Glow Effect on Hover */ | |
| .results .btn-primary::after, .results .btn-secondary::after { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| border-radius: 25px; | |
| background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 70%); | |
| opacity: 0; | |
| transition: opacity 0.3s ease-in-out; | |
| z-index: -1; | |
| } | |
| .results .btn-primary:hover::after, .results .btn-secondary:hover::after { | |
| opacity: 1; | |
| } | |
| .results .btn-primary { | |
| margin-top: 40px; /* Add space above the button */ | |
| display: inline-block; | |
| background: linear-gradient(135deg, #007BFF, #0056b3); | |
| color: white; | |
| padding: 12px 30px; | |
| border: none; | |
| border-radius: 25px; | |
| font-size: 1rem; | |
| font-weight: bold; | |
| text-align: center; | |
| text-transform: uppercase; | |
| text-decoration: none; | |
| cursor: pointer; | |
| transition: all 0.3s ease-in-out; | |
| box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); | |
| } | |
| .results .btn-primary:hover { | |
| background: linear-gradient(135deg, #0056b3, #003f7f); | |
| transform: translateY(-3px); | |
| box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3), 0 0 10px #007BFF, 0 0 20px #0056b3; | |
| } | |
| /* Footer */ | |
| .footer { | |
| background: linear-gradient(135deg, #007BFF, #1100fd); | |
| padding: 40px 20px; | |
| text-align: center; | |
| position: relative; | |
| overflow: hidden; | |
| border-top: 5px solid #0056b3; | |
| box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3); | |
| z-index: 1; | |
| } | |
| .footer::before, | |
| .footer::after { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: -50%; | |
| width: 200%; | |
| height: 200%; | |
| background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%); | |
| animation: shineEffect 8s infinite linear; | |
| transform: rotate(45deg); | |
| z-index: -1; | |
| } | |
| @keyframes shineEffect { | |
| 0% { | |
| transform: translateX(-100%) rotate(45deg); | |
| } | |
| 100% { | |
| transform: translateX(100%) rotate(45deg); | |
| } | |
| } | |
| .footer p { | |
| font-size: 1.1rem; | |
| font-weight: 600; | |
| color: #fff; | |
| margin-bottom: 15px; | |
| text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); | |
| } | |
| .footer { | |
| text-align: center; | |
| padding: 20px; | |
| background: linear-gradient(135deg, #1e3a8a, #60a5fa); | |
| color: white; | |
| font-size: 1rem; | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); | |
| } | |
| .footer .footer-links { | |
| margin-top: 10px; | |
| display: flex; | |
| justify-content: center; | |
| gap: 15px; | |
| } | |
| .footer .footer-links a { | |
| color: white; | |
| font-size: 1.2rem; | |
| text-decoration: none; | |
| transition: color 0.3s; | |
| } | |
| @keyframes fadeInLinks { | |
| 0% { | |
| opacity: 0; | |
| transform: translateY(20px); | |
| } | |
| 100% { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .footer-links a { | |
| color: #fff; | |
| text-decoration: none; | |
| font-size: 1rem; | |
| font-weight: bold; | |
| background: rgba(255, 255, 255, 0.1); | |
| padding: 10px 20px; | |
| border-radius: 25px; | |
| transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; | |
| box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); | |
| } | |
| .footer-links a:hover { | |
| background: #b37ed4; | |
| color: #ffffff; | |
| transform: translateY(-5px); | |
| box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); | |
| } | |
| .footer-social { | |
| margin-top: 20px; | |
| display: flex; | |
| justify-content: center; | |
| gap: 20px; | |
| animation: socialIconsPulse 2s infinite; | |
| } | |
| @keyframes socialIconsPulse { | |
| 0%, 100% { | |
| transform: scale(1); | |
| } | |
| 50% { | |
| transform: scale(1.2); | |
| } | |
| } | |
| .footer-social a { | |
| font-size: 1.5rem; | |
| color: #fff; | |
| transition: color 0.3s ease, transform 0.3s ease; | |
| } | |
| .footer-social a:hover { | |
| color: #e5e5e5; | |
| transform: scale(1.5) rotate(15deg); | |
| } | |
| .action-buttons { | |
| display: flex; | |
| justify-content: center; | |
| gap: 15px; /* Space between buttons */ | |
| margin-top: 20px; | |
| } | |
| .action-buttons .btn-primary, | |
| .action-buttons .btn-secondary { | |
| display: inline-block; | |
| padding: 10px 20px; | |
| font-size: 16px; | |
| color: #fff; | |
| background: #007BFF; | |
| border: none; | |
| border-radius: 25px; | |
| text-align: center; | |
| text-decoration: none; | |
| box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); | |
| transition: background 0.3s ease; | |
| } | |
| .action-buttons .btn-primary:hover, | |
| .action-buttons .btn-secondary:hover { | |
| background: #0056b3; | |
| } | |