Download style.css from NYDEC/Nydec.ng: direct link, hf CLI and curl.
- Browser
- Download file 5.89 kB
-
https://huggingface.co/spaces/NYDEC/Nydec.ng/resolve/main/style.css
- Command line
-
hf download hf://spaces/NYDEC/Nydec.ng/style.css
-
curl -L -o style.css https://huggingface.co/spaces/NYDEC/Nydec.ng/resolve/main/style.css
5.89 kB
| /* =================================================== | |
| NYDEC-NG — MASTER STYLE SHEET | |
| Professional • Premium • Mobile-first | |
| =================================================== */ | |
| /* ===== RESET ===== */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| /* ===== BASE ===== */ | |
| body { | |
| font-family: "Segoe UI", Roboto, Arial, sans-serif; | |
| background: #f4f6f8; | |
| color: #1f2933; | |
| line-height: 1.7; | |
| } | |
| img { | |
| max-width: 100%; | |
| display: block; | |
| } | |
| /* =================================================== | |
| LOADER | |
| =================================================== */ | |
| #loader { | |
| position: fixed; | |
| inset: 0; | |
| background: #ffffff; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| z-index: 9999; | |
| } | |
| .spinner { | |
| width: 56px; | |
| height: 56px; | |
| border: 6px solid #e5e7eb; | |
| border-top: 6px solid #0b3c5d; | |
| border-radius: 50%; | |
| animation: spin 1s linear infinite; | |
| } | |
| @keyframes spin { | |
| to { transform: rotate(360deg); } | |
| } | |
| /* =================================================== | |
| HEADER | |
| =================================================== */ | |
| .site-header { | |
| background: #0b3c5d; | |
| color: #ffffff; | |
| padding: 1.8rem 1rem; | |
| position: relative; | |
| z-index: 10; | |
| } | |
| .header-center { | |
| text-align: center; | |
| } | |
| .header-center img { | |
| width: 90px; | |
| margin: auto; | |
| } | |
| .header-center h1 { | |
| color: #f2c94c; | |
| font-size: 2.1rem; | |
| margin-top: 0.6rem; | |
| font-weight: 800; | |
| } | |
| .header-center p { | |
| font-size: 1rem; | |
| color: #e6f2ff; | |
| margin-top: 0.3rem; | |
| } | |
| /* =================================================== | |
| HAMBURGER MENU (FIXED & MOBILE-FIRST) | |
| =================================================== */ | |
| .hamburger { | |
| position: fixed; | |
| top: 18px; | |
| left: 18px; | |
| font-size: 2rem; | |
| color: #f2c94c; | |
| cursor: pointer; | |
| user-select: none; | |
| z-index: 10001; | |
| display: block; | |
| } | |
| /* =================================================== | |
| NAVIGATION (MOBILE OVERLAY) | |
| =================================================== */ | |
| .main-nav { | |
| position: fixed; | |
| inset: 0; | |
| background: rgba(8, 31, 45, 0.97); | |
| display: none; | |
| flex-direction: column; | |
| justify-content: center; | |
| align-items: center; | |
| z-index: 10000; | |
| text-align: center; | |
| } | |
| .main-nav a { | |
| color: #ffffff; | |
| text-decoration: none; | |
| padding: 1rem 2rem; | |
| font-size: 1.1rem; | |
| font-weight: 600; | |
| width: 100%; | |
| } | |
| .main-nav a:hover, | |
| .main-nav a.active { | |
| background: #f2c94c; | |
| color: #1f2933; | |
| } | |
| .main-nav.show-nav { | |
| display: flex; | |
| } | |
| /* =================================================== | |
| HERO SECTION | |
| =================================================== */ | |
| .hero { | |
| display: flex; | |
| justify-content: center; | |
| padding: 4.5rem 1rem; | |
| } | |
| .hero-card { | |
| background: linear-gradient(to bottom, #ffffff, #f9fafb); | |
| max-width: 900px; | |
| padding: 3.5rem 2.5rem; | |
| text-align: center; | |
| border-radius: 16px; | |
| border-top: 6px solid #0b3c5d; | |
| box-shadow: | |
| 0 6px 15px rgba(0,0,0,0.06), | |
| 0 28px 60px rgba(0,0,0,0.15); | |
| animation: fadeUp 0.9s ease; | |
| } | |
| @keyframes fadeUp { | |
| from { | |
| opacity: 0; | |
| transform: translateY(30px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .hero-card h2 { | |
| font-size: 2.4rem; | |
| font-weight: 800; | |
| color: #0b3c5d; | |
| margin-bottom: 1.2rem; | |
| } | |
| .hero-card p { | |
| font-size: 1.1rem; | |
| color: #374151; | |
| max-width: 760px; | |
| margin: auto; | |
| margin-bottom: 2.4rem; | |
| } | |
| /* =================================================== | |
| BUTTONS | |
| =================================================== */ | |
| .hero-buttons { | |
| display: flex; | |
| gap: 1rem; | |
| justify-content: center; | |
| flex-wrap: wrap; | |
| } | |
| .btn { | |
| background: #0b3c5d; | |
| color: #ffffff; | |
| padding: 0.85rem 2.2rem; | |
| border-radius: 9px; | |
| font-weight: 600; | |
| text-decoration: none; | |
| transition: all 0.3s ease; | |
| } | |
| .btn:hover { | |
| background: #f2c94c; | |
| color: #1f2933; | |
| transform: translateY(-3px); | |
| } | |
| .btn-outline { | |
| background: transparent; | |
| border: 2px solid #0b3c5d; | |
| color: #0b3c5d; | |
| } | |
| .btn-outline:hover { | |
| background: #0b3c5d; | |
| color: #ffffff; | |
| } | |
| /* =================================================== | |
| FOCUS AREAS | |
| =================================================== */ | |
| .focus { | |
| padding: 3.5rem 1.2rem; | |
| } | |
| .focus h3 { | |
| text-align: center; | |
| font-size: 2rem; | |
| color: #14532d; | |
| margin-bottom: 2.2rem; | |
| } | |
| .focus ul { | |
| max-width: 1100px; | |
| margin: auto; | |
| list-style: none; | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); | |
| gap: 1.6rem; | |
| } | |
| .focus li { | |
| background: #ffffff; | |
| padding: 1.6rem; | |
| border-left: 6px solid #f2c94c; | |
| border-radius: 10px; | |
| box-shadow: 0 12px 28px rgba(0,0,0,0.08); | |
| font-weight: 500; | |
| } | |
| /* =================================================== | |
| CTA | |
| =================================================== */ | |
| .cta { | |
| text-align: center; | |
| padding: 3.5rem 1rem; | |
| } | |
| /* =================================================== | |
| FOOTER | |
| =================================================== */ | |
| .site-footer { | |
| background: #081f2d; | |
| color: #e6f2ff; | |
| padding: 2.8rem 1rem; | |
| } | |
| .footer-center { | |
| text-align: center; | |
| } | |
| .footer-center img { | |
| width: 70px; | |
| margin: auto; | |
| margin-bottom: 0.8rem; | |
| } | |
| .footer-center p { | |
| font-size: 0.95rem; | |
| } | |
| /* =================================================== | |
| DESKTOP BEHAVIOR (UNCHANGED) | |
| =================================================== */ | |
| @media (min-width: 769px) { | |
| .hamburger { | |
| display: none; | |
| } | |
| .main-nav { | |
| position: static; | |
| height: auto; | |
| background: #14532d; | |
| flex-direction: row; | |
| justify-content: center; | |
| display: flex; | |
| gap: 0.5rem; | |
| padding: 0.8rem 0; | |
| } | |
| .main-nav a { | |
| padding: 0.6rem 1.4rem; | |
| border-radius: 6px; | |
| width: auto; | |
| } | |
| } | |
| /* =================================================== | |
| MOBILE REFINEMENTS | |
| =================================================== */ | |
| @media (max-width: 480px) { | |
| .hero-card { | |
| padding: 2.8rem 1.6rem; | |
| } | |
| .hero-card h2 { | |
| font-size: 1.9rem; | |
| } | |
| .hero-card p { | |
| font-size: 1rem; | |
| } | |
| } |