/* Cloudflare Connect 2026 branding (title and closing slides) and the slides this fork adds. Colors are the Connect 2026 tokens from cloudflare.com/connect: --connect-orange-900 #f46021 (accent and slide background), --connect-orange-1000 #b33806 (accent text on light) and --connect-orange-600 #ff8839 (accent text on dark). */ :root { --cx-orange: #f46021; --cx-orange-deep: #b33806; --cx-orange-soft: #ff8839; --cx-dot: rgb(255 255 255 / 0.2); } :root, html[data-theme='dark'] { --cf-accent: var(--cx-orange-soft); --cf-tile: color-mix(in oklch, var(--cx-orange) 14%, var(--kody-surface)); } html[data-theme='light'] { --cf-accent: var(--cx-orange-deep); --cf-tile: color-mix(in oklch, var(--cx-orange) 8%, var(--kody-surface)); } /* ---------- Connect title and closing ---------- */ html.reveal-viewport.connect, .reveal-viewport.connect, .reveal-viewport.connect .reveal { background: var(--cx-orange); } .reveal-viewport.connect .corner, .reveal-viewport.connect .deck-brand { display: none; } .reveal-viewport.connect .reveal .slide-number { display: none !important; } .reveal-viewport.connect .reveal .controls { color: #fff; } .reveal-viewport.connect .reveal .progress { background: rgb(255 255 255 / 0.25); color: #fff; } .reveal .slides section.connect-slide { background-color: var(--cx-orange); background-image: radial-gradient(circle, var(--cx-dot) 1.4px, transparent 1.6px); background-position: 0 0; background-size: 16px 16px; color: #fff; display: grid !important; grid-template-rows: auto 1fr auto; padding: 40px 56px 64px !important; } .connect-slide .cx-top, .connect-slide .cx-bottom { align-items: center; display: flex; justify-content: space-between; } .connect-slide .cx-bottom { align-items: flex-end; } .connect-slide .cx-track { align-items: center; color: #fff; display: flex; font-family: var(--font-body); font-size: 22px; font-weight: 600; gap: 12px; letter-spacing: 0.14em; text-transform: uppercase; } .connect-slide .cx-track-cloud { height: 18px; width: auto; } .connect-slide .cx-mark { display: block; height: 44px; width: auto; } .connect-slide .cx-main { align-self: center; padding-bottom: 24px; } .reveal .connect-slide h1 { color: #fff; font-family: var(--font-body); font-size: 76px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.06; margin: 0; max-width: 980px; } .reveal .connect-slide .cx-sub { color: #fff; font-family: var(--font-body); font-size: 34px; font-weight: 500; margin: 28px 0 0; opacity: 0.92; } .connect-slide .cx-speaker { align-items: center; display: flex; gap: 18px; } .connect-slide .cx-speaker img { background: rgb(255 255 255 / 0.18); border-radius: 50%; display: block; height: 84px; object-fit: cover; width: 84px; } .reveal .connect-slide .cx-name, .reveal .connect-slide .cx-role { color: #fff; font-family: var(--font-body); line-height: 1.2; margin: 0; } .reveal .connect-slide .cx-name { font-size: 30px; font-weight: 700; } .reveal .connect-slide .cx-role { font-size: 26px; font-weight: 500; margin-top: 4px; } .reveal .connect-slide a { color: #fff; text-decoration-color: rgb(255 255 255 / 0.6); } .reveal .connect-slide .cx-wordmark { color: #fff; font-family: var(--font-body); font-size: 44px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; margin: 0; text-transform: lowercase; } .connect-close .cx-close-main { align-items: center; display: flex; gap: 72px; justify-content: center; padding-bottom: 12px; width: 100%; } .reveal .connect-close .cx-thanks { color: #fff; font-family: var(--font-body); font-size: 128px; font-weight: 600; letter-spacing: -0.035em; line-height: 1; margin: 0; } .reveal .connect-close .cx-url { font-family: var(--font-body); font-size: 44px; font-weight: 600; margin: 22px 0 0; } .reveal .connect-close .cx-qr { align-items: center; display: flex; flex-direction: column; gap: 12px; text-decoration: none; } .connect-close .cx-qr img { background: #fff; border-radius: 14px; display: block; height: 220px; padding: 12px; width: 220px; } .connect-close .cx-qr span { color: #fff; font-family: var(--font-body); font-size: 26px; font-weight: 600; } /* ---------- Shared: content slides stack from the top, diagrams centre in the rest ---------- */ .reveal .slides section[data-slide='one-of-everything'], .reveal .slides section[data-slide='search'], .reveal .slides section[data-slide='execute'], .reveal .slides section[data-slide='how-execute'], .reveal .slides section[data-slide='worker-loader'], .reveal .slides section[data-slide='secret-gateway'], .reveal .slides section[data-slide='how-import'], .reveal .slides section[data-slide='primitives'], .reveal .slides section[data-slide='primitives-manifest-code'], .reveal .slides section.cf-diagram-slide, .reveal .slides section[data-slide='package-apps'], .reveal .slides section[data-slide='secrets'], .reveal .slides section[data-slide='packages'] { justify-content: flex-start; } .reveal .slides section h2 { margin: 0 0 0.3em; } .reveal [data-slide='search'] h2, .reveal [data-slide='execute'] h2 { font-size: 1.6em; } /* Code: 24px on code-heavy slides so the longest line fits the 1280 canvas. */ .reveal [data-slide='packages'] pre, .reveal [data-slide='primitives'] pre, .reveal [data-slide='primitives-manifest-code'] pre, .reveal [data-slide='execute'] pre, .reveal [data-slide='search'] pre, .reveal [data-slide='package-apps'] pre, .reveal [data-slide='secrets'] pre { --code-font-size: 24px; line-height: 1.38; margin: 0.25em 0 0; } .reveal [data-slide='worker-loader'] pre { --code-font-size: 28px; align-self: center; line-height: 1.38; margin: auto 0; width: auto; } .reveal pre code { white-space: pre; } /* ---------- One of everything ---------- */ .per-user { display: grid; gap: 16px; margin: auto; max-width: 1040px; padding: 0 0 24px; width: 100%; } .reveal .per-user li { align-items: center; background: var(--kody-surface); border: 1px solid var(--kody-line); border-radius: 14px; display: grid; font-size: 30px; grid-template-columns: 1fr auto; list-style: none; margin: 0; padding: 16px 28px; } .per-user .pu-own { color: var(--kody-ink); font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; } .per-user .pu-cf { color: var(--cf-accent); font-family: var(--font-body); font-weight: 700; } /* ---------- search ---------- */ .search-steps { display: grid; gap: 18px; } .search-results { display: grid; gap: 10px; margin: 0; padding: 0; } .reveal .search-results li { align-items: baseline; display: grid; font-size: 26px; gap: 18px; grid-template-columns: 7.2em auto 1fr; list-style: none; margin: 0; } .search-results .sr-kind { color: var(--kody-muted); font-family: var(--font-mono); font-size: 24px; letter-spacing: 0.08em; text-transform: uppercase; } .search-results a, .search-results code { font-family: var(--font-mono); font-size: 26px; } .search-results .sr-what { color: var(--kody-body); font-family: var(--font-mono); font-size: 24px; } /* ---------- execute ---------- */ .exec-pair { display: grid; gap: 14px; justify-items: start; } .reveal .exec-pair pre { width: auto; } /* ---------- Flow diagrams (how execute, gateway, import) ---------- */ .reveal .slides section .how-execute-head { margin-bottom: 0.2em; } .flow { --flow-line: var(--kody-muted); align-content: center; align-items: center; display: grid; flex: 1; grid-template-columns: auto minmax(120px, 1fr) auto minmax(120px, 1fr) auto minmax(120px, 1fr) auto; grid-template-rows: auto auto auto; margin: 0 auto; padding-bottom: 36px; row-gap: 14px; width: 100%; } .flow-node { background: var(--kody-surface); border: 2px solid var(--kody-line); border-radius: 14px; color: var(--kody-ink); font-family: var(--font-display); font-size: 28px; font-weight: 700; grid-row: 1; letter-spacing: -0.02em; padding: 18px 22px; text-align: center; white-space: nowrap; } .flow-node.cf { background: var(--cf-tile); border-color: var(--cx-orange); } .flow-arrow, .flow-back { align-items: center; display: flex; flex-direction: column; gap: 6px; padding: 0 10px; position: relative; } .flow-arrow { grid-row: 1; } .flow-back { grid-row: 2; } .flow-arrow::after, .flow-back::after { background: linear-gradient(var(--flow-line), var(--flow-line)) center / calc(100% - 12px) 3px no-repeat; content: ''; display: block; height: 14px; width: 100%; } .flow-arrow::after { background: linear-gradient(var(--flow-line), var(--flow-line)) left center / calc(100% - 10px) 3px no-repeat, conic-gradient(from -120deg at 100% 50%, var(--flow-line) 60deg, transparent 0) right center / 14px 14px no-repeat; } .flow-back::after { background: linear-gradient(var(--flow-line), var(--flow-line)) right center / calc(100% - 10px) 3px no-repeat, conic-gradient(from 60deg at 0% 50%, var(--flow-line) 60deg, transparent 0) left center / 14px 14px no-repeat; opacity: 0.75; } .flow-back { flex-direction: column-reverse; } .flow-label { color: var(--kody-body); font-family: var(--font-body); font-size: 24px; white-space: nowrap; } .flow-label code { font-size: 24px; } .flow-under { align-items: center; background: var(--cf-tile); border: 2px dashed var(--cx-orange); border-radius: 12px; display: flex; flex-direction: column; grid-row: 3; justify-self: center; padding: 10px 18px; } .flow-under span { color: var(--kody-ink); font-family: var(--font-display); font-size: 26px; font-weight: 700; } .flow-under small { color: var(--kody-body); font-size: 24px; } /* ---------- Cloudflare diagrams ---------- */ .cfd { --cfd-line: var(--kody-muted); align-items: center; display: flex; flex: 1; flex-direction: column; justify-content: center; padding-bottom: 28px; width: 100%; } .cfd-row { display: flex; gap: 22px; justify-content: center; width: 100%; } .cfd-row + .cfd-row { margin-top: 18px; } .cfd-four .cfd-node { width: 260px; } .cfd-three .cfd-node { width: 300px; } .cfd-node { align-items: center; background: var(--cf-tile); border: 2px solid var(--cx-orange); border-radius: 16px; box-sizing: border-box; display: flex; flex-direction: column; gap: 4px; padding: 14px 18px 16px; text-align: center; } .cfd-node span { color: var(--kody-ink); font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; } .cfd-node small { color: var(--kody-body); font-family: var(--font-body); font-size: 24px; line-height: 1.2; } .cfd-agent { background: var(--kody-surface); border-color: var(--kody-line); width: 300px; } .cfd-hub { background: var(--cx-orange); border-color: var(--cx-orange); width: 340px; } .cfd-hub span, .cfd-hub small { color: #fff; } .cfd-stem { background: var(--cfd-line); height: 34px; width: 3px; } /* The bus: a stem down from the hub, a rail across the tile centres, and a drop to each tile. */ .cfd-bus { --cfd-span: calc(3 * (260px + 22px)); height: 46px; position: relative; width: 100%; } .cfd-bus-three { --cfd-span: calc(2 * (300px + 22px)); } .cfd-bus::before, .cfd-bus::after { content: ''; left: 50%; position: absolute; } .cfd-bus::before { background: var(--cfd-line); height: 23px; top: 0; transform: translateX(-50%); width: 3px; } .cfd-bus::after { border: 3px solid var(--cfd-line); border-bottom: 0; border-radius: 0; box-sizing: border-box; height: 26px; top: 20px; transform: translateX(-50%); width: calc(var(--cfd-span) + 3px); } .cfd-three + .cfd-three { margin-top: 22px; } /* ---------- Code composes ---------- */ .reveal .pkg-links { display: flex; gap: 28px; margin: 18px 0 0; } .reveal .pkg-links a { font-family: var(--font-mono); font-size: 26px; } /* ---------- Package apps ---------- */ .app-row { align-items: center; display: flex; gap: 32px; margin-top: 26px; } .app-icons { display: flex; gap: 16px; margin: 0; padding: 0; } .app-icons li { list-style: none; } .app-icons a { display: block; } .app-icons img { border-radius: 16px; display: block; height: 72px; width: 72px; } .reveal .app-note { color: var(--kody-ink); font-size: 28px; margin: 0; } .reveal .app-note code { font-size: 26px; } /* Audience-sized eyebrow (the source theme's 16px is too small for the room). */ .reveal .slides section .eyebrow { font-size: 24px !important; }