From eb560d0bcc31d29e923bf2fb06c9bbd57f265bfa Mon Sep 17 00:00:00 2001 From: ministicraft Date: Tue, 14 Apr 2026 01:24:26 +0200 Subject: [PATCH] style: enlarge code blocks to fill more slide space Increase font-size to 0.55em, reduce margins, add padding inside code blocks so they use the available vertical space. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- index.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 1dfb0a8..9937866 100644 --- a/index.html +++ b/index.html @@ -63,18 +63,21 @@ margin-bottom: 0.2em; } - /* Code blocks: fit without scrollbars */ + /* Code blocks: fill the slide without scrollbars */ .reveal pre { width: 100%; max-height: none; overflow: visible; + margin: 0; } .reveal pre code { - font-size: 0.48em; - line-height: 1.45; + font-size: 0.55em; + line-height: 1.5; max-height: none; overflow: visible; + padding: 0.8em; } + .filename { margin-top: 0; } /* Tool logos — fixed like OVHcloud logo, toggled by JS per slide */ .tool-logo-global {