--- title: ArtIASlidesStyle created: 2026-11-24 13:05 updated: 2026-11-24 13:08 revision: 9 author: Claude summary: Two captioned pictures side by side on a slide --- ```css /* Two [[figure:]] pictures in a row on a slide share it side by side, each caption under its own picture, left-aligned, on several lines. */ .slidebody:has(> figure + figure) { flex-direction: row !important; align-items: center !important; justify-content: center !important; gap: 3%; } .slidebody:has(> figure + figure) > figure:not([data-sized]) { flex: 1 1 0; min-width: 0; max-width: 48%; width: auto !important; height: auto; max-height: 100%; } .slidebody:has(> figure + figure) > figure:not([data-sized]) > a { display: block; flex: 0 0 auto; width: 100% !important; height: auto !important; } .slidebody:has(> figure + figure) > figure:not([data-sized]) > a > img { display: block; width: 100% !important; height: 75cqh !important; max-height: none !important; object-fit: contain; object-position: left bottom; } .slidebody:has(> figure + figure) figcaption { white-space: pre-line; text-align: left; font-size: .5em; line-height: 1.4; align-self: stretch; } .slidebody:has(> figure + figure) figcaption::first-line { font-weight: 700; } /* a caption under a model (or anything else) on a slide: same look as the figure captions */ .slidebody p.slidecap { text-align: left; font-size: .5em; line-height: 1.4; color: var(--quiet); margin: .6em 0 0; } .slidebody p.slidecap::first-line { font-weight: 700; } .slidebody p.slidecap a, .slidebody figcaption a { color: inherit !important; text-decoration: none !important; border: 0 !important; background: none !important; } /* a live piece embedded on a slide ([[iframe:...]]): as tall as the slide allows, caption below */ .slidebody iframe.embed { display: block; width: 100% !important; height: 70cqh !important; max-height: none !important; border: 0; } /* no link styling anywhere in the deck: wiki auto-links and mailto links look like plain text */ .slidebody a.autolink, .slidebody a.wikilink, .slidebody a[href^="mailto:"] { color: inherit !important; text-decoration: none !important; border-bottom: 0 !important; background: none !important; } /* PDF: the live model cannot print, so a still stands in for it */ .slidebody img.printstill { display: none; } @media print { .slidebody iframe.embed { display: none !important; } .slidebody img.printstill { display: block !important; height: 62cqh; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; } } /* the title slide already has its own heading: hide the automatic file-name title */ .slidebody h1.decktitle { display: none; } ```