blob: c60fab6d92ded33fd98d81a0f0cd1dfa38e74cbf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
/*
* 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;
--padding: 80px !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;
}
/* 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;
}
/* Ensure 2col layouts also use larger pagination */
section.layout-2col::after {
font-size: 24px !important;
}
|