Spaces:
Running
Running
Download style.css from erfan14/creative-redesign: direct link, hf CLI and curl.
- Browser
- Download file 2.5 kB
-
https://huggingface.co/spaces/erfan14/creative-redesign/resolve/main/style.css
- Command line
-
hf download hf://spaces/erfan14/creative-redesign/style.css
-
curl -L -o style.css https://huggingface.co/spaces/erfan14/creative-redesign/resolve/main/style.css
2.5 kB
| @tailwind base; | |
| @tailwind components; | |
| @tailwind utilities; | |
| /* Custom animations and transitions */ | |
| @keyframes fadeIn { | |
| from { | |
| opacity: 0; | |
| transform: translateY(20px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .fade-in { | |
| animation: fadeIn 0.6s ease-out forwards; | |
| } | |
| /* Smooth scrolling */ | |
| html { | |
| scroll-behavior: smooth; | |
| } | |
| /* Custom button focus states */ | |
| button:focus-visible { | |
| outline: 2px solid #4f46e5; | |
| outline-offset: 2px; | |
| } | |
| /* Custom scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #1f1f1f; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #4c4c4c; | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #6b7280; | |
| } | |
| /* Responsive adjustments */ | |
| @media (max-width: 768px) { | |
| .container { | |
| padding-left: 1rem; | |
| padding-right: 1rem; | |
| } | |
| .hero-content { | |
| padding-top: 2rem; | |
| padding-bottom: 2rem; | |
| } | |
| } | |
| /* Black background theme */ | |
| body { | |
| background-color: #000000; | |
| color: #e5e7eb; | |
| } | |
| /* AI 3D Canvas */ | |
| #ai-3d-canvas { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| z-index: -1; | |
| } | |
| #ai-3d-canvas canvas { | |
| display: block; | |
| } | |
| /* Ensure content is above 3D canvas but still see-through */ | |
| section { | |
| position: relative; | |
| z-index: 10; | |
| background-color: rgba(0, 0, 0, 0.7); | |
| backdrop-filter: blur(2px); | |
| } | |
| /* Make header slightly transparent to see the effect */ | |
| header { | |
| background-color: rgba(0, 0, 0, 0.8); | |
| border-bottom: 1px solid #374151; | |
| backdrop-filter: blur(5px); | |
| } | |
| /* Header */ | |
| header { | |
| background-color: #000000; | |
| border-bottom: 1px solid #374151; | |
| } | |
| /* Hero Section */ | |
| .hero-gradient { | |
| background: transparent; | |
| } | |
| /* Features Section */ | |
| .features-bg { | |
| background-color: transparent; | |
| } | |
| .feature-card { | |
| background-color: #111827; | |
| border: 1px solid #374151; | |
| } | |
| .feature-icon-bg { | |
| background-color: #1f2937; | |
| } | |
| /* Stats Section */ | |
| .stats-bg { | |
| background-color: transparent; | |
| } | |
| /* CTA Section */ | |
| .cta-bg { | |
| background-color: transparent; | |
| } | |
| .cta-card { | |
| background-color: rgba(17, 24, 39, 0.8); | |
| border: 1px solid #374151; | |
| backdrop-filter: blur(5px); | |
| } | |
| /* Footer */ | |
| .footer-bg { | |
| background-color: rgba(0, 0, 0, 0.8); | |
| } | |
| .footer-border { | |
| border-color: #374151; | |
| } | |
| .footer-heading { | |
| color: #f9fafb; | |
| } | |
| .footer-link { | |
| color: #9ca3af; | |
| } | |
| .footer-link:hover { | |
| color: #f9fafb; | |
| } | |