From f72b114ad8b6852e7eab3b6b2943c125a2526bd2 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 9 Nov 2022 12:49:10 +0200 Subject: [presentation] Improved image sizing --- src/presentation.css | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/presentation.css') diff --git a/src/presentation.css b/src/presentation.css index 2238b86..789a6fc 100644 --- a/src/presentation.css +++ b/src/presentation.css @@ -66,6 +66,13 @@ h2 + a, h3 + a, h4 + a, h5 + a, h6 + a { box-sizing: border-box; } +.slide img:not(.clicked-image) { + max-height: 100%; + height: auto; + max-width: 100%; + width: auto; +} + .centered { text-align: center; } -- cgit v1.3.1-25-gf783