nexu-io/open-design / plugins/_official/examples/hps-memphis-pop
hps-memphis-pop
VerifiedA pop-culture retrospective on how 1980s design language shaped today's apps — the scenes, the turning point, and the takeaway. Built as a decision-grade story deck for talk audience, design community.
| File | Kind | Size |
|---|---|---|
| LICENSE | other | 1.1 KB |
| SKILL.md | skill md | 8.8 KB |
| example.html | other | 25.2 KB |
| open-design.json | config | 5.6 KB |
example.html
View on GitHub<!DOCTYPE html>
<html lang="en" data-theme="memphis-pop">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Turn a Pop-Culture Retrospective into a Talk like an Editorial Curator - Life & story</title>
<style>
/* hps-memphis-pop :: webfonts (Google Fonts @import only — no other external deps) */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap');
</style>
<style>
/* ============================================================
MEMPHIS POP — LOCKED TOKEN SHEET
Ported from lewislulu/html-ppt-skill assets/themes/memphis-pop.css.
This deck is single-theme: do not add other theme blocks.
============================================================ */
:root{
--bg:#fef6e8; --bg-soft:#fdebc7; --surface:#ffffff; --surface-2:#fff1d1;
--border:#111111; --border-strong:#111111;
--text-1:#111111; --text-2:#333333; --text-3:#666666;
--accent:#ff3d8b; --accent-2:#37c2d7; --accent-3:#ffcc00;
--good:#6ac04c; --warn:#ffcc00; --bad:#ff3d8b;
--grad:linear-gradient(135deg,#ff3d8b,#ffcc00 50%,#37c2d7);
--grad-soft:linear-gradient(135deg,#fdebc7,#fff1d1);
--radius:10px; --radius-sm:6px; --radius-lg:18px;
--shadow:5px 5px 0 #111; --shadow-lg:9px 9px 0 #111;
--font-sans:'Space Grotesk','Inter','Noto Sans SC',sans-serif;
--font-serif:'Space Grotesk','Noto Sans SC',sans-serif;
--font-mono:'JetBrains Mono',SFMono-Regular,Menlo,monospace;
--font-display:'Archivo Black','Space Grotesk',sans-serif;
--letter-tight:-.01em; --letter-normal:0;
--ease:cubic-bezier(.4,0,.2,1);
}
</style>
<style>
/* ============================================================
BASE + SLIDE SYSTEM — horizontal scroll-snap deck.
One <section class="slide"> = exactly one viewport screen.
Designed at 16:9 (1280×720 baseline), fluid to the viewport.
============================================================ */
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0;height:100%}
body{background:var(--bg);color:var(--text-1);font-family:var(--font-sans);
font-weight:400;line-height:1.6;letter-spacing:var(--letter-normal);
-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow:hidden;
/* Signature device #1 — full-bleed confetti-dot canvas (three offset
radial-gradient layers of 3px dots). Slides stay transparent so this
pattern shows through on every page. */
background-image:
radial-gradient(circle at 10% 20%,#ff3d8b 3px,transparent 4px),
radial-gradient(circle at 80% 40%,#37c2d7 3px,transparent 4px),
radial-gradient(circle at 30% 80%,#ffcc00 3px,transparent 4px);
background-size:200px 200px,220px 220px,260px 260px}
img,svg,video{max-width:100%;display:block}
code,kbd,pre,samp{font-family:var(--font-mono)}
.deck{display:flex;width:100vw;height:100vh;overflow-x:auto;overflow-y:hidden;
scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}
.deck::-webkit-scrollbar{display:none}
.slide{position:relative;flex:0 0 100vw;height:100vh;scroll-snap-align:start;
display:flex;flex-direction:column;justify-content:center;
padding:72px 96px;overflow:hidden}
/* ============ TYPOGRAPHY ============ */
.eyebrow{font-size:13px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--text-3);margin:0}
.kicker{font-size:14px;font-weight:700;color:var(--accent);letter-spacing:.1em;text-transform:uppercase;margin:0 0 10px}
.h1{font-family:var(--font-display);font-size:clamp(44px,5.4vw,70px);line-height:1.06;font-weight:400;letter-spacing:var(--letter-tight);margin:0 0 18px;color:var(--text-1);text-transform:uppercase}
.h2{font-family:var(--font-display);font-size:clamp(32px,3.9vw,50px);line-height:1.12;font-weight:400;letter-spacing:var(--letter-tight);margin:0 0 14px;color:var(--text-1);text-transform:uppercase}
.h3{font-size:clamp(22px,2.5vw,32px);line-height:1.2;font-weight:700;margin:0 0 10px}
.h4{font-size:clamp(17px,1.7vw,22px);line-height:1.3;font-weight:700;margin:0 0 8px}
.lede{font-size:clamp(17px,1.7vw,22px);line-height:1.55;color:var(--text-2);font-weight:400;max-width:62ch;margin:0}
.dim{color:var(--text-2)}
.dim2{color:var(--text-3)}
.mono{font-family:var(--font-mono)}
/* Legibility: the yellow stop of --grad falls below AA on cream/white, so
gradient display text carries the family's near-black ink outline
(same device as .section-num's text-stroke). Tokens untouched. */
.gradient-text{background:var(--grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;-webkit-text-stroke:1.5px #111}
/* ============ LAYOUT PRIMITIVES ============ */
.row{display:flex;gap:24px;align-items:center}
.row.wrap{flex-wrap:wrap}
.grid{display:grid;gap:24px}
.g2{grid-template-columns:repeat(2,1fr)}
.g3{grid-template-columns:repeat(3,1fr)}
.g4{grid-template-columns:repeat(4,1fr)}
.center{display:flex;align-items:center;justify-content:center;text-align:center}
.mt-s{margin-top:8px}.mt-m{margin-top:18px}.mt-l{margin-top:32px}
/* ============ CARDS / PILLS — Memphis: 2.5px ink outlines, hard shadows ============ */
.card{background:var(--surface);border:2.5px solid #111;border-radius:var(--radius);
padding:26px 28px;box-shadow:var(--shadow);position:relative;overflow:hidden}
.card-soft{background:var(--surface-2)}
.card-accent{border-top:8px solid var(--accent)}
.card-teal{border-top:8px solid var(--accent-2)}
.card-yellow{border-top:8px solid var(--accent-3)}
.pill{display:inline-block;padding:5px 14px;border-radius:999px;font-size:12px;font-weight:700;
background:var(--surface);color:var(--text-1);border:2px solid #111;box-shadow:3px 3px 0 #111;
transform:rotate(-2deg)}
.pill:nth-child(even){transform:rotate(2deg)}
.pill-accent{background:var(--accent);color:#111}
.pill-teal{background:var(--accent-2);color:#111}
.pill-yellow{background:var(--accent-3);color:#111}
.divider-accent{height:10px;width:96px;background:var(--accent);border:2.5px solid #111;border-radius:999px;box-shadow:3px 3px 0 #111}
/* ============ DECK CHROME ============ */
.deck-header{position:fixed;top:24px;left:40px;right:40px;display:flex;align-items:center;justify-content:space-between;
font-size:12px;font-weight:700;color:var(--text-2);letter-spacing:.12em;text-transform:uppercase;z-index:10;pointer-events:none}
.deck-footer{position:fixed;bottom:24px;left:40px;right:40px;display:flex;align-items:center;justify-content:space-between;
font-size:12px;font-weight:700;color:var(--text-2);z-index:10;pointer-events:none}
.theme-chip{font-family:var(--font-mono);font-size:11px;letter-spacing:.04em;text-transform:none}
.progress-bar{position:fixed;left:0;right:0;bottom:0;height:6px;z-index:20;pointer-events:none;border-top:2.5px solid #111}
.progress-bar>span{display:block;height:100%;width:0;background:var(--accent);transition:width .3s var(--ease)}
/* ============ MEMPHIS GEOMETRIC SVG CONFETTI ============ */
.memphis-shape{position:absolute;z-index:0;pointer-events:none}
.slide>*{position:relative;z-index:1}
/* .slide>* would otherwise re-flow the decor shapes (same specificity,
later in cascade); this higher-specificity rule keeps them absolute. */
.slide>.memphis-shape{position:absolute;z-index:0}
/* ============ SLIDE-LOCAL COMPONENTS ============ */
.section-num{position:absolute;right:72px;bottom:24px;font-family:var(--font-display);
font-size:clamp(140px,19vw,250px);line-height:.9;letter-spacing:-.02em;z-index:0;pointer-events:none;
color:var(--surface);-webkit-text-stroke:3px #111;text-shadow:8px 8px 0 var(--accent-3)}
.kpi .num{font-family:var(--font-display);font-size:clamp(32px,3.8vw,50px);letter-spacing:var(--letter-tight);line-height:1.1}
.kpi .lbl{font-size:14px;color:var(--text-2);margin-top:6px;font-weight:500}
.stat-big{font-family:var(--font-display);font-size:clamp(110px,15vw,200px);line-height:1;letter-spacing:-.02em;margin:0}
.bar-chart{display:flex;align-items:flex-end;gap:18px;height:240px;margin-top:40px;max-width:820px;
/* ink baseline so the bars sit on an axis instead of floating */
border-bottom:2.5px solid #111}
.bar-chart .bar{flex:1;border:2.5px solid #111;border-bottom:none;border-radius:8px 8px 0 0;position:relative;min-height:18px;box-shadow:5px 0 0 #111}
.bar-chart .bar span{position:absolute;bottom:-32px;left:0;right:0;text-align:center;font-size:13px;font-weight:700;color:var(--text-2)}
.bar-chart .bar em{position:absolute;top:-32px;left:0;right:0;text-align:center;font-size:15px;font-weight:700;font-style:normal;color:var(--text-1)}
.steps{counter-reset:step}
.steps .card{padding-top:38px}
.steps .card::before{counter-increment:step;content:counter(step,decimal-leading-zero);
font-family:var(--font-display);font-size:14px;color:#111;background:var(--accent);
border:2px solid #111;border-radius:999px;padding:2px 10px;
position:absolute;top:12px;left:24px;letter-spacing:.06em}
.quote{font-family:var(--font-display);font-size:clamp(26px,3.3vw,44px);line-height:1.35;max-width:26ch;margin:0;text-transform:uppercase}
.check{list-style:none;padding:0;margin:0;font-size:clamp(15px,1.5vw,19px)}
.check li{padding:9px 0 9px 36px;position:relative;color:var(--text-2);font-weight:500}
.check li::before{content:"";position:absolute;left:0;top:13px;width:18px;height:18px;border-radius:5px;
background:var(--accent-3);border:2.5px solid #111;box-shadow:2px 2px 0 #111}
.check li::after{content:"";position:absolute;left:5px;top:18px;width:9px;height:5px;
border-left:2.5px solid #111;border-bottom:2.5px solid #111;transform:rotate(-45deg)}
/* ============ SPEAKER NOTES (hidden from audience) ============ */
.notes{display:none!important}
/* ============ ANIMATIONS (entry effects, upstream subset) ============ */
@keyframes kf-rise{from{opacity:0;transform:translateY(60px) scale(.97)}to{opacity:1;transform:none}}
@keyframes kf-fade-up{from{opacity:0;transform:translateY(32px)}to{opacity:1;transform:none}}
@keyframes kf-zoom-pop{from{opacity:0;transform:scale(.85) rotate(-2deg)}60%{transform:scale(1.04)}to{opacity:1;transform:none}}
.anim-rise-in{animation:kf-rise .9s var(--ease) both}
.anim-fade-up{animation:kf-fade-up .7s var(--ease) both}
.anim-zoom-pop{animation:kf-zoom-pop .8s var(--ease) both}
.anim-stagger-list>*{opacity:0;animation:kf-rise .65s var(--ease) both}
.anim-stagger-list>*:nth-child(1){animation-delay:.05s}
.anim-stagger-list>*:nth-child(2){animation-delay:.15s}
.anim-stagger-list>*:nth-child(3){animation-delay:.25s}
.anim-stagger-list>*:nth-child(4){animation-delay:.35s}
.anim-stagger-list>*:nth-child(5){animation-delay:.45s}
.anim-stagger-list>*:nth-child(n+6){animation-delay:.55s}
/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce){
.anim-rise-in,.anim-fade-up,.anim-zoom-pop,.anim-stagger-list>*{animation:none;opacity:1}
.progress-bar>span{transition:none}
}
/* ============ PRINT ============ */
@media print{
body{overflow:visible}
.deck{display:block;width:auto;height:auto;overflow:visible}
.slide{width:100vw;height:100vh;page-break-after:always}
.deck-header,.deck-footer,.progress-bar{display:none!important}
}
</style>
<style id="od-no-pager">.deck-controls,#counter,.deck-counter{display:none!important}</style>
</head>
<body>
<div class="deck-header"><span>The Eighties Never Left · 2026</span><span class="theme-chip">memphis-pop</span></div>
<div class="deck" id="deck">
<!-- 1 · layout: cover -->
<section class="slide" data-title="Cover">
<svg class="memphis-shape" style="top:9%;right:12%" width="92" height="92" viewBox="0 0 92 92"><polygon points="46,8 84,80 8,80" fill="#ffcc00" stroke="#111" stroke-width="3"/></svg>
<svg class="memphis-shape" style="bottom:14%;right:24%" width="120" height="34" viewBox="0 0 120 34"><polyline points="4,26 20,8 36,26 52,8 68,26 84,8 100,26 116,8" fill="none" stroke="#37c2d7" stroke-width="5" stroke-linecap="round"/></svg>
<svg class="memphis-shape" style="top:24%;left:58%" width="54" height="54" viewBox="0 0 54 54"><circle cx="27" cy="27" r="22" fill="#ff3d8b" stroke="#111" stroke-width="3"/></svg>
<svg class="memphis-shape" style="bottom:22%;left:46%" width="44" height="44" viewBox="0 0 44 44"><path d="M22 4v36M4 22h36" stroke="#111" stroke-width="5" stroke-linecap="round"/></svg>
<p class="kicker">Life & story · a design-history talk</p>
<h1 class="h1 anim-rise-in">The Eighties<br><span class="gradient-text">Never Left</span></h1>
<p class="lede">A pop-culture retrospective on how one decade's neon, chrome, and pixel art quietly became the visual grammar of the apps on your phone.</p>
<div class="row wrap mt-l" style="gap:12px">
<span class="pill pill-accent">22-minute talk</span>
<span class="pill pill-teal">design community track</span>
<span class="pill pill-yellow">est. 1984</span>
<span class="pill">Q&A after</span>
</div>
<div class="notes"></div>
</section>
<!-- 2 · layout: toc -->
<section class="slide" data-title="Agenda">
<svg class="memphis-shape" style="top:12%;right:9%" width="100" height="56" viewBox="0 0 100 56"><path d="M8 48a42 42 0 0 1 84 0" fill="none" stroke="#ff3d8b" stroke-width="5" stroke-dasharray="2 10" stroke-linecap="round"/></svg>
<p class="kicker">Opening question</p>
<h2 class="h2">Why does your home screen look like 1984?</h2>
<div class="grid g3 mt-l anim-stagger-list">
<div class="card card-accent"><h4 class="h4">① The scenes</h4><p class="dim">Video-store neon, arcade cabinets, and a synthesizer soundtrack — the visual noise of one decade.</p></div>
<div class="card card-teal"><h4 class="h4">② The turning point</h4><p class="dim">One afternoon in Cupertino when a painter was handed 32 pixels and told to make a computer feel human.</p></div>
<div class="card card-yellow"><h4 class="h4">③ The meaning</h4><p class="dim">Why the industry keeps reaching back for warmth every time software gets too flat.</p></div>
</div>
<div class="notes"></div>
</section>
<!-- 3 · layout: section-divider -->
<section class="slide" data-title="Section · The scenes">
<span class="section-num">01</span>
<svg class="memphis-shape" style="top:18%;left:52%" width="110" height="30" viewBox="0 0 110 30"><polyline points="4,22 18,8 32,22 46,8 60,22 74,8 88,22 102,8" fill="none" stroke="#ffcc00" stroke-width="5" stroke-linecap="round"/></svg>
<p class="eyebrow">Act one</p>
<h2 class="h2">Three scenes from<br>the video-store era</h2>
<div class="divider-accent mt-m"></div>
<div class="notes"></div>
</section>
<!-- 4 · layout: two-column -->
<section class="slide" data-title="The insight">
<svg class="memphis-shape" style="bottom:12%;right:7%" width="60" height="60" viewBox="0 0 60 60"><circle cx="30" cy="30" r="24" fill="none" stroke="#37c2d7" stroke-width="5"/></svg>
<p class="kicker">The insight</p>
<h2 class="h2">Neon grids, one Tuesday night</h2>
<div class="grid g2 mt-l">
<div>
<p class="lede">Picture a Tower Records endcap in 1983: chrome lettering, a magenta-to-cyan gradient sunset, and a grid line racing to the horizon like the opening shot of Tron.</p>
<ul class="check mt-m">
<li>MTV's 1981 logo — a static shape built to be endlessly recolored</li>
<li>Blockbuster and video-arcade signage — thick black outlines on flat neon</li>
<li>Memphis Group furniture — clashing color blocks treated as decoration, not error</li>
<li>Synth-pop album art — the gradient sky as a mood, not a background</li>
</ul>
</div>
<div class="card card-soft">
<h3 class="h3">The throughline, in one line</h3>
<p class="dim">Every one of those scenes shows up again this week — on a phone's lock screen, a fintech app's onboarding, a streaming service's loading state.</p>
<div class="row wrap mt-m" style="gap:10px">
<span class="pill pill-accent">chrome type</span>
<span class="pill pill-teal">gradient sky</span>
<span class="pill pill-yellow">ink outline</span>
</div>
</div>
</div>
<div class="notes"></div>
</section>
<!-- 5 · layout: kpi-grid -->
<section class="slide" data-title="Community numbers">
<svg class="memphis-shape" style="top:10%;right:11%" width="80" height="80" viewBox="0 0 80 80"><polygon points="40,6 74,72 6,72" fill="none" stroke="#ff3d8b" stroke-width="4"/></svg>
<p class="kicker">The revival, by the numbers</p>
<h2 class="h2">It never really left</h2>
<div class="grid g4 mt-l anim-stagger-list">
<div class="card kpi"><div class="num gradient-text">1984</div><div class="lbl">the year the first icon set gave software a face</div></div>
<div class="card kpi"><div class="num gradient-text">37</div><div class="lbl">major brands that shipped an 80s-inspired gradient logo since 2020</div></div>
<div class="card kpi"><div class="num gradient-text">6</div><div class="lbl">of the last 10 App-Store "app of the year" picks used a retro palette</div></div>
<div class="card kpi"><div class="num gradient-text">40</div><div class="lbl">years between the arcade cabinet and the app icon it inspired</div></div>
</div>
<div class="notes"></div>
</section>
<!-- 6 · layout: stat-highlight -->
<section class="slide center" data-title="Headline stat">
<svg class="memphis-shape" style="top:16%;left:16%" width="100" height="28" viewBox="0 0 100 28"><polyline points="4,20 16,8 28,20 40,8 52,20 64,8 76,20 88,8" fill="none" stroke="#ff3d8b" stroke-width="5" stroke-linecap="round"/></svg>
<svg class="memphis-shape" style="bottom:18%;right:18%" width="56" height="56" viewBox="0 0 56 56"><circle cx="28" cy="28" r="22" fill="#ffcc00" stroke="#111" stroke-width="3"/></svg>
<p class="kicker">The turning point, in one year</p>
<p class="stat-big gradient-text anim-zoom-pop">1984</p>
<p class="lede mt-m" style="max-width:46ch">the year Susan Kare drew 32-pixel icons for the Macintosh — a trash can, a paintbrush, a smiling computer — and gave software its first personality.</p>
<div class="notes"></div>
</section>
<!-- 7 · layout: chart-bar (pure CSS bars — no chart library) -->
<section class="slide" data-title="Plugin mix">
<p class="kicker">Where it still shows up</p>
<h2 class="h2">Four places you see it without noticing</h2>
<div class="bar-chart">
<div class="bar" style="height:92%;background:#ff3d8b"><em>App icons</em><span>skeuomorphic gradients</span></div>
<div class="bar" style="height:68%;background:#37c2d7"><em>Onboarding</em><span>neon perspective grids</span></div>
<div class="bar" style="height:48%;background:#ffcc00"><em>Loading states</em><span>chunky monospace type</span></div>
<div class="bar" style="height:30%;background:#6ac04c"><em>Error pages</em><span>arcade-style illustration</span></div>
</div>
<p class="dim2 mt-l" style="margin-top:56px">Same visual DNA, four different screens — the height is roughly how often each one turns up in a week of app-store browsing.</p>
<div class="notes"></div>
</section>
<!-- 8 · layout: process-steps -->
<section class="slide" data-title="Workflow">
<svg class="memphis-shape" style="top:11%;right:8%" width="44" height="44" viewBox="0 0 44 44"><path d="M22 4v36M4 22h36" stroke="#37c2d7" stroke-width="5" stroke-linecap="round"/></svg>
<p class="kicker">How the story is told</p>
<h2 class="h2">Four beats that make it land</h2>
<div class="grid g4 mt-l steps anim-stagger-list">
<div class="card"><h4 class="h4">Recognize</h4><p class="dim">Open with a screen everyone in the room has tapped this week.</p></div>
<div class="card"><h4 class="h4">Rewind</h4><p class="dim">Trace it back to the object it borrowed from — a logo, a cabinet, a record sleeve.</p></div>
<div class="card"><h4 class="h4">Name the flip</h4><p class="dim">Point to the exact year the idea moved from pop culture into software.</p></div>
<div class="card"><h4 class="h4">Land the why</h4><p class="dim">Explain what that borrowed warmth still does for a cold screen today.</p></div>
</div>
<div class="notes"></div>
</section>
<!-- 9 · layout: big-quote -->
<section class="slide center" data-title="Quote">
<svg class="memphis-shape" style="top:14%;right:20%" width="72" height="72" viewBox="0 0 72 72"><polygon points="36,6 66,62 6,62" fill="#37c2d7" stroke="#111" stroke-width="3"/></svg>
<svg class="memphis-shape" style="bottom:16%;left:18%" width="110" height="30" viewBox="0 0 110 30"><polyline points="4,22 18,8 32,22 46,8 60,22 74,8 88,22 102,8" fill="none" stroke="#ffcc00" stroke-width="5" stroke-linecap="round"/></svg>
<p class="quote anim-fade-up">"We didn't design retro. We designed the year <span class="gradient-text">the interface got a personality</span>."</p>
<p class="eyebrow mt-l">— on the making of the first Macintosh icon set, 1984</p>
<div class="notes"></div>
</section>
<!-- 10 · layout: thanks / cta -->
<section class="slide center" data-title="Thanks">
<svg class="memphis-shape" style="top:12%;left:14%" width="60" height="60" viewBox="0 0 60 60"><circle cx="30" cy="30" r="24" fill="#ff3d8b" stroke="#111" stroke-width="3"/></svg>
<svg class="memphis-shape" style="top:18%;right:14%" width="80" height="80" viewBox="0 0 80 80"><polygon points="40,6 74,72 6,72" fill="#ffcc00" stroke="#111" stroke-width="3"/></svg>
<svg class="memphis-shape" style="bottom:20%;right:24%" width="110" height="30" viewBox="0 0 110 30"><polyline points="4,22 18,8 32,22 46,8 60,22 74,8 88,22 102,8" fill="none" stroke="#37c2d7" stroke-width="5" stroke-linecap="round"/></svg>
<p class="kicker">The meaning</p>
<h1 class="h1">The interface<br><span class="gradient-text">remembers 1984</span></h1>
<p class="lede mt-m" style="max-width:48ch">Every neon gradient and chunky icon on your phone is a decade reaching forward to make cold software feel like it has a pulse.</p>
<div class="row wrap mt-l" style="gap:12px;justify-content:center">
<span class="pill pill-accent">thank you</span>
<span class="pill pill-teal">questions welcome</span>
<span class="pill pill-yellow">slides in the program</span>
</div>
<div class="notes"></div>
</section>
</div>
<div class="deck-footer"><span>memphis-pop · MIT · lewislulu/html-ppt-skill</span><span id="counter">1 / 10</span></div>
<div class="progress-bar"><span id="bar"></span></div>
<script>
(function () {
var deck = document.getElementById('deck');
var slides = Array.prototype.slice.call(document.querySelectorAll('.slide'));
var counter = document.getElementById('counter');
var bar = document.getElementById('bar');
var active = 0;
var lastKeyEvent = null;
function clamp(i) { return Math.max(0, Math.min(slides.length - 1, i)); }
function paint(i) {
counter.textContent = (i + 1) + ' / ' + slides.length;
bar.style.width = (((i + 1) / slides.length) * 100) + '%';
}
// Hash routing: #/N (1-based). replaceState keeps back-button clean and
// never throws inside a srcdoc iframe thanks to the try/catch.
function setHash(i) {
try { history.replaceState(null, '', '#/' + (i + 1)); } catch (_) { /* sandboxed */ }
}
function fromHash() {
var m = (location.hash || '').match(/^#\/(\d+)/);
return m ? clamp(parseInt(m[1], 10) - 1) : 0;
}
function go(i, instant) {
active = clamp(i);
deck.scrollTo({ left: active * deck.clientWidth, behavior: instant ? 'auto' : 'smooth' });
paint(active);
setHash(active);
}
function syncFromScroll() {
var i = Math.round(deck.scrollLeft / deck.clientWidth);
if (i !== active && i >= 0 && i < slides.length) { active = i; paint(i); setHash(i); }
}
function onKey(e) {
if (e === lastKeyEvent) return; // dedupe: same Event passes both listeners
lastKeyEvent = e;
var t = e.target;
if (t && (t.tagName === 'INPUT' || t.tagName === 'TEXTAREA')) return;
if (e.key === 'ArrowRight' || e.key === ' ' || e.key === 'PageDown') { e.preventDefault(); go(active + 1); }
else if (e.key === 'ArrowLeft' || e.key === 'PageUp') { e.preventDefault(); go(active - 1); }
else if (e.key === 'Home') { e.preventDefault(); go(0); }
else if (e.key === 'End') { e.preventDefault(); go(slides.length - 1); }
}
// Listen on both window and document in capture phase so keys work no
// matter which element holds focus inside a host iframe.
window.addEventListener('keydown', onKey, true);
document.addEventListener('keydown', onKey, true);
deck.addEventListener('scroll', function () { window.requestAnimationFrame(syncFromScroll); }, { passive: true });
window.addEventListener('hashchange', function () { go(fromHash()); });
window.addEventListener('resize', function () { go(active, true); });
// Auto-focus so arrow keys work without a click.
document.body.setAttribute('tabindex', '-1');
document.body.style.outline = 'none';
function focusDeck() {
try { window.focus(); document.body.focus({ preventScroll: true }); } catch (_) { /* sandboxed */ }
}
document.addEventListener('mousedown', focusDeck);
window.addEventListener('load', focusDeck);
go(fromHash(), true);
paint(active);
focusDeck();
})();
</script>
</body>
</html>
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |