From 2933351b887b0f6064e231fb4e1b3e26f1ec9120 Mon Sep 17 00:00:00 2001 From: William Warriner <6930772+wwarriner@users.noreply.github.com> Date: Wed, 2 Oct 2024 16:56:11 -0500 Subject: [PATCH] update css file --- theme/uab-rc.css | 41 +++++++++++++++++++++++++++++++---------- 1 file changed, 31 insertions(+), 10 deletions(-) diff --git a/theme/uab-rc.css b/theme/uab-rc.css index eef057b..036d483 100644 --- a/theme/uab-rc.css +++ b/theme/uab-rc.css @@ -10,6 +10,18 @@ font-family: "Arial", sans-serif; } +.reveal section { + text-align: left; +} + +.reveal iframe { + flex-grow: 1; +} + +.reveal .r-stretch { + margin-top: 2rem; +} + .content-wrapper { display: flex; flex-direction: column; @@ -17,11 +29,11 @@ } .description-header { - margin-bottom: 10px; + margin-bottom: 0.5rem; } .description-text { - margin-bottom: 20px; + margin-bottom: 1rem; width: 100%; text-align: left; } @@ -36,7 +48,7 @@ /* Style for text content */ .text-content { flex: 1; - margin-right: 20px; + margin-right: 1rem; } /* Style for image content */ @@ -56,8 +68,8 @@ .top-left-logo { position: fixed; /* fixed positioning */ - top: 30px; - left: 40px; + top: 1.5rem; + left: 2rem; z-index: 1000; /* check it is on top */ display: flex; @@ -79,7 +91,7 @@ .reveal section.title-slide h4, .reveal section.title-slide h5, .reveal section.title-slide h6 { - font-size: 3em; + font-size: 3rem; color: white; } @@ -93,14 +105,23 @@ color: var(--uab-dragons-lair-green); } +.reveal h1:not(:first-child), +.reveal h2:not(:first-child), +.reveal h3:not(:first-child), +.reveal h4:not(:first-child), +.reveal h5:not(:first-child), +.reveal h6:not(:first-child) { + margin-top: 3rem; +} + /* return to index */ .top-left-link { position: fixed; - top: 8px; - left: 8px; + top: 0.25rem; + left: 0.25rem; background: var(--uab-digital-dragons-lair-green); - padding: 8px; - border-radius: 8px; + padding: 0.25rem; + border-radius: 0.25rem; z-index: 1000; } -- GitLab