Update beamer style Obnox.
authorMichael Adam <obnox@samba.org>
Wed, 20 May 2015 07:23:35 +0000 (09:23 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 20 May 2015 07:23:35 +0000 (09:23 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
beamerouterthemeobnoxinfolines.sty
beamerthemeObnoxSamba.sty

index 434ddb8..de41bcb 100644 (file)
 %%}
 
 
-\setbeamersize{text margin left=1em,text margin right=1em}
+%%\setbeamersize{text margin left=1em,text margin right=1em}
 
 \usepackage{textpos}
 
 \addtobeamertemplate{title page}
 {
-  \begin{textblock*}{\paperwidth}(-4mm,0pt)
+  \begin{textblock*}{\paperwidth}(-3em,0pt)
     \pgfuseimage{Samba-BG}
     %\includegraphics[width=\paperwidth,height=\paperheight]{samba_bg.png}
   \end{textblock*}
index 4f95325..49a1418 100644 (file)
@@ -14,6 +14,8 @@
 \useoutertheme{obnoxinfolines}
 \usecolortheme{obnoxsamba}
 
+\setbeamertemplate{navigation symbols}{}
+
 %%\useinnertheme[shadow=true]{rounded}
 \useinnertheme{rectangles}
 % centered squares:
 %\setbeamercolor{titlelike}{parent=structure,bg=white}
 \setbeamercolor{titlelike}{parent=structure}
 
+
+
+% blocks
+\setbeamercolor{block title}{fg=white,bg=rhred4!90}
+\setbeamercolor{block title alerted}{use=alerted text,use=block title,fg=alerted text.fg!30!block title.fg,bg=block title.bg}
+\setbeamercolor{block title example}{use=example text,use=block title,fg=example text.fg!30!block title.fg,bg=block title.bg}
+
+\setbeamercolor{block body}{parent=normal text,bg=rhgrey2!50}
+\setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,use=block body,fg=alerted text.fg!50!fg,bg=block body.bg}
+\setbeamercolor{block body example}{parent=normal text,use=block title example,use=block body,fg=example text.fg!40!fg,bg=block body.bg}
+
+\setbeamertemplate{blocks}[rounded]
+% blocks
+
 \newenvironment{sambabg}{
        \setbeamertemplate{background canvas}%
                {\includegraphics[width=\paperwidth,height=\paperheight]{samba_bg.png}}
 {
 }
 
+\newcommand{\Sambabg}[1]{
+    \begin{sambabg}%
+    #1%
+    \end{sambabg}%
+}
+
+\renewcommand{\sectionpage}{\usebeamertemplate*{section page}}
+
+\newcommand{\fancySectionOpens}{
+\AtBeginSection[]%
+{
+    \Sambabg{\frame{\sectionpage}}
+}
+}
+
+%\fancySectionOpens
+
+
+%\newcommand{\fancyPartOpens}{
+%\AtBeginPart%
+%{
+%    \Sambabg{\frame{\partpage}}
+%}
+%}
+
+%\fancyPartOpens
+
 \mode<all>