aboutsummaryrefslogtreecommitdiff
path: root/turris-academy/tos3migration/theme/theme.tex
blob: 6648932e7adcd5e9537b7d4f8af380c42d2c6d62 (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
% vim: ft=tex

\definecolor{cznicblue}{RGB}{0,56,145}
\definecolor{cznicred}{RGB}{204,18,38}

\setbeamertemplate{frametitle}{
	\begin{textblock}{100}[0,0](0.0,1.1)
		\insertframetitle
	\end{textblock}
}

\defbeamertemplate*{footline}{CZ.NIC}{
	\begin{beamercolorbox}[wd=\paperwidth,ht=2.5ex,dp=1.125ex,
		leftskip=.3cm,rightskip=.3cm plus1fil]{bottom}


	\parbox{15.4cm}{\vspace*{-1.2cm}\hfill\insertpagenumber/\inserttotalframenumber}
	\end{beamercolorbox}
}

\setbeamertemplate{background}{
	\includegraphics[width=\paperwidth,height=\paperheight]{theme/turris_bg_16_9.png}
}

\defbeamertemplate*{title page}{CZ.NIC}[1][]{
	\usebeamerfont{title}\usebeamercolor[fg]{title}\inserttitle\par
	\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par
	\bigskip
	\usebeamerfont{author}\usebeamercolor[fg]{author}\insertauthor\par
	\usebeamerfont{institute}\usebeamercolor[fg]{institute}\insertinstitute\par
	% Commenting out following lines hides date from first slide
	\usebeamerfont{date}\usebeamercolor[fg]{date}\insertdate\par
	\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic
}

\setbeamercolor{structure}{fg=cznicred}
\setbeamercolor{title}{fg=cznicblue}
\setbeamercolor{subtitle}{fg=cznicred}
\setbeamercolor{frametitle}{fg=cznicblue}
\setbeamercolor{author}{fg=cznicblue}
\setbeamercolor{date}{fg=cznicblue}

\beamertemplatenavigationsymbolsempty