From 86752d1f23a732368942840a55befa6cbb2cb2ee Mon Sep 17 00:00:00 2001 From: Sam Scholten Date: Thu, 27 Nov 2025 16:12:56 +1100 Subject: Clean up 2-column spacing: remove column gap, fix padding symmetry, remove redundant rules --- acarp-beamer.css | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'acarp-beamer.css') diff --git a/acarp-beamer.css b/acarp-beamer.css index 376929a..c60fab6 100644 --- a/acarp-beamer.css +++ b/acarp-beamer.css @@ -21,6 +21,7 @@ :root { --slide-width: 1280px !important; --slide-height: 960px !important; + --padding: 80px !important; } /* Force 4:3 dimensions on all sections */ @@ -34,6 +35,35 @@ section { font-size: 37px !important; } +/* Adjust code blocks for 4:3 aspect ratio */ +pre { + font-size: 55% !important; +} + +pre > code { + min-width: 280px !important; +} + +/* Adjust 2-column layout for 4:3 format */ +section.layout-2col > h1:first-child, +section.layout-2col > h2:first-child, +section.layout-2col > h3:first-child { + padding: 40px 80px 0 80px !important; +} + +section.layout-2col .left-column { + padding: 0 1em 0 80px !important; +} + +section.layout-2col .right-column { + padding: 0 150px 0 1em !important; +} + +section.layout-2col::after { + bottom: 40px !important; + right: 80px !important; +} + /* Larger pagination for beamer theme */ section::after { font-size: 24px !important; -- cgit v1.2.3