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>
This commit is contained in:
2026-04-14 01:24:26 +02:00
parent 30e35200e3
commit eb560d0bcc

View File

@@ -63,18 +63,21 @@
margin-bottom: 0.2em; margin-bottom: 0.2em;
} }
/* Code blocks: fit without scrollbars */ /* Code blocks: fill the slide without scrollbars */
.reveal pre { .reveal pre {
width: 100%; width: 100%;
max-height: none; max-height: none;
overflow: visible; overflow: visible;
margin: 0;
} }
.reveal pre code { .reveal pre code {
font-size: 0.48em; font-size: 0.55em;
line-height: 1.45; line-height: 1.5;
max-height: none; max-height: none;
overflow: visible; overflow: visible;
padding: 0.8em;
} }
.filename { margin-top: 0; }
/* Tool logos — fixed like OVHcloud logo, toggled by JS per slide */ /* Tool logos — fixed like OVHcloud logo, toggled by JS per slide */
.tool-logo-global { .tool-logo-global {