Spaces:
Running
Running
Download talk.css from eneeyan/first-year-talk: direct link, hf CLI and curl.
- Browser
- Download file 8.93 kB
-
https://huggingface.co/spaces/eneeyan/first-year-talk/resolve/main/talk.css
- Command line
-
hf download hf://spaces/eneeyan/first-year-talk/talk.css
-
curl -L -o talk.css https://huggingface.co/spaces/eneeyan/first-year-talk/resolve/main/talk.css
8.93 kB
| :root { | |
| --bg: #05050b; | |
| --ink: #f4f2ff; | |
| --muted: #a7a3c2; | |
| --line: rgba(255,255,255,0.1); | |
| --accent: #8b7cff; | |
| --cyan: #22d3ee; | |
| --pink: #f472b6; | |
| --good: #34d399; | |
| --bad: #fb7185; | |
| --font: Inter, system-ui, sans-serif; | |
| --display: "Space Grotesk", Inter, sans-serif; | |
| --mono: "JetBrains Mono", ui-monospace, monospace; | |
| } | |
| * { box-sizing: border-box; margin: 0; padding: 0; } | |
| html, body { height: 100%; } | |
| body { | |
| font-family: var(--font); | |
| background: var(--bg); | |
| color: var(--ink); | |
| overflow: hidden; | |
| } | |
| .ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; } | |
| .orb { | |
| position: absolute; width: 42vw; height: 42vw; border-radius: 50%; | |
| filter: blur(80px); opacity: 0.35; | |
| } | |
| .orb-a { top: -12%; left: -8%; background: #4c3dff; } | |
| .orb-b { right: -10%; bottom: -18%; background: #0ea5b7; } | |
| .grid-fade { | |
| position: absolute; inset: 0; | |
| background-image: | |
| linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), | |
| linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); | |
| background-size: 48px 48px; | |
| mask-image: radial-gradient(circle at 50% 40%, black 20%, transparent 75%); | |
| } | |
| .deck-bar, .deck, .deck-nav, .hint, .progress, .notes-panel, .overview { | |
| position: relative; z-index: 2; | |
| } | |
| .deck-bar { | |
| position: fixed; top: 0; left: 0; right: 0; | |
| display: flex; align-items: center; justify-content: space-between; | |
| padding: 14px 22px; gap: 16px; | |
| background: linear-gradient(to bottom, rgba(5,5,11,0.85), transparent); | |
| } | |
| .brand { | |
| font-family: var(--display); font-weight: 700; font-size: 1.2rem; | |
| color: inherit; text-decoration: none; | |
| } | |
| .brand span { color: var(--accent); } | |
| .deck-meta { color: var(--muted); font-size: 0.82rem; display: flex; align-items: center; gap: 8px; } | |
| .live-dot { | |
| width: 8px; height: 8px; border-radius: 50%; background: var(--good); | |
| box-shadow: 0 0 0 4px rgba(52,211,153,0.15); | |
| } | |
| .deck-actions { display: flex; gap: 8px; flex-wrap: wrap; } | |
| .ghost { | |
| background: rgba(255,255,255,0.05); border: 1px solid var(--line); | |
| color: var(--ink); border-radius: 999px; padding: 7px 12px; | |
| font-size: 0.78rem; text-decoration: none; cursor: pointer; | |
| } | |
| .ghost:hover { border-color: var(--accent); } | |
| .progress { | |
| position: fixed; top: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,0.06); z-index: 5; | |
| } | |
| .progress i { | |
| display: block; height: 100%; width: 10%; | |
| background: linear-gradient(90deg, var(--accent), var(--cyan), var(--pink)); | |
| transition: width 0.35s ease; | |
| } | |
| .deck { | |
| height: 100vh; outline: none; | |
| } | |
| .slide { | |
| display: none; height: 100vh; padding: 88px 7vw 96px; | |
| flex-direction: column; justify-content: center; gap: 22px; | |
| animation: rise 0.45s ease; | |
| } | |
| .slide.is-active { display: flex; } | |
| @keyframes rise { | |
| from { opacity: 0; transform: translateY(18px); } | |
| to { opacity: 1; transform: none; } | |
| } | |
| .kicker { | |
| letter-spacing: 0.16em; text-transform: uppercase; | |
| font-size: 0.78rem; color: var(--cyan); font-weight: 700; | |
| } | |
| h1 { | |
| font-family: var(--display); | |
| font-size: clamp(2rem, 5.4vw, 4.4rem); | |
| line-height: 1.08; max-width: 18ch; font-weight: 700; | |
| } | |
| h1 em, .gradient, .big-quote em { | |
| font-style: normal; | |
| background: linear-gradient(135deg, #c4b5fd, #67e8f9, #f9a8d4); | |
| -webkit-background-clip: text; background-clip: text; color: transparent; | |
| } | |
| .lede { max-width: 62ch; color: #d8d5ef; font-size: clamp(1rem, 1.7vw, 1.28rem); line-height: 1.65; } | |
| .points { margin-left: 1.1rem; color: var(--muted); display: grid; gap: 10px; font-size: 1.05rem; } | |
| .points strong { color: var(--ink); } | |
| .chip-row, .logo-cloud, .mini-stats { display: flex; flex-wrap: wrap; gap: 10px; } | |
| .chip-row span, .logo-cloud span, .mini-stats span { | |
| border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; | |
| color: var(--muted); font-size: 0.88rem; background: rgba(255,255,255,0.03); | |
| } | |
| .speaker-card, .quote-card, .panel, .stat-grid article, .lms-card, .code { | |
| background: rgba(17,17,28,0.72); | |
| border: 1px solid var(--line); | |
| border-radius: 22px; | |
| backdrop-filter: blur(16px); | |
| } | |
| .speaker-card { | |
| display: flex; align-items: center; gap: 14px; padding: 12px 16px; width: fit-content; | |
| } | |
| .speaker-card img { width: 54px; height: 54px; object-fit: cover; border-radius: 50%; } | |
| .speaker-card span { display: block; color: var(--muted); font-size: 0.85rem; } | |
| .split, .who, .lms, .end-row { display: grid; gap: 28px; align-items: center; min-width: 0; } | |
| .split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } | |
| .who { grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); } | |
| .lms { grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr); } | |
| .end-row { grid-template-columns: 1fr auto; align-items: center; } | |
| .who-copy { min-width: 0; overflow: hidden; } | |
| .quote-card, .lms-card { padding: 28px; } | |
| .quote-card p, .big-quote { | |
| font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.25; | |
| } | |
| .quote-card span, .big-quote small { display: block; margin-top: 12px; color: var(--muted); font-size: 0.95rem; } | |
| .two-col, .stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; } | |
| .stat-grid { grid-template-columns: repeat(3, 1fr); } | |
| .panel, .stat-grid article { padding: 22px; } | |
| .panel h3, .stat-grid h3 { font-family: var(--display); margin-bottom: 8px; } | |
| .panel p, .stat-grid p { color: var(--muted); } | |
| .panel.danger { border-color: rgba(251,113,133,0.35); } | |
| .panel.win { border-color: rgba(52,211,153,0.35); } | |
| .callout { | |
| border-left: 3px solid var(--accent); padding: 8px 0 8px 16px; color: #ddd9ff; | |
| } | |
| .photo img { | |
| width: 100%; height: min(38vh, 300px); object-fit: cover; border-radius: 22px; | |
| border: 1px solid var(--line); | |
| } | |
| .photo.wide img { height: 180px; } | |
| .photo figcaption { color: var(--muted); font-size: 0.85rem; margin-top: 8px; } | |
| .who-photo { | |
| width: 100%; height: min(42vh, 320px); object-fit: cover; border-radius: 28px; | |
| border: 1px solid var(--line); justify-self: center; | |
| } | |
| .metric-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0; } | |
| .metric-row div { | |
| background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 16px; padding: 14px; | |
| } | |
| .metric-row b { display: block; font-family: var(--display); font-size: 1.45rem; } | |
| .metric-row span { color: var(--muted); font-size: 0.8rem; } | |
| .code { | |
| padding: 22px; overflow: auto; font-family: var(--mono); font-size: 0.92rem; line-height: 1.7; | |
| color: #d6d3f5; | |
| } | |
| .cmt { color: #6b7280; } .kw { color: #c4b5fd; } .fn { color: #67e8f9; } .str { color: #f9a8d4; } | |
| .cta { | |
| display: inline-flex; margin-top: 8px; background: linear-gradient(135deg, #7c6aff, #22d3ee); | |
| color: #081018; font-weight: 800; text-decoration: none; border-radius: 999px; padding: 14px 22px; | |
| } | |
| .url { font-family: var(--display); font-size: 2rem; color: var(--cyan); } | |
| .next { display: grid; gap: 14px; max-width: 70ch; padding-left: 1.2rem; color: var(--muted); font-size: 1.12rem; } | |
| .next a { color: var(--cyan); } | |
| .deck-nav { | |
| position: fixed; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 12px; | |
| } | |
| .deck-nav button { | |
| background: #fff; color: #111; border: 0; border-radius: 999px; | |
| padding: 12px 18px; font-weight: 700; cursor: pointer; | |
| } | |
| .count { color: var(--muted); font-variant-numeric: tabular-nums; } | |
| .hint { | |
| position: fixed; left: 22px; bottom: 22px; color: #6b6788; font-size: 0.78rem; | |
| } | |
| .notes-panel { | |
| position: fixed; left: 22px; bottom: 62px; width: min(420px, 90vw); | |
| background: rgba(10,10,18,0.92); border: 1px solid var(--line); border-radius: 16px; | |
| padding: 16px; color: #d6d3ea; | |
| } | |
| .notes-panel[hidden] { display: none ; } | |
| .notes-panel h2 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; } | |
| .overview { | |
| position: fixed; inset: 0; background: rgba(5,5,11,0.92); overflow: auto; | |
| display: none; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); | |
| gap: 14px; padding: 80px 24px 24px; z-index: 8; | |
| } | |
| .overview:not([hidden]) { display: grid; } | |
| .overview button { | |
| text-align: left; background: #12121c; color: var(--ink); border: 1px solid var(--line); | |
| border-radius: 16px; padding: 16px; cursor: pointer; min-height: 120px; | |
| } | |
| .overview button.active { border-color: var(--cyan); } | |
| @media (max-width: 1100px) { | |
| .metric-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } | |
| } | |
| @media (max-width: 980px) { | |
| .slide { padding: 86px 20px 120px; justify-content: flex-start; overflow: auto; } | |
| h1 { max-width: none; } | |
| .split, .who, .lms, .two-col, .stat-grid, .end-row, .metric-row { grid-template-columns: 1fr; } | |
| .photo img, .who-photo { height: 220px; width: 100%; } | |
| .deck-meta { display: none; } | |
| .hint { display: none; } | |
| } | |