Skip to content

About

HTML slide template in the CVC visual identity

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

CVC slide template

HTML slides in the CVC brand: IBM Plex, the CVC palette and logos, and the connected-squares motif. Each slide is a fixed 1920×1080 canvas that scales to the window. Decks are plain HTML, so people and Claude can edit them together.

  • gallery.html: every layout and component, one per slide. Read its source next to the rendered slides.
  • examples/icdar-demo.html: the ICDAR 2026 DocVQA talk rebuilt with the template.
  • tools/motif-designer.html: design motif art and see it live on a title slide.

New talk

./new-talk.sh ../2026-11-group-meeting     # copies cvc/, starter.html → index.html, img/

Each talk is self-contained, so it works offline from a USB stick and doesn't break when the template changes. Open index.html in Chrome or Firefox.

Key
→ ↓ Space PgDn / ← ↑ PgUp next / previous (clickers work)
Home / End, 12 Enter first / last, jump to slide 12
O overview grid (click a slide to go to it)
F fullscreen
C coordinate picker: click → x,y, drag → x,y,w,h (copied)
P print / save as PDF

The URL keeps your place (#12 or #12.3 for slide 12, step 3), so reloading after an edit stays on the slide.

PDF

./export-pdf.sh index.html          # → index.pdf, one 1920×1080 page per slide, all steps visible

Deck options (<body>)

attribute
data-logo="en" / "ca" language of the full logo on title slides
data-footer="ICDAR 2026 · DocVQA" footer text on content slides
data-counter="compact" / "zigzag" motif counter sequence
data-section-marks="off" hide the section marker in the footer

Per slide: data-chrome="none" (no logo, number or footer), "minimal" (logo and number only), data-footer="…".

Layouts (<section class="…">)

class
title white white title with corner motif art. .event, h1, .sub, ul.authors (li.presenter, <sup>), .affils, .contact, .logos
title split the same content next to a red band
section section divider: the motif shows section N of the total
agenda outline generated from the section slides
(none) content slide: h2, optional p.sub, then anything
statement one big sentence (p or blockquote)
image one-line screenshot slide: data-src="img/x.png", optional data-caption, optional h2
image bleed full-canvas image under the chrome, e.g. an Inkscape SVG at 1920×1080. data-fit="cover"
blank only the chrome; place everything with .abs
closing thank-you slide

Title and closing art: data-art="..##|.#.#|#...", data-art-cell="170", data-art-fade="0.32 0.06", data-art="none".

Components

<div class="cols">…</div>  <div class="cols c3">…</div>            columns
<div class="split s60">text | figure</div>                          60/40 (s40 = 40/60)
<ol class="steps">…</ol>                                            item N gets an N-cell motif
<ul class="incremental">…</ul>                                      reveal items one by one
<div class="box key"><b class="label"><cvc-motif n="3"></cvc-motif>Key idea</b>…</div>
     note · key · warn · def · solid · compact
<div class="stats"><div class="stat"><span class="num">240</span><span class="label">questions</span></div></div>
<figure><img src="…"><figcaption>…</figcaption></figure>   .frame .shadow
<p class="refs"><cite>[1] …</cite><cite>[2] …</cite></p>          citations above the footer
<a class="chip" href="…">link</a>   <cvc-qr data="https://…" style="--size:240px"></cvc-qr>

Text helpers: .red, .dark-red, .soft, .hl (highlight), .small, .big, .mt-s/.mt-m/.mt-l, .mt-auto (push to the bottom), .center.

Steps / fragments

Add class="fragment" to anything; it appears on the next click. Use data-step="2" to show several elements together, and dim to fade an element once you move past it.

Free placement and annotations (canvas px, use the C picker)

<img class="abs" src="img/x.png" style="--x:1200;--y:300;--w:500">
<cvc-arrow from="400,300" to="900,520" curve="0.2"></cvc-arrow>     both, dashed, width="8"
<cvc-line from="…" to="…"></cvc-line>
<cvc-ring at="1200,600" r="80"></cvc-ring>                          rx/ry for ellipses
<cvc-mark rect="300,200,500,240"></cvc-mark>                        fill · spotlight
<span class="label-tag" style="--x:1100;--y:900">text</span>         dark · ghost

Motifs

<cvc-motif> is a JS port of make-motif.py; both produce identical paths.

<cvc-motif n="5"></cvc-motif>              counter: 5 cells
<cvc-motif n="2" of="4"></cvc-motif>       progress: 2 of 4 solid, the rest faded
<cvc-motif shape="..#|##.|#.."></cvc-motif> any shape (rows separated by |)
<cvc-motif name="asterisk" fade></cvc-motif>

Size is one cell = --cell (default 0.5em); colour is color. tools/check-shape.py "<shape>" checks that a shape is one connected piece.

Working with Claude

tools/shoot.sh deck.html [n …] writes 1920×1080 screenshots to shots/, so Claude can see each slide while building it.

About

HTML slide template in the CVC visual identity

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages