aboutsummaryrefslogtreecommitdiff
path: root/2018-csnog/theme/theme.tex
blob: 12bb1698078eb4eedbd4370e269ea6481894491a (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
% 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{\linewidth}{\vspace*{-8pt}\hfill\insertpagenumber/\inserttotalframenumber}

	\includegraphics[width=8cm,keepaspectratio]{theme/nicbottom.pdf}
	\hspace{0.5cm}
	\includegraphics[width=3.5cm,keepaspectratio]{theme/cznic-cz.pdf}
	\end{beamercolorbox}
}

\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