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;
}
/* 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 {