diff options
| author | Sam Scholten | 2025-10-19 21:29:03 +1000 |
|---|---|---|
| committer | Sam Scholten | 2025-10-19 21:29:03 +1000 |
| commit | 8a2440993ce6e65b8f4b5b71a0feb3b63a9c968e (patch) | |
| tree | 5e0eab5c9644a99e8d2e3398c41e20a560473ed2 /acarp-beamer.css | |
| download | acarp-marp-theme-8a2440993ce6e65b8f4b5b71a0feb3b63a9c968e.tar.gz acarp-marp-theme-8a2440993ce6e65b8f4b5b71a0feb3b63a9c968e.zip | |
init
Diffstat (limited to 'acarp-beamer.css')
| -rw-r--r-- | acarp-beamer.css | 45 |
1 files changed, 45 insertions, 0 deletions
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; +} |
