aboutsummaryrefslogtreecommitdiff
path: root/styles/presentation.css
blob: 0297484f0855a427dca75ff554b1721c71962b35 (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
76
77
78
79
80
81
82
:root {
	background-color: var(--c100);
}

.presentation {
	--aspect-ratio-h: 16;
	--aspect-ratio-v: 9;
}

.slideWrapper {
	margin: 0 auto;
	max-width: calc(var(--aspect-ratio-h) / var(--aspect-ratio-v) * 100vh);
}

.slideWrapper .slide {
	padding-top: calc(var(--aspect-ratio-v) / var(--aspect-ratio-h) * 100%);
	background-color: var(--c200);
}

.fullscreenControls {
	--menu-size: 25;
	display: grid;
	grid-template-columns: 1fr calc(var(--menu-size) * 1vw) 1fr;
}

#menu {
	pointer-events: none;
	transition: opacity .3s;
	opacity: 0;
}

#menu.active {
	pointer-events: unset;
	opacity: 1;
}

#menu .background {
	background: linear-gradient(180deg,
								rgba(1, 1, 13, 0.46) 50%,
								rgba(1, 1, 13, 1.00) 100%);
}

#menu .info {
	margin: 32px;
	grid-template-columns: auto 1fr auto;
}

#menu .info .timetitle,
#menu .info .slide {
	line-height: 1;
}

#menu .info .timetitle *,
#menu .info .slide * {
	margin: 0;
}

#menu .info h3 {
	color: var(--c700);
	font-weight: 400;
	font-size: min(50px, 3vw);
}

#menu .info h1 {
	font-weight: 600;
	font-size: min(70px, 4.2vw);
}

#menu .MuiButton-root {
	background-color: var(--piss);
}

#menu .MuiButton-root.bg-err {
	background-color: var(--error);
}

#menu .info .buttons .inner .MuiButton-root {
	margin: 0;
	margin-right: 16px;
	margin-top: 16px;
}