Spaces:
Running on Zero
Running on Zero
Download static/deck.css from wingsxyp/algorithm-research-deck: direct link, hf CLI and curl.
- Browser
- Download file 9.77 kB
-
https://huggingface.co/spaces/wingsxyp/algorithm-research-deck/resolve/main/static/deck.css
- Command line
-
hf download hf://spaces/wingsxyp/algorithm-research-deck/static/deck.css
-
curl -L -o deck.css https://huggingface.co/spaces/wingsxyp/algorithm-research-deck/resolve/main/static/deck.css
9.77 kB
| @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap'); | |
| :root { | |
| font-family: Manrope, "Noto Sans SC", "Microsoft YaHei", sans-serif; | |
| color: #edf3ff; | |
| background: #071018; | |
| color-scheme: dark; | |
| --bg: #071018; | |
| --panel: #0d1925; | |
| --panel-2: #122235; | |
| --line: rgba(151, 177, 207, .18); | |
| --accent: #5eead4; | |
| --accent-2: #7aa2ff; | |
| --text: #edf3ff; | |
| --muted: #97aabd; | |
| --warm: #f4bc67; | |
| } | |
| * { box-sizing: border-box; } | |
| html { scroll-behavior: smooth; } | |
| body { | |
| margin: 0; | |
| overflow: hidden; | |
| background: | |
| radial-gradient(circle at 78% 12%, rgba(45, 92, 145, .28), transparent 32%), | |
| radial-gradient(circle at 18% 88%, rgba(38, 127, 118, .16), transparent 28%), | |
| var(--bg); | |
| color: var(--text); | |
| } | |
| button, a { font: inherit; } | |
| .deck-nav { | |
| position: fixed; | |
| z-index: 30; | |
| inset: 0 0 auto; | |
| height: 58px; | |
| display: flex; | |
| align-items: center; | |
| gap: 9px; | |
| padding: 0 24px; | |
| border-bottom: 1px solid var(--line); | |
| background: rgba(7, 16, 24, .78); | |
| backdrop-filter: blur(18px); | |
| } | |
| .deck-nav strong { | |
| margin-right: auto; | |
| max-width: min(56vw, 760px); | |
| overflow: hidden; | |
| color: #dce9f8; | |
| font-size: 13px; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| } | |
| .deck-nav button { | |
| display: grid; | |
| place-items: center; | |
| min-width: 34px; | |
| height: 34px; | |
| padding: 0 9px; | |
| border: 1px solid var(--line); | |
| border-radius: 9px; | |
| background: rgba(18, 34, 53, .76); | |
| color: var(--text); | |
| cursor: pointer; | |
| transition: border-color .18s ease, transform .18s ease, background .18s ease; | |
| } | |
| .deck-nav button:hover { transform: translateY(-1px); border-color: var(--accent); background: #172b40; } | |
| #counter { min-width: 54px; color: var(--muted); font-size: 12px; text-align: center; } | |
| .overview { | |
| position: fixed; | |
| z-index: 50; | |
| inset: 0 auto 0 0; | |
| width: min(390px, 88vw); | |
| padding: 18px; | |
| overflow-y: auto; | |
| border-right: 1px solid var(--line); | |
| background: rgba(8, 18, 28, .98); | |
| box-shadow: 20px 0 60px rgba(0, 0, 0, .35); | |
| transform: translateX(-105%); | |
| transition: transform .24s ease; | |
| } | |
| .overview.open { transform: translateX(0); } | |
| .overview header { display: flex; align-items: center; margin-bottom: 14px; } | |
| .overview header strong { margin-right: auto; } | |
| .overview button { border: 0; background: transparent; color: var(--muted); font-size: 26px; cursor: pointer; } | |
| .overview > a { | |
| display: grid; | |
| grid-template-columns: 34px 1fr auto; | |
| gap: 8px; | |
| align-items: center; | |
| margin: 5px 0; | |
| padding: 11px; | |
| border: 1px solid transparent; | |
| border-radius: 9px; | |
| color: #c8d6e6; | |
| text-decoration: none; | |
| cursor: pointer; | |
| } | |
| .overview > a:hover, .overview > a.current { border-color: var(--line); background: var(--panel-2); color: #fff; } | |
| .overview small { color: var(--muted); } | |
| .scrim { position: fixed; z-index: 40; inset: 0; display: none; background: rgba(0, 0, 0, .48); } | |
| .scrim.open { display: block; } | |
| main { height: 100vh; } | |
| .slide { | |
| display: none; | |
| width: min(1500px, 100%); | |
| height: 100vh; | |
| margin: auto; | |
| padding: clamp(84px, 10vh, 112px) clamp(34px, 7vw, 112px) clamp(48px, 7vh, 78px); | |
| overflow: auto; | |
| align-content: center; | |
| animation: slide-in .24s ease-out; | |
| } | |
| .slide.active { display: grid; } | |
| @keyframes slide-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } } | |
| .eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; } | |
| h1 { max-width: 1120px; margin: .18em 0; font-size: clamp(44px, 6.5vw, 96px); line-height: 1.02; letter-spacing: -.045em; } | |
| h2 { margin: .15em 0 .42em; font-size: clamp(31px, 4vw, 58px); line-height: 1.08; letter-spacing: -.035em; } | |
| h3 { margin: .3em 0; } | |
| p, li, td, th { font-size: clamp(15px, 1.12vw, 19px); line-height: 1.55; } | |
| .subtitle { max-width: 920px; margin: 16px 0 28px; color: #bbcadb; font-size: clamp(19px, 2.1vw, 31px); line-height: 1.35; } | |
| .takeaway { max-width: 1120px; margin: 0; padding-left: 16px; border-left: 3px solid var(--accent); color: #cfdaea; font-size: clamp(17px, 1.65vw, 24px); line-height: 1.42; } | |
| .cover { position: relative; align-content: center; overflow: hidden; } | |
| .cover-orb { position: absolute; z-index: -1; top: 12%; right: 4%; width: min(42vw, 580px); aspect-ratio: 1; border: 1px solid rgba(94, 234, 212, .24); border-radius: 50%; box-shadow: inset 0 0 90px rgba(65, 126, 180, .18), 0 0 100px rgba(94, 234, 212, .08); } | |
| .cover-orb::before, .cover-orb::after { content: ""; position: absolute; inset: 13%; border: 1px solid rgba(122, 162, 255, .18); border-radius: 50%; } | |
| .cover-orb::after { inset: 30%; background: rgba(94, 234, 212, .05); } | |
| .cover-meta { display: flex; flex-wrap: wrap; gap: 8px; } | |
| .cover-meta span, .source-chips a, .source-chips span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(18, 34, 53, .68); color: #b9cde1; font-size: 12px; } | |
| .evidence-note { max-width: 900px; color: var(--muted); font-size: 13px; } | |
| .hint { position: absolute; bottom: 34px; color: #63778b; font-size: 11px; } | |
| .summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; max-width: 1180px; } | |
| .summary-card { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(145deg, rgba(18, 34, 53, .88), rgba(11, 25, 37, .9)); } | |
| .summary-card span, .agenda-grid > a span { color: var(--accent); font-size: 11px; font-weight: 700; } | |
| .summary-card p { margin: 0; } | |
| .agenda-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 1120px; } | |
| .agenda-grid > a { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); color: var(--text); text-decoration: none; cursor: pointer; transition: transform .18s ease, border-color .18s ease; } | |
| .agenda-grid > a:hover { transform: translateY(-2px); border-color: var(--accent); } | |
| .agenda-grid small { color: var(--muted); font-size: 11px; } | |
| .content-slide { grid-template-rows: auto 1fr auto; align-content: stretch; gap: 22px; } | |
| .slide-header { align-self: end; } | |
| .slide-content { min-height: 0; overflow: auto; padding-right: 4px; } | |
| .slide-footer { display: flex; align-items: center; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; } | |
| .slide-footer > span { margin-left: auto; } | |
| .source-chips { display: flex; flex-wrap: wrap; gap: 5px; } | |
| .source-chips a { color: #acd0ff; text-decoration: none; } | |
| .source-chips a:hover { border-color: var(--accent); } | |
| .timeline { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 12px; overflow-x: auto; padding: 10px 2px 18px; } | |
| .milestone { min-width: 0; padding: 15px; border: 1px solid var(--line); border-top: 3px solid var(--accent-2); border-radius: 11px; background: var(--panel); color: var(--text); } | |
| .milestone span { display: block; margin-bottom: 7px; color: var(--accent); font-size: 11px; } | |
| .milestone h3 { font-size: 17px; } | |
| .table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; } | |
| table { width: 100%; border-collapse: collapse; background: rgba(10, 23, 35, .7); } | |
| th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; } | |
| thead th { position: sticky; top: 0; z-index: 2; background: #14283b; color: #dcecff; } | |
| tbody th { color: var(--accent); } | |
| .references { align-content: start; } | |
| .references ol { display: grid; gap: 8px; padding: 0; list-style: none; } | |
| .references li { display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 12px; border-bottom: 1px solid var(--line); } | |
| .references a { color: #b7d2ff; font-weight: 600; text-decoration: none; } | |
| .references a:hover { text-decoration: underline; } | |
| .references li span { color: var(--muted); font-size: 12px; } | |
| .ref-index { color: var(--accent) ; font-weight: 700; } | |
| .limitations { margin-top: 18px; padding: 14px 14px 14px 34px; border-left: 3px solid var(--warm); background: rgba(91, 61, 21, .16); } | |
| .empty-state { color: var(--muted); } | |
| .progress { position: fixed; z-index: 31; inset: auto 0 0; height: 3px; background: rgba(255, 255, 255, .06); } | |
| .progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--accent)); transition: width .25s; } | |
| @media (max-width: 760px) { | |
| body { overflow: auto; } | |
| .deck-nav strong { display: none; } | |
| .slide, .slide.active { display: block; height: auto; min-height: 100vh; padding: 84px 20px 48px; overflow: visible; border-bottom: 1px solid var(--line); } | |
| .summary-grid, .agenda-grid { grid-template-columns: 1fr; } | |
| .content-slide { min-height: auto; } | |
| .slide-content { overflow: visible; } | |
| .slide-footer { margin-top: 20px; } | |
| .hint { position: static; margin-top: 38px; } | |
| .progress { display: none; } | |
| } | |
| @media print { | |
| @page { size: landscape; margin: 0; } | |
| body { overflow: visible; background: #fff; color: #111; } | |
| .deck-nav, .overview, .scrim, .progress, .hint { display: none ; } | |
| .slide, .slide.active { display: grid; width: 100%; height: 100vh; min-height: 0; padding: 12mm 16mm; overflow: hidden; break-after: page; background: #fff; color: #111; animation: none; } | |
| .slide:last-child { break-after: auto; } | |
| .takeaway { color: #263748; } | |
| .slide-content { overflow: hidden; } | |
| .summary-card, .agenda-grid > a, .milestone, .content-card, .content-item, .content-field, .flow-node, .flow-lane { background: #f6f8fb ; color: #111 ; border-color: #cfd7e1 ; } | |
| a { color: #111 ; } | |
| } | |