Spaces:
Running
Running
Download style.css from AlexiDevs/cosmic-code-canvas: direct link, hf CLI and curl.
- Browser
- Download file 5.23 kB
-
https://huggingface.co/spaces/AlexiDevs/cosmic-code-canvas/resolve/main/style.css
- Command line
-
hf download hf://spaces/AlexiDevs/cosmic-code-canvas/style.css
-
curl -L -o style.css https://huggingface.co/spaces/AlexiDevs/cosmic-code-canvas/resolve/main/style.css
5.23 kB
| @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); | |
| * { | |
| font-family: 'Poppins', sans-serif; | |
| box-sizing: border-box; | |
| } | |
| /* Animations */ | |
| @keyframes float { | |
| 0%, 100% { | |
| transform: translateY(0); | |
| } | |
| 50% { | |
| transform: translateY(-20px); | |
| } | |
| } | |
| @keyframes typing { | |
| from { width: 0 } | |
| to { width: 100% } | |
| } | |
| @keyframes blink-caret { | |
| from, to { border-color: transparent } | |
| 50% { border-color: #ec4899 } | |
| } | |
| /* Floating 3D Elements */ | |
| .floating-cube, .floating-pyramid, .floating-sphere { | |
| position: fixed; | |
| border-radius: 50%; | |
| filter: blur(60px); | |
| opacity: 0.3; | |
| z-index: 0; | |
| animation: float 6s ease-in-out infinite; | |
| } | |
| .floating-cube { | |
| width: 300px; | |
| height: 300px; | |
| background: linear-gradient(45deg, #8b5cf6, #ec4899); | |
| top: 20%; | |
| left: 10%; | |
| animation-delay: 0s; | |
| } | |
| .floating-pyramid { | |
| width: 400px; | |
| height: 400px; | |
| background: linear-gradient(45deg, #3b82f6, #8b5cf6); | |
| bottom: 10%; | |
| right: 15%; | |
| animation-delay: 1s; | |
| } | |
| .floating-sphere { | |
| width: 250px; | |
| height: 250px; | |
| background: linear-gradient(45deg, #ec4899, #f43f5e); | |
| top: 60%; | |
| left: 70%; | |
| animation-delay: 2s; | |
| } | |
| /* Typing Animation */ | |
| .animate-typing { | |
| display: inline-block; | |
| overflow: hidden; | |
| border-right: 3px solid; | |
| white-space: nowrap; | |
| animation: | |
| typing 3.5s steps(40, end), | |
| blink-caret .75s step-end infinite; | |
| } | |
| /* CTA Buttons */ | |
| .cta-button { | |
| padding: 12px 24px; | |
| border-radius: 50px; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| letter-spacing: 1px; | |
| transition: all 0.3s ease; | |
| text-decoration: none; | |
| display: inline-block; | |
| text-align: center; | |
| } | |
| /* Tech Icons */ | |
| .tech-icon { | |
| width: 60px; | |
| height: 60px; | |
| background: rgba(255, 255, 255, 0.1); | |
| backdrop-filter: blur(10px); | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| position: relative; | |
| } | |
| .tech-icon:hover { | |
| transform: translateY(-5px); | |
| background: rgba(255, 255, 255, 0.2); | |
| } | |
| .tech-icon::after { | |
| content: attr(data-tooltip); | |
| position: absolute; | |
| bottom: -40px; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| background: rgba(0, 0, 0, 0.7); | |
| color: white; | |
| padding: 4px 8px; | |
| border-radius: 4px; | |
| font-size: 12px; | |
| opacity: 0; | |
| transition: opacity 0.3s; | |
| pointer-events: none; | |
| } | |
| .tech-icon:hover::after { | |
| opacity: 1; | |
| } | |
| /* Profile Card */ | |
| .profile-card { | |
| width: 300px; | |
| height: 300px; | |
| margin: 0 auto; | |
| position: relative; | |
| } | |
| .profile-image { | |
| width: 100%; | |
| height: 100%; | |
| background: center/cover; | |
| border-radius: 20px; | |
| position: relative; | |
| z-index: 2; | |
| box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); | |
| } | |
| .social-card { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 8px; | |
| color: white; | |
| text-decoration: none; | |
| } | |
| .social-card i { | |
| width: 24px; | |
| height: 24px; | |
| } | |
| .social-card:hover { | |
| transform: translateY(-5px); | |
| } | |
| .profile-dots { | |
| position: absolute; | |
| width: 120%; | |
| height: 120%; | |
| top: -10%; | |
| left: -10%; | |
| background-image: radial-gradient(#8b5cf6 2px, transparent 2px); | |
| background-size: 20px 20px; | |
| z-index: 1; | |
| border-radius: 30px; | |
| opacity: 0.3; | |
| } | |
| /* Skill Bars */ | |
| .skill-item { | |
| margin-bottom: 15px; | |
| } | |
| .skill-bar { | |
| height: 8px; | |
| background: rgba(255, 255, 255, 0.1); | |
| border-radius: 4px; | |
| margin-bottom: 8px; | |
| overflow: hidden; | |
| position: relative; | |
| } | |
| .skill-bar::after { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| height: 100%; | |
| background: linear-gradient(90deg, #8b5cf6, #ec4899); | |
| border-radius: 4px; | |
| width: 0; | |
| transition: width 1.5s ease-out; | |
| } | |
| .skill-item:nth-child(1) .skill-bar::after { | |
| width: 95%; | |
| } | |
| .skill-item:nth-child(2) .skill-bar::after { | |
| width: 85%; | |
| } | |
| .skill-item:nth-child(3) .skill-bar::after { | |
| width: 90%; | |
| } | |
| .skill-item:nth-child(4) .skill-bar::after { | |
| width: 80%; | |
| } | |
| /* Bot Cards */ | |
| .bots-grid { | |
| margin-top: 2rem; | |
| } | |
| .bot-card { | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| text-decoration: none; | |
| color: white; | |
| } | |
| .bot-card:hover { | |
| box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3); | |
| } | |
| .icon-circle { | |
| width: 64px; | |
| height: 64px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| /* Form Styles */ | |
| .form-group { | |
| margin-bottom: 20px; | |
| } | |
| .form-group label { | |
| display: block; | |
| margin-bottom: 8px; | |
| font-weight: 500; | |
| } | |
| .form-input { | |
| width: 100%; | |
| padding: 12px 16px; | |
| background: rgba(255, 255, 255, 0.1); | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| border-radius: 8px; | |
| color: white; | |
| transition: all 0.3s; | |
| } | |
| .form-input:focus { | |
| outline: none; | |
| border-color: #8b5cf6; | |
| background: rgba(255, 255, 255, 0.15); | |
| } | |
| /* Responsive Adjustments */ | |
| @media (max-width: 768px) { | |
| .hero-section h1 { | |
| font-size: 4rem; | |
| } | |
| .floating-cube, .floating-pyramid, .floating-sphere { | |
| display: none; | |
| } | |
| } |