TsukiNi22/ai-utils / skills/ai/presentation
presentation
VerifiedMake a presentation from a plan or an idea, with little text like a real talk - per slide a title saying the idea, one visual and a few key words (icons, logos, a big number, a picture beside the points, a full-slide photo, found on the web with their licence and credit), the sentences in the speaker notes; a time (given, or estimated and confirmed) sets the number of slides; the format (PDF, one-file animated HTML, PPTX, several or all) and the style (several proposals for the subject, "White blueprint" by default, or copied from a PPTX / PDF / HTML the user gives) are asked through interactive-questions. One deck.json gives every format plus speaker notes. Use for "fais une présentation / des slides / un ppt / un pdf de présentation".
templates/slides.css
View on GitHub/* Layout of the slides of the presentation skill: every colour, font and shape comes from the variables of the theme
(:root, written by build_deck.py from themes.json). One look for the animated page and the PDF. */
body { color: var(--tx); font-family: var(--font); background: var(--bg); margin: 0; }
.slide { position: relative; box-sizing: border-box; background-color: var(--bg); background-image: var(--bgimg); color: var(--tx);
padding: 44px 64px 86px; font-size: 32px; line-height: 1.35; border: var(--frame); }
.slide::after { content: ""; position: absolute; inset: 10px; border: var(--inner-frame); pointer-events: none; }
.slide h1, .slide h2, .slide h3 { font-family: var(--head-font); text-transform: var(--head-transform); letter-spacing: var(--head-spacing);
font-weight: var(--head-weight); color: var(--ink); margin: 0; line-height: 1.1; }
.slide h1 { font-size: 72px; margin-bottom: 18px; } .slide h2 { font-size: 54px; margin-bottom: 26px; } .slide h3 { font-size: 32px; margin-bottom: 10px; }
.slide p { margin: 0 0 14px; } .slide .lead { color: var(--dim); font-size: 32px; margin-bottom: 20px; }
.slide ul, .slide ol { margin: 0; padding-left: 1.1em; } .slide li { margin: 0 0 16px; } .slide li ul { margin-top: 8px; font-size: .85em; color: var(--dim); }
.slide li::marker { color: var(--ink); }
.slide strong { color: var(--ink); } .slide em { color: var(--dim); }
.slide code { font-family: var(--mono); font-size: .85em; background: var(--code); color: var(--codetx); padding: 1px 7px; border-radius: var(--radius); overflow-wrap: anywhere; }
.slide pre { font-family: var(--mono); font-size: 26px; line-height: 1.4; background: var(--code); color: var(--codetx); padding: 18px 24px; margin: 0 0 12px;
border-radius: var(--radius); border-left: 5px solid var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.slide pre code { background: none; padding: 0; font-size: inherit; }
.slide figure { margin: 0; text-align: center; } .slide figure img, .slide figure svg { max-width: 100%; max-height: 470px; }
.slide figcaption, .slide .caption { color: var(--dim); font-size: 22px; margin-top: 8px; }
.slide table { border-collapse: collapse; width: 100%; font-size: 28px; border: 1.5px solid var(--ink); }
.slide th { background: var(--ink); color: var(--paper); text-align: left; padding: 12px 16px; font-weight: 700; }
.slide td { padding: 11px 16px; border: 1px solid var(--dim); vertical-align: top; } .slide th { border: 1px solid var(--ink); } .slide tr:nth-child(even) td { background: var(--paper); }
.slide td:first-child { font-weight: 700; white-space: nowrap; }
/* kinds */
.k-title { display: flex; flex-direction: column; justify-content: center; } .k-title h1 { font-size: 88px; max-width: 1000px; }
.k-title .sub { font-size: 38px; color: var(--dim); margin-bottom: 36px; max-width: 1000px; }
.k-title .meta { list-style: none; padding: 0; display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-start; } .k-title .meta li { margin: 0; padding: 8px 18px; line-height: 1.3; border: 1.5px solid var(--ink); border-radius: var(--radius); color: var(--ink); font-size: 24px; }
.k-section { display: flex; flex-direction: column; justify-content: center; }
.k-section .num { font-family: var(--mono); font-size: 34px; color: var(--ink2); margin-bottom: 8px; } .k-section h2 { font-size: 80px; margin-bottom: 14px; }
.k-quote { display: flex; flex-direction: column; justify-content: center; } .k-quote blockquote { margin: 0; font-size: 52px; line-height: 1.25; color: var(--ink); border-left: 8px solid var(--ink2); padding-left: 32px; }
.k-quote cite { display: block; margin: 20px 0 0 40px; font-style: normal; color: var(--dim); font-size: 26px; }
.cols { display: grid; gap: 22px; grid-template-columns: repeat(var(--n, 2), 1fr); }
.col { background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 18px 22px; min-width: 0; } .col ul { padding-left: 1em; } .col li { font-size: .88em; overflow-wrap: anywhere; hyphens: auto; }
.col h3 { overflow-wrap: anywhere; } .cols[style*="--n: 4"] .col li, .cols[style*="--n:4"] .col li { font-size: .74em; } .cols[style*="--n: 3"] .col li, .cols[style*="--n:3"] .col li { font-size: .82em; }
.slide li, .slide td, .slide th { overflow-wrap: anywhere; }
.flow { display: grid; gap: 18px; grid-template-columns: repeat(var(--n, 3), 1fr); counter-reset: step; list-style: none; padding: 0; }
.flow > li { counter-increment: step; margin: 0; background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 16px 20px; position: relative; min-width: 0; }
.flow > li::before { content: counter(step); display: inline-block; width: 38px; height: 38px; line-height: 38px; text-align: center; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 700; margin-bottom: 8px; }
.flow h3 { font-size: 30px; } .flow p { font-size: 26px; color: var(--tx); margin: 0; }
.ok { color: var(--ok); } .bad { color: var(--warn); }
/* pictures: icons and logos (an inline SVG takes the accent), a picture beside the points, a photo over the whole slide */
.ic { display: inline-flex; flex: none; width: 1.6em; height: 1.6em; align-items: center; justify-content: center; color: var(--ink); }
.ic svg, .ic img { width: 100%; height: 100%; display: block; object-fit: contain; }
.slide ul.icons { list-style: none; padding-left: 0; } .slide ul.icons > li { display: flex; align-items: center; gap: 24px; margin-bottom: 22px; }
.slide ul.icons > li > .ic { width: 64px; height: 64px; } .slide ul.icons .pt { min-width: 0; }
.col > .ic { width: 76px; height: 76px; margin-bottom: 12px; }
.flow > li.has-ic::before { display: none; } .flow > li > .ic { width: 60px; height: 60px; margin-bottom: 10px; }
.slide ul.grid { list-style: none; padding: 0; margin-top: 34px; display: grid; gap: 40px 28px; grid-template-columns: repeat(var(--n, 4), 1fr); }
.slide ul.grid > li { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.grid > li > .ic { width: 124px; height: 124px; margin-bottom: 16px; } .grid .lbl { font-size: 28px; font-weight: 700; color: var(--tx); overflow-wrap: anywhere; }
.k-big { display: flex; flex-direction: column; justify-content: center; text-align: center; }
.stats { display: grid; gap: 40px; grid-template-columns: repeat(var(--n, 1), 1fr); align-items: start; }
.stat { min-width: 0; } .stat .v { font-family: var(--head-font); font-weight: 700; color: var(--ink); font-size: 120px; line-height: 1; overflow-wrap: anywhere; }
.stats.one .v { font-size: 190px; } .stat .l { font-size: 34px; color: var(--dim); margin: 14px 0 0; }
.pic { display: flex; align-items: center; justify-content: center; width: 100%; height: 470px; }
.pic svg { width: 100%; height: 100%; color: var(--ink); } .pic img { max-width: 100%; max-height: 100%; }
.split { display: grid; gap: 44px; grid-template-columns: 1.2fr 1fr; align-items: center; } .split .side { min-width: 0; }
.credit { display: block; font-size: 15px; color: var(--dim); margin-top: 6px; text-align: right; }
.slide.full { padding: 0; } .full .foot { display: none; }
.full > figure.bleed { position: absolute; inset: 0; } .bleed .pic { height: 100%; } .bleed .pic img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.full .band { position: absolute; left: 56px; bottom: 56px; max-width: 860px; background: var(--paper); border-left: 8px solid var(--ink); padding: 18px 30px; z-index: 2; }
.full .band h2 { font-size: 50px; margin: 0; } .full .band .lead { font-size: 26px; margin: 8px 0 0; }
.full > .credit { position: absolute; right: 16px; bottom: 12px; margin: 0; padding: 3px 10px; background: var(--paper); z-index: 2; }
.js .full .band { bottom: 86px; } .js .full > .credit { bottom: 70px; } /* above the bar of the web page (the photo itself may go under it) */
html.nohud .full .band { bottom: 56px; } html.nohud .full > .credit { bottom: 12px; }
/* a slide carried by its pictures (class v: icons, logos, a picture beside the points): bigger, centered under its title */
.slide.v { display: flex; flex-direction: column; }
.slide.v > .mid { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
.slide.v .cols, .slide.v .flow, .slide.v .grid, .slide.v .split, .stats { align-content: center; } /* a grid made taller keeps its rows in the middle */
.slide.v ul.icons { font-size: 40px; } .slide.v ul.icons > li { gap: 30px; margin-bottom: 30px; } .slide.v ul.icons > li > .ic { width: 84px; height: 84px; }
.slide.v .split .side { font-size: 38px; } .slide.v .col > .ic { width: 100px; height: 100px; }
.slide.v .flow > li.has-ic { text-align: center; padding: 30px 20px 26px; } .slide.v .flow > li.has-ic > .ic { display: flex; width: 100px; height: 100px; margin: 0 auto 18px; }
.slide.v .flow > li.has-ic h3 { font-size: 38px; margin: 0; } .slide.v .flow > li.has-ic p { margin-top: 8px; }
.slide.v ul.grid > li > .ic { width: 150px; height: 150px; } .slide.v ul.grid.many > li > .ic { width: 110px; height: 110px; } .slide.v .grid .lbl { font-size: 32px; }
.foot { position: absolute; left: 64px; right: 64px; bottom: 76px; display: flex; justify-content: space-between; font-size: 15px; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; z-index: 1; }
.cartouche .foot { border-top: 1.5px solid var(--ink); padding-top: 6px; }
html.nohud .foot { bottom: 22px; } .js .foot { transition: bottom .3s; } /* bar hidden (H): the footer goes down to the bottom, as in print */
.k-title .foot, .k-section .foot { display: none; }
.notes { display: none; }
/* motion (web only) */
/* a page change: the old slide fades and drifts away, the new one comes in from the side it belongs to, a little after */
.slide { opacity: 0; transition: opacity .32s ease-in, transform .5s cubic-bezier(.4,0,.2,1), visibility 0s .5s; will-change: opacity, transform; }
.slide[data-state="active"] { opacity: 1; transform: none; transition: opacity .45s ease-out .12s, transform .55s cubic-bezier(.16,.84,.3,1) .08s, visibility 0s; }
.slide[data-state="past"] { transform: translateX(-56px) scale(.985); } .slide[data-state="future"] { transform: translateX(56px) scale(.985); }
.slide[data-state="active"] > h1, .slide[data-state="active"] > h2 { animation: rise .5s cubic-bezier(.16,.84,.3,1) .1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
html.noanim .slide > h1, html.noanim .slide > h2 { animation: none !important; }
.js .slide [data-s] { transform: translateY(10px); transition: opacity .35s, transform .35s cubic-bezier(.2,.8,.2,1); } .js .slide [data-s].on { transform: none; }
/* bottom bar of the web page */
#hud { height: 52px; margin: 0 14px 10px; padding-top: 5.5px; overflow: hidden; display: flex; align-items: center; background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--radius); font-size: 15px; color: var(--ink); }
#bar { position: absolute; left: 0; right: 0; top: 0; height: 4px; pointer-events: none; } /* the line sits above the row (the hud's top padding), never behind a button */ #bar i { display: block; height: 100%; width: 100%; background: var(--ink); transform: scaleX(var(--p, 0)); transform-origin: 0 0; transition: transform .4s; }
#hud::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1.5px; background: var(--ink); z-index: 1; } /* the line under the progress track */
#chapters { flex: 0 1 auto; max-width: 100%; display: flex; gap: 1px; background: var(--ink); border-right: 1px solid var(--ink); min-width: 0; height: 100%; overflow: hidden; } /* the separators are the gaps: the container's colour shows through, nothing to misalign */
#steps { margin-left: auto; }
#chapters button { flex: none; white-space: nowrap; background: var(--paper); border: 0; border-radius: 0; color: var(--dim); padding: 0 10px; cursor: pointer; font: inherit; white-space: nowrap; outline: none; }
#hud button, #hud button:focus { outline: none; } #hud button:focus-visible { box-shadow: inset 0 0 0 2px var(--ink2); } /* flush with the button, never an offset ring */
#chapters button.off { display: none; } #chapters button.more { padding: 0 12px; color: var(--ink); letter-spacing: .1em; } #chapters button.more:hover { background: var(--bg); }
#chapters button.cur, #chapters button.cur:focus-visible { box-shadow: none; }
#chapters button.done { color: var(--ink); } #chapters button.cur { color: var(--paper); background: var(--ink); }
#steps { display: flex; gap: 4px; padding: 0 10px; } #steps i { width: 9px; height: 9px; border: 1px solid var(--ink); box-shadow: 0 0 0 1px color-mix(in srgb, var(--tx) 45%, transparent); } /* the ring in the text colour: still seen when the accent is white or close to the bar */ #steps i.on { background: var(--ink); } #steps i.off { visibility: hidden; order: -1; } /* the room kept for longer slides goes to the left: the squares stay against the count */
#count { font-variant-numeric: tabular-nums; justify-content: center; padding: 0 12px; border-left: 1px solid var(--ink); height: 100%; display: flex; align-items: center; flex: none; white-space: nowrap; }
#btns { display: flex; height: 100%; } #btns button { width: 44px; background: var(--paper); color: var(--ink); border: 0; border-left: 1px solid var(--ink); font-size: 20px; cursor: pointer; } #btns button:hover { background: var(--bg); }
#map { font-size: clamp(15px, 1.15vw, 24px); font-family: var(--font); color: var(--tx); background: var(--bg); padding: 0; display: flex; flex-direction: column; }
.maphead { display: flex; align-items: center; gap: 16px; padding: 1em 2.4em; border-bottom: 1.5px solid var(--ink); background: var(--paper); flex: none; }
.maphead strong { color: var(--ink); font-size: 1.35em; letter-spacing: .08em; text-transform: uppercase; }
.maphint { flex: 1; color: var(--dim); font-size: .9em; }
.mapclose { margin-left: auto; flex: none; width: 2.4em; height: 2.4em; background: none; border: 1.5px solid var(--ink); border-radius: var(--radius); color: var(--ink); font-size: 1.6em; line-height: 1; cursor: pointer; }
.mapclose:hover { background: var(--ink); color: var(--paper); }
.mapgrid { flex: 1; min-height: 0; overflow: auto; grid-auto-rows: max-content; padding: 1.4em 2.4em 2em; display: grid; gap: 1.2em; align-content: start; grid-template-columns: repeat(auto-fill, minmax(19em, 1fr)); }
.mapch { background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 0 0 8px; min-width: 0; overflow: hidden; }
.mapch h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; padding: 10px 14px; background: var(--ink); color: var(--paper); font-size: .95em; letter-spacing: .1em; text-transform: uppercase; border: 0; }
.mapch .chnum { opacity: .75; font-family: var(--mono); } .mapch .chname { flex: 1; min-width: 0; } .mapch .chcount { font-size: .8em; padding: 1px 9px; border: 1px solid var(--paper); border-radius: 99px; letter-spacing: 0; }
.mapch button { display: flex; align-items: baseline; gap: 10px; width: 100%; min-height: 2.6em; padding: 7px 14px; color: var(--tx); background: none; border: 0; border-left: 4px solid transparent; font-size: 1em; line-height: 1.3; cursor: pointer; text-align: left; }
.mapch button .num { flex: none; width: 2em; text-align: right; color: var(--dim); font-family: var(--mono); font-size: .85em; } .mapch button .ttl { min-width: 0; overflow-wrap: anywhere; }
.mapch button:hover { background: var(--bg); color: var(--ink); } .mapch button:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--ink2); }
.mapch button.seen { color: var(--dim); } .mapch button.cur { color: var(--ink); font-weight: 700; background: var(--bg); border-left-color: var(--ink); } .mapch button.cur .num { color: var(--ink); }
.portrait #chapters button:not(.cur) { display: none; } .portrait #chapters .more { display: none; } .portrait #steps { display: none; } .portrait #count { margin-left: auto; }
.portrait .slide { padding: 28px 30px 84px; font-size: 24px; } .portrait .slide h1 { font-size: 52px; } .portrait .slide h2 { font-size: 38px; }
.portrait .mapgrid { padding: 1em; grid-template-columns: 1fr; } .portrait .maphead { padding: .8em 1em; } .portrait .maphint { display: none; }
.portrait .cols, .portrait .flow, .portrait .split, .portrait .stats { grid-template-columns: 1fr; } .portrait .slide ul.grid { grid-template-columns: repeat(2, 1fr); }
.portrait .split figure .pic { height: 260px !important; } .portrait .stats.one .v { font-size: 120px; }
/* the same slides, printed (WeasyPrint): one 16:9 page per slide, every step shown */
.print .slide { opacity: 1; transform: none; visibility: visible; width: 1280px; height: 720px; overflow: hidden; page-break-after: always; break-after: page; }
.print .slide:last-child { page-break-after: auto; break-after: auto; }
.print .slide [data-s] { opacity: 1; transform: none; }
@page { size: 1280px 720px; margin: 0; }
.print .foot { bottom: 22px; }
.flow h3, .flow p { overflow-wrap: anywhere; hyphens: auto; }
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |