From 76bae02bcd7d6b3ec9eea428e5e95da184a8dbfb Mon Sep 17 00:00:00 2001
From: Rasmus Dahlberg <rasmus@rgdd.se>
Date: Tue, 15 Oct 2024 15:35:20 +0200
Subject: Rescue some slides from old private mono repos

---
 slides/2021-surprise/beamerouterthemergd.sty | 69 ++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)
 create mode 100644 slides/2021-surprise/beamerouterthemergd.sty

(limited to 'slides/2021-surprise/beamerouterthemergd.sty')

diff --git a/slides/2021-surprise/beamerouterthemergd.sty b/slides/2021-surprise/beamerouterthemergd.sty
new file mode 100644
index 0000000..456290a
--- /dev/null
+++ b/slides/2021-surprise/beamerouterthemergd.sty
@@ -0,0 +1,69 @@
+\mode<presentation>
+
+%%%
+% Frame header
+%%%
+\defbeamertemplate*{frametitle}{corporate}[1][]{%
+  \nointerlineskip
+  % Add frame title
+  \begin{beamercolorbox}[
+    wd=\paperwidth,
+    ht=3ex,
+    dp=1.5ex,
+    left,
+    leftskip=2ex
+  ]{header}
+    \insertframetitle
+  \end{beamercolorbox}
+  % Add line after header
+  \nointerlineskip
+  \begin{beamercolorbox}[
+    wd=\paperwidth,
+    ht=0.25ex
+  ]{trailer}
+  \end{beamercolorbox}%
+}
+
+%%%
+% Frame trailer
+%%%
+\defbeamertemplate*{footline}{corporate}{%
+  \hbox{%
+    % Add metadata
+    \begin{beamercolorbox}[
+      wd=0.50\paperwidth,
+      ht=2ex,
+      dp=0.5ex,
+      left,
+      leftskip=2ex
+    ]{trailer}
+		\href{https://rgdd.github.io}{rgdd.github.io}
+		$\;\;\;\;\;\;\;\;\cdots\;\;\;\;\;\;\;\;$
+		\href{https://twitter.com/\_\_rgdd}{@\_\_rgdd}
+		$\;\;\;\;\;\;\;\cdots\;\;\;\;\;\;\;$
+		\href{mailto:rasmus.dahlberg@kau.se}{rasmus.dahlberg@kau.se}
+    \end{beamercolorbox}%
+    % Add title
+    \begin{beamercolorbox}[
+      wd=0.45\paperwidth,
+      ht=2ex,
+      dp=0.5ex,
+      left,
+      leftskip=2ex
+    ]{header}
+      \insertsubtitle
+    \end{beamercolorbox}%
+    % Add page counter
+    \begin{beamercolorbox}[
+      wd=0.05\paperwidth,
+      ht=2ex,
+      dp=0.5ex,
+      right,
+      rightskip=1ex
+    ]{header}
+      \insertframenumber/\inserttotalframenumber
+    \end{beamercolorbox}%
+  }
+}
+
+\mode<all>
-- 
cgit v1.2.3

