From 8a2440993ce6e65b8f4b5b71a0feb3b63a9c968e Mon Sep 17 00:00:00 2001 From: Sam Scholten Date: Sun, 19 Oct 2025 21:29:03 +1000 Subject: init --- acarp-beamer.css | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 acarp-beamer.css (limited to 'acarp-beamer.css') diff --git a/acarp-beamer.css b/acarp-beamer.css new file mode 100644 index 0000000..376929a --- /dev/null +++ b/acarp-beamer.css @@ -0,0 +1,45 @@ +/* + * Academic Marp (acarp) Theme - Beamer Variant + * Version: 1.0.0 + * License: MIT + * Repository: https://git.samsci.com/cgit.cgi/acarp-marp-theme/ + * + * Beamer-style 4:3 aspect ratio variant of the Academic Marp theme. + * Import base theme and override dimensions for classic LaTeX Beamer-style presentations. + */ + +/* @theme acarp-beamer */ + +/* Academic Marp (acarp) - Beamer Theme (4:3 aspect ratio) + Overrides acarp.css with 4:3 dimensions for classic LaTeX Beamer-style presentations. +*/ + +/* Import the base theme and override specific values */ +@import 'acarp.css'; + +/* Override slide dimensions for 4:3 aspect ratio */ +:root { + --slide-width: 1280px !important; + --slide-height: 960px !important; +} + +/* Force 4:3 dimensions on all sections */ +section { + width: 1280px !important; + height: 960px !important; +} + +/* Increase font size proportionally for taller slides */ +section { + font-size: 37px !important; +} + +/* Larger pagination for beamer theme */ +section::after { + font-size: 24px !important; +} + +/* Ensure 2col layouts also use larger pagination */ +section.layout-2col::after { + font-size: 24px !important; +} -- cgit v1.2.3