From 42cf0918716186fbf8ff2d505cc2ef78e1c7ae67 Mon Sep 17 00:00:00 2001
From: William Warriner <6930772+wwarriner@users.noreply.github.com>
Date: Mon, 7 Oct 2024 16:22:28 -0500
Subject: [PATCH] improve styling

---
 theme/fix-r-stack-hack.css | 14 +++++++++
 theme/uab-rc.css           | 58 ++++++++++++++++++++++++++++++++------
 2 files changed, 63 insertions(+), 9 deletions(-)
 create mode 100644 theme/fix-r-stack-hack.css

diff --git a/theme/fix-r-stack-hack.css b/theme/fix-r-stack-hack.css
new file mode 100644
index 0000000..092ffe2
--- /dev/null
+++ b/theme/fix-r-stack-hack.css
@@ -0,0 +1,14 @@
+.reveal .slides .r-stack {
+  height: calc(0.8*var(--slide-height));
+  max-height: calc(0.8*var(--slide-height));
+}
+
+.reveal .slides .r-stack .fragment {
+  height: calc(0.8*var(--slide-height));
+  max-height: calc(0.8*var(--slide-height));
+}
+
+.reveal .slides .r-stack .fragment img {
+  max-height: calc(0.8*var(--slide-height));
+  width: auto;
+}
diff --git a/theme/uab-rc.css b/theme/uab-rc.css
index 3e44115..3da7620 100644
--- a/theme/uab-rc.css
+++ b/theme/uab-rc.css
@@ -10,10 +10,22 @@
 
 .reveal {
   font-family: "Arial", sans-serif;
+  text-align: left;
 }
 
-.reveal section {
-  text-align: left;
+.reveal .controls {
+  color: var(--uab-dragons-lair-green);
+}
+
+.reveal .slides img {
+  box-shadow: 0 0 13px rgba(0, 0, 0, 0.50);
+}
+
+.reveal .slides .r-stack {
+  /* flex-direction: row;
+  justify-content: flex-start; */
+  justify-self: start;
+  margin: 0;
 }
 
 .content-wrapper {
@@ -79,16 +91,44 @@
 /* content */
 
 /* title slide */
-.reveal section.title-slide h1,
-.reveal section.title-slide h2,
-.reveal section.title-slide h3,
-.reveal section.title-slide h4,
-.reveal section.title-slide h5,
-.reveal section.title-slide h6 {
+.reveal .quarto-title-block {
+  background-color: var(--uab-dragons-lair-green);
+}
+
+#title-slide,
+div.reveal div.slides section.quarto-title-block {
+  text-align: left;
+}
+
+#title-slide,
+div.reveal div.slides div.quarto-title-authors {
+  text-align: left;
+}
+
+.reveal .quarto-title-block .quarto-title-authors {
+  display: flex;
+  justify-content: left;
+}
+
+.reveal .quarto-title-block .quarto-title-authors .quarto-title-author {
+  padding-left: 0;
+  padding-right: 0;
+}
+
+.reveal .title-slide h1,
+.reveal .title-slide h2,
+.reveal .title-slide h3,
+.reveal .title-slide h4,
+.reveal .title-slide h5,
+.reveal .title-slide h6 {
   font-size: 3em;
   color: white;
 }
 
+.slides .quarto-title-block~.controls {
+  color: white;
+}
+
 /* headers */
 .reveal h1,
 .reveal h2,
@@ -128,7 +168,7 @@ body {
   color: var(--uab-loyal-yellow);
 }
 
-.footer {
+.uabfooter {
   background-color: var(--uab-digital-dragons-lair-green);
   color: white;
   display: flex;
-- 
GitLab