From 669a737f98a486d0cd7708f104e0003cdd4ce038 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <cynerd@email.cz>
Date: Fri, 27 Apr 2018 11:10:10 +0200
Subject: Add presentation from Open Camp Bratislave 2018

---
 2018-opencampbr/theme/theme.tex | 42 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
 create mode 100644 2018-opencampbr/theme/theme.tex

(limited to '2018-opencampbr/theme/theme.tex')

diff --git a/2018-opencampbr/theme/theme.tex b/2018-opencampbr/theme/theme.tex
new file mode 100644
index 0000000..12bb169
--- /dev/null
+++ b/2018-opencampbr/theme/theme.tex
@@ -0,0 +1,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
-- 
cgit v1.2.3

