aboutsummaryrefslogtreecommitdiff
path: root/acarp-beamer.css
diff options
context:
space:
mode:
authorSam Scholten2025-11-27 16:12:56 +1100
committerSam Scholten2025-11-27 16:12:56 +1100
commit86752d1f23a732368942840a55befa6cbb2cb2ee (patch)
treee44f3d96e04289b6e6211fc56fa0f732a75cfdf1 /acarp-beamer.css
parentf1ea3e0bd91f69ead12ebba3a2b9ae11a0d6dd7d (diff)
downloadacarp-marp-theme-86752d1f23a732368942840a55befa6cbb2cb2ee.tar.gz
acarp-marp-theme-86752d1f23a732368942840a55befa6cbb2cb2ee.zip
Clean up 2-column spacing: remove column gap, fix padding symmetry, remove redundant rules
Diffstat (limited to 'acarp-beamer.css')
-rw-r--r--acarp-beamer.css30
1 files changed, 30 insertions, 0 deletions
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;