From f33b3914cda46431261410da51e7aeccff4f05e9 Mon Sep 17 00:00:00 2001 From: ministicraft Date: Tue, 14 Apr 2026 01:39:02 +0200 Subject: [PATCH] style: center all SVGs, images and GIFs in slides Use display:block + auto margins to center visual elements while keeping text left-aligned. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- index.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/index.html b/index.html index fa78f8e..69bfc34 100644 --- a/index.html +++ b/index.html @@ -45,6 +45,13 @@ text-align: left; } + .reveal .slides section svg, + .reveal .slides section > img { + display: block; + margin-left: auto; + margin-right: auto; + } + .reveal h1, .reveal h2 { text-align: left; } .title-slide, .title-slide h1 { text-align: center !important; }