Download static/css/nav.css from deanpowers/blind-monkeys: direct link, hf CLI and curl.
- Browser
- Download file 5.97 kB
-
https://huggingface.co/deanpowers/blind-monkeys/resolve/main/static/css/nav.css
- Command line
-
hf download hf://deanpowers/blind-monkeys/static/css/nav.css
-
curl -L -o nav.css https://huggingface.co/deanpowers/blind-monkeys/resolve/main/static/css/nav.css
5.97 kB
| /* ---------- Global ---------- */ | |
| * { box-sizing: border-box; margin: 0; padding: 0; } | |
| body { | |
| font-family: system-ui, -apple-system, sans-serif; | |
| background: #0d1117; | |
| color: #e6edf3; | |
| min-height: 100vh; | |
| padding: 0; | |
| padding-top: 208px; | |
| } | |
| /* ---------- Navigation Bar ---------- */ | |
| .nav-bar { | |
| display: flex; | |
| align-items: center; | |
| justify-content: flex-end; | |
| padding: 14px 24px; | |
| background: #161b22; | |
| border-bottom: 1px solid #2a3138; | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| z-index: 1000; | |
| height: 118px; | |
| } | |
| /* breathing room: blank line under the brand stack, blank lines below the bar */ | |
| .nav-license { margin-bottom: 16px; } | |
| .nav-bar { height: 208px; } | |
| .nav-brand { | |
| font-size: 18px; | |
| font-weight: 700; | |
| color: #f0b90b; | |
| text-decoration: none; | |
| white-space: nowrap; | |
| position: fixed; | |
| top: 10px; | |
| left: 24px; | |
| z-index: 1001; | |
| } | |
| .nav-brand:hover { | |
| opacity: 0.85; | |
| } | |
| .nav-links { | |
| display: flex; | |
| gap: 8px; | |
| flex-wrap: wrap; | |
| align-items: center; | |
| } | |
| .nav-link { | |
| padding: 8px 14px; | |
| background: #1e2329; | |
| color: #e6edf3; | |
| border: 1px solid #30363d; | |
| border-radius: 6px; | |
| text-decoration: none; | |
| font-size: 18px; | |
| font-weight: 500; | |
| white-space: nowrap; | |
| transition: all 0.15s; | |
| } | |
| .nav-link:hover { | |
| background: #f0b90b; | |
| color: #0d1117; | |
| border-color: #f0b90b; | |
| } | |
| .nav-link.active { | |
| background: #f0b90b; | |
| color: #0d1117; | |
| border-color: #f0b90b; | |
| } | |
| /* ---------- Page Content ---------- */ | |
| .page-content { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 24px; | |
| } | |
| .page-title { | |
| font-size: 26px; | |
| color: #f0b90b; | |
| margin-bottom: 8px; | |
| } | |
| .page-subtitle { | |
| color: #8b949e; | |
| font-size: 14px; | |
| margin-bottom: 24px; | |
| } | |
| /* ---------- Cards ---------- */ | |
| .card { | |
| background: #1e2329; | |
| border-radius: 12px; | |
| padding: 20px; | |
| margin-bottom: 16px; | |
| border: 1px solid #2a3138; | |
| } | |
| .card-title { | |
| font-size: 16px; | |
| font-weight: 600; | |
| color: #e6edf3; | |
| margin-bottom: 12px; | |
| } | |
| /* ---------- Tables ---------- */ | |
| .data-table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| font-size: 14px; | |
| } | |
| .data-table th { | |
| text-align: left; | |
| padding: 10px; | |
| border-bottom: 1px solid #30363d; | |
| color: #8b949e; | |
| font-weight: 600; | |
| font-size: 12px; | |
| text-transform: uppercase; | |
| } | |
| .data-table td { | |
| padding: 10px; | |
| border-bottom: 1px solid #21262d; | |
| } | |
| .data-table tr:hover { | |
| background: #161b22; | |
| } | |
| /* ---------- Values ---------- */ | |
| .value-positive { color: #4ade80; } | |
| .value-negative { color: #f87171; } | |
| .value-neutral { color: #f0b90b; } | |
| .value-muted { color: #8b949e; } | |
| /* ---------- Loading ---------- */ | |
| .loading { | |
| text-align: center; | |
| padding: 40px; | |
| color: #8b949e; | |
| } | |
| .spinner { | |
| display: inline-block; | |
| width: 20px; | |
| height: 20px; | |
| border: 3px solid #30363d; | |
| border-top-color: #f0b90b; | |
| border-radius: 50%; | |
| animation: spin 0.8s linear infinite; | |
| margin-right: 8px; | |
| vertical-align: middle; | |
| } | |
| @keyframes spin { | |
| to { transform: rotate(360deg); } | |
| } | |
| /* ---------- Buttons ---------- */ | |
| .btn { | |
| padding: 10px 18px; | |
| border: none; | |
| border-radius: 8px; | |
| font-size: 14px; | |
| font-weight: 600; | |
| cursor: pointer; | |
| font-family: inherit; | |
| transition: opacity 0.15s; | |
| } | |
| .btn:hover:not(:disabled) { opacity: 0.9; } | |
| .btn:disabled { opacity: 0.5; cursor: not-allowed; } | |
| .btn-primary { background: #f0b90b; color: #0d1117; } | |
| .btn-secondary { background: #30363d; color: #e6edf3; } | |
| /* ---------- Responsive ---------- */ | |
| /* ---------- Hamburger (mobile) ---------- */ | |
| .nav-hamburger { | |
| display: none; | |
| background: #1e2329; | |
| border: 1px solid #30363d; | |
| color: #e6edf3; | |
| font-size: 22px; | |
| font-weight: 700; | |
| cursor: pointer; | |
| padding: 8px 14px; | |
| border-radius: 8px; | |
| font-family: inherit; | |
| line-height: 1; | |
| min-height: 44px; | |
| position: fixed; | |
| top: 8px; | |
| right: 16px; | |
| z-index: 1002; | |
| } | |
| .nav-hamburger:focus { outline: none; border-color: #f0b90b; } | |
| .nav-hamburger.open { background: #f0b90b; color: #0d1117; } | |
| .nav-overlay { | |
| display: none; | |
| position: fixed; | |
| inset: 0; | |
| background: rgba(0,0,0,0.5); | |
| z-index: 999; | |
| } | |
| .nav-overlay.open { display: block; } | |
| @media (max-width: 768px) { | |
| body { padding-top: 80px; } | |
| .nav-bar { | |
| padding: 10px 16px; | |
| min-height: 70px; | |
| height: auto; | |
| align-items: center; | |
| justify-content: flex-start; | |
| flex-direction: row; | |
| } | |
| .nav-brand { | |
| position: static; | |
| font-size: 16px; | |
| max-width: calc(100% - 70px); | |
| overflow: visible; | |
| white-space: normal; | |
| } | |
| /* Scale the brand stack down so icon + title fit the mobile bar */ | |
| .nav-brand .nav-brand-icon { font-size: 30px ; line-height: 1.1; } | |
| .nav-brand .nav-brand-title { font-size: 19px ; } | |
| .nav-brand .nav-tagline { display: none; } | |
| .nav-hamburger { display: block; } | |
| .nav-links { | |
| display: none; | |
| position: fixed; | |
| top: 70px; | |
| left: 0; | |
| right: 0; | |
| flex-direction: column; | |
| gap: 4px; | |
| padding: 12px; | |
| background: #161b22; | |
| border-bottom: 1px solid #2a3138; | |
| z-index: 1000; | |
| max-height: calc(100vh - 70px); | |
| overflow-y: auto; | |
| } | |
| .nav-links.open { display: flex; } | |
| .nav-link { | |
| padding: 14px 16px; | |
| font-size: 15px; | |
| text-align: left; | |
| width: 100%; | |
| min-height: 44px; | |
| display: flex; | |
| align-items: center; | |
| } | |
| .page-content { padding: 16px; } | |
| /* Touch targets */ | |
| .btn { min-height: 44px; padding: 12px 18px; font-size: 15px; } | |
| .btn-mini { min-height: 36px; padding: 8px 14px; } | |
| } | |
| @media (max-width: 480px) { | |
| .nav-brand { font-size: 15px; } | |
| .nav-brand .nav-tagline { display: none; } | |
| .page-content { padding: 12px; } | |
| } | |