Deck rules
Conventions that make a presentation fully editable in Deck Text. Paste the block below into any request for a new deck.
- One style block. All styling lives in a single
<style> element using CSS variables for colors and font stacks.
- Slides are `.slide`. Every slide has the class
slide and they're direct children of one container.
- Copy lives in text elements. Headings, paragraphs, divs, spans — never in CSS
content, images, or JavaScript strings.
- Expandable content is real HTML. Cards that expand, modals, and detail panels are hidden elements (
display:none) already in the markup — not injected by script. Deck Text lists these as editable sub-pages.
- Fonts via Google Fonts
@import or <link>, so they render everywhere.
- Scripts at the end of body, regenerating any dynamic elements (nav dots, counters) from scratch on load.
Deck conventions: keep all styling in a single <style> block using CSS variables for colors and font stacks; give every slide the class "slide" as a direct child of one container; keep all copy in semantic text elements (h1–h3, p, div, span) rather than pseudo-element content, images, or JS strings; author expandable/modal content as hidden HTML elements (display:none) present in the markup, not injected by script; load fonts via Google Fonts @import or <link>; keep all JS in <script> tags at the end of <body> and regenerate dynamic elements (nav dots, counters) from scratch on load.