Spaces:
Running
Running
Download style.css from mmmput/deepsite-project-7yyf9: direct link, hf CLI and curl.
- Browser
- Download file 13.6 kB
-
https://huggingface.co/spaces/mmmput/deepsite-project-7yyf9/resolve/main/style.css
- Command line
-
hf download hf://spaces/mmmput/deepsite-project-7yyf9/style.css
-
curl -L -o style.css https://huggingface.co/spaces/mmmput/deepsite-project-7yyf9/resolve/main/style.css
13.6 kB
| /* ========================================== | |
| NEXUS DESIGN SYSTEM | |
| Cyberpunk + Apple Minimalism Fusion | |
| ========================================== */ | |
| :root { | |
| /* Background Colors */ | |
| --bg-main: #050508; | |
| --bg-alt: #0a0a0f; | |
| --bg-dark-section: #08080c; | |
| /* Accent Colors - Cyberpunk Neon Desaturated */ | |
| --accent-cyan: #00d4ff; | |
| --accent-purple: #b026ff; | |
| --accent-blue: #0066ff; | |
| --accent-pink: #ff006e; | |
| /* Text Colors */ | |
| --text-primary: #ffffff; | |
| --text-secondary: #a0a0b0; | |
| --text-muted: #6b6b7b; | |
| /* UI Colors */ | |
| --border-color: rgba(255, 255, 255, 0.08); | |
| --glass-bg: rgba(255, 255, 255, 0.03); | |
| --glass-border: rgba(255, 255, 255, 0.1); | |
| /* Typography */ | |
| --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; | |
| --font-mono: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; | |
| /* Spacing & Radius */ | |
| --radius: 16px; | |
| --radius-sm: 8px; | |
| --radius-lg: 24px; | |
| /* Shadows & Glows */ | |
| --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3); | |
| --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4); | |
| --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5); | |
| --shadow-glow-cyan: 0 0 30px rgba(0, 212, 255, 0.15); | |
| --shadow-glow-purple: 0 0 30px rgba(176, 38, 255, 0.15); | |
| /* Transitions */ | |
| --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| /* ========================================== | |
| BASE STYLES | |
| ========================================== */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| html { | |
| scroll-behavior: smooth; | |
| } | |
| body { | |
| font-family: var(--font-main); | |
| background-color: var(--bg-main); | |
| color: var(--text-primary); | |
| line-height: 1.6; | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| overflow-x: hidden; | |
| } | |
| /* Typography Reset */ | |
| h1, h2, h3, h4, h5, h6 { | |
| font-weight: 600; | |
| line-height: 1.2; | |
| color: var(--text-primary); | |
| letter-spacing: -0.02em; | |
| } | |
| p { | |
| color: var(--text-secondary); | |
| line-height: 1.7; | |
| } | |
| a { | |
| color: inherit; | |
| text-decoration: none; | |
| transition: var(--transition); | |
| } | |
| /* Remove default link blue */ | |
| a:not([class]) { | |
| color: var(--text-secondary); | |
| } | |
| a:not([class]):hover { | |
| color: var(--accent-cyan); | |
| } | |
| /* ========================================== | |
| HEADER | |
| ========================================== */ | |
| .site-header { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| height: 72px; | |
| background: rgba(5, 5, 8, 0.8); | |
| backdrop-filter: blur(20px) saturate(180%); | |
| -webkit-backdrop-filter: blur(20px) saturate(180%); | |
| border-bottom: 1px solid var(--border-color); | |
| z-index: 1000; | |
| transition: var(--transition); | |
| } | |
| .site-header.scrolled { | |
| background: rgba(5, 5, 8, 0.95); | |
| box-shadow: var(--shadow-md); | |
| } | |
| .logo-text { | |
| font-size: 1.5rem; | |
| font-weight: 700; | |
| background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-cyan) 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| letter-spacing: 0.05em; | |
| font-family: var(--font-mono); | |
| } | |
| .nav-link { | |
| position: relative; | |
| color: var(--text-secondary); | |
| font-size: 0.95rem; | |
| font-weight: 500; | |
| padding: 0.5rem 0; | |
| transition: var(--transition); | |
| } | |
| .nav-link::after { | |
| content: ''; | |
| position: absolute; | |
| bottom: 0; | |
| left: 0; | |
| width: 0; | |
| height: 2px; | |
| background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple)); | |
| transition: var(--transition); | |
| } | |
| .nav-link:hover { | |
| color: var(--text-primary); | |
| } | |
| .nav-link:hover::after { | |
| width: 100%; | |
| } | |
| /* ========================================== | |
| HERO SECTION | |
| ========================================== */ | |
| .hero-section { | |
| position: relative; | |
| min-height: 100vh; | |
| display: flex; | |
| align-items: center; | |
| background: | |
| radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%), | |
| radial-gradient(circle at 80% 80%, rgba(176, 38, 255, 0.05) 0%, transparent 50%), | |
| linear-gradient(to bottom, var(--bg-alt), var(--bg-main)); | |
| padding-top: 72px; | |
| overflow: hidden; | |
| } | |
| .hero-section::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background-image: | |
| linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), | |
| linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px); | |
| background-size: 100px 100px; | |
| pointer-events: none; | |
| } | |
| .site-title { | |
| font-size: clamp(2.5rem, 6vw, 4.5rem); | |
| font-weight: 700; | |
| line-height: 1.1; | |
| background: linear-gradient(180deg, #ffffff 0%, #a0a0b0 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| margin-bottom: 1.5rem; | |
| } | |
| .site-tagline { | |
| font-size: clamp(1.1rem, 2vw, 1.35rem); | |
| color: var(--text-secondary); | |
| line-height: 1.6; | |
| max-width: 600px; | |
| margin-bottom: 2rem; | |
| } | |
| .btn-hero-primary { | |
| display: inline-flex; | |
| align-items: center; | |
| padding: 1rem 2.5rem; | |
| background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue)); | |
| color: var(--bg-main); | |
| font-weight: 600; | |
| font-size: 1rem; | |
| border-radius: var(--radius); | |
| transition: var(--transition); | |
| box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3); | |
| border: none; | |
| cursor: pointer; | |
| } | |
| .btn-hero-primary:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4), var(--shadow-glow-cyan); | |
| } | |
| .btn-hero-secondary { | |
| display: inline-flex; | |
| align-items: center; | |
| padding: 1rem 2.5rem; | |
| background: transparent; | |
| color: var(--text-primary); | |
| font-weight: 600; | |
| font-size: 1rem; | |
| border-radius: var(--radius); | |
| border: 1px solid var(--glass-border); | |
| transition: var(--transition); | |
| cursor: pointer; | |
| backdrop-filter: blur(10px); | |
| } | |
| .btn-hero-secondary:hover { | |
| background: var(--glass-bg); | |
| border-color: var(--accent-cyan); | |
| color: var(--accent-cyan); | |
| } | |
| /* ========================================== | |
| ARTICLES GRID | |
| ========================================== */ | |
| .grid-3 { | |
| display: grid; | |
| grid-template-columns: 2fr 1fr; | |
| grid-template-rows: 1fr 1fr; | |
| gap: 2rem; | |
| } | |
| .article-card { | |
| background: var(--glass-bg); | |
| border: 1px solid var(--glass-border); | |
| border-radius: var(--radius); | |
| overflow: hidden; | |
| transition: var(--transition); | |
| height: 100%; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .article-card:hover { | |
| transform: translateY(-4px); | |
| box-shadow: var(--shadow-lg), var(--shadow-glow-cyan); | |
| border-color: rgba(0, 212, 255, 0.2); | |
| } | |
| .article-card.featured { | |
| grid-row: 1 / 3; | |
| grid-column: 1 / 2; | |
| } | |
| .article-card.featured .card-img { | |
| height: 100%; | |
| max-height: 400px; | |
| } | |
| .card-img { | |
| width: 100%; | |
| height: 200px; | |
| object-fit: cover; | |
| transition: var(--transition-slow); | |
| } | |
| .article-card:hover .card-img { | |
| transform: scale(1.05); | |
| } | |
| .card-meta { | |
| font-size: 0.85rem; | |
| color: var(--text-muted); | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| font-weight: 500; | |
| } | |
| .card-title-link { | |
| color: var(--text-primary); | |
| font-size: inherit; | |
| font-weight: inherit; | |
| background: linear-gradient(to right, var(--text-primary), var(--text-primary)) no-repeat 0 100%; | |
| background-size: 0 2px; | |
| transition: var(--transition); | |
| } | |
| .card-title-link:hover { | |
| color: var(--accent-cyan); | |
| background-size: 100% 2px; | |
| } | |
| .card-excerpt { | |
| color: var(--text-secondary); | |
| font-size: 0.95rem; | |
| line-height: 1.6; | |
| flex-grow: 1; | |
| } | |
| .card-read-more { | |
| display: inline-flex; | |
| align-items: center; | |
| color: var(--accent-cyan); | |
| font-weight: 500; | |
| font-size: 0.9rem; | |
| margin-top: auto; | |
| transition: var(--transition); | |
| } | |
| .card-read-more:hover { | |
| color: var(--text-primary); | |
| gap: 0.5rem; | |
| } | |
| /* ========================================== | |
| EXPERTS SECTION | |
| ========================================== */ | |
| .bg-dark-section { | |
| background: var(--bg-dark-section); | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .bg-dark-section::before { | |
| content: ''; | |
| position: absolute; | |
| top: -50%; | |
| left: -50%; | |
| width: 200%; | |
| height: 200%; | |
| background: radial-gradient(circle, rgba(0, 212, 255, 0.03) 0%, transparent 70%); | |
| pointer-events: none; | |
| } | |
| .grid-4 { | |
| display: grid; | |
| grid-template-columns: repeat(4, 1fr); | |
| gap: 2rem; | |
| position: relative; | |
| z-index: 1; | |
| } | |
| .squad-card { | |
| text-align: center; | |
| padding: 2rem; | |
| background: var(--glass-bg); | |
| border: 1px solid var(--glass-border); | |
| border-radius: var(--radius); | |
| transition: var(--transition); | |
| } | |
| .squad-card:hover { | |
| transform: translateY(-8px); | |
| box-shadow: var(--shadow-lg), var(--shadow-glow-purple); | |
| border-color: rgba(176, 38, 255, 0.2); | |
| } | |
| .squad-img-container { | |
| width: 110px; | |
| height: 110px; | |
| margin: 0 auto 1.5rem; | |
| border-radius: 50%; | |
| overflow: hidden; | |
| border: 2px solid var(--accent-cyan); | |
| box-shadow: 0 0 20px rgba(0, 212, 255, 0.2); | |
| position: relative; | |
| } | |
| .squad-img-container::after { | |
| content: ''; | |
| position: absolute; | |
| inset: -2px; | |
| border-radius: 50%; | |
| padding: 2px; | |
| background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple)); | |
| -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); | |
| mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); | |
| -webkit-mask-composite: xor; | |
| mask-composite: exclude; | |
| } | |
| .squad-img { | |
| width: 100%; | |
| height: 100%; | |
| object-fit: cover; | |
| transition: var(--transition); | |
| } | |
| .squad-card:hover .squad-img { | |
| transform: scale(1.1); | |
| } | |
| .squad-name { | |
| font-size: 1.25rem; | |
| font-weight: 600; | |
| color: var(--text-primary); | |
| margin-bottom: 0.5rem; | |
| } | |
| .squad-role { | |
| font-size: 0.9rem; | |
| color: var(--accent-cyan); | |
| font-weight: 500; | |
| letter-spacing: 0.05em; | |
| text-transform: uppercase; | |
| font-size: 0.8rem; | |
| } | |
| /* ========================================== | |
| DISCUSSION SECTION | |
| ========================================== */ | |
| .discussion-section { | |
| background: var(--bg-alt); | |
| position: relative; | |
| } | |
| .discussion-section::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| height: 1px; | |
| background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent); | |
| } | |
| .form-input { | |
| width: 100%; | |
| padding: 1rem 1.25rem; | |
| background: var(--glass-bg); | |
| border: 1px solid var(--glass-border); | |
| border-radius: var(--radius-sm); | |
| color: var(--text-primary); | |
| font-family: var(--font-main); | |
| font-size: 1rem; | |
| transition: var(--transition); | |
| outline: none; | |
| } | |
| .form-input:focus { | |
| border-color: var(--accent-cyan); | |
| box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1); | |
| } | |
| .form-input::placeholder { | |
| color: var(--text-muted); | |
| } | |
| .btn-submit { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| padding: 1rem 3rem; | |
| background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink)); | |
| color: white; | |
| font-weight: 600; | |
| font-size: 1rem; | |
| border: none; | |
| border-radius: var(--radius); | |
| cursor: pointer; | |
| transition: var(--transition); | |
| box-shadow: 0 4px 20px rgba(176, 38, 255, 0.3); | |
| } | |
| .btn-submit:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 8px 30px rgba(176, 38, 255, 0.4), var(--shadow-glow-purple); | |
| } | |
| /* ========================================== | |
| FOOTER | |
| ========================================== */ | |
| .site-footer { | |
| background: var(--bg-main); | |
| border-top: 1px solid var(--border-color); | |
| padding: 4rem 0 2rem; | |
| } | |
| .footer-grid { | |
| display: grid; | |
| grid-template-columns: 2fr 1fr 1fr 1fr; | |
| gap: 3rem; | |
| } | |
| .footer-link { | |
| display: block; | |
| color: var(--text-secondary); | |
| font-size: 0.9rem; | |
| padding: 0.25rem 0; | |
| transition: var(--transition); | |
| } | |
| .footer-link:hover { | |
| color: var(--accent-cyan); | |
| transform: translateX(4px); | |
| } | |
| /* ========================================== | |
| RESPONSIVE DESIGN | |
| ========================================== */ | |
| @media (max-width: 1024px) { | |
| .grid-4 { | |
| grid-template-columns: repeat(2, 1fr); | |
| } | |
| .grid-3 { | |
| grid-template-columns: 1fr; | |
| grid-template-rows: auto; | |
| } | |
| .article-card.featured { | |
| grid-row: auto; | |
| grid-column: auto; | |
| } | |
| } | |
| @media (max-width: 768px) { | |
| .site-title { | |
| font-size: 2.5rem; | |
| } | |
| .grid-4 { | |
| grid-template-columns: 1fr; | |
| gap: 1.5rem; | |
| } | |
| .footer-grid { | |
| grid-template-columns: 1fr; | |
| gap: 2rem; | |
| text-align: center; | |
| } | |
| .squad-card { | |
| max-width: 300px; | |
| margin: 0 auto; | |
| } | |
| } | |
| @media (max-width: 640px) { | |
| .btn-hero-primary, | |
| .btn-hero-secondary { | |
| width: 100%; | |
| justify-content: center; | |
| } | |
| .hero-section { | |
| padding-top: 100px; | |
| min-height: auto; | |
| padding-bottom: 4rem; | |
| } | |
| } | |
| /* ========================================== | |
| ANIMATIONS | |
| ========================================== */ | |
| @keyframes float { | |
| 0%, 100% { transform: translateY(0px); } | |
| 50% { transform: translateY(-10px); } | |
| } | |
| @keyframes glow { | |
| 0%, 100% { opacity: 0.5; } | |
| 50% { opacity: 1; } | |
| } | |
| .animate-glow { | |
| animation: glow 2s ease-in-out infinite; | |
| } |