Skip to content
Snippets Groups Projects
Commit d8c0462b authored by bdu-birhanu's avatar bdu-birhanu
Browse files

fix footer and menu

parent edf07d6e
No related branches found
No related tags found
1 merge request!2fix footer and menu
...@@ -29,7 +29,7 @@ format: ...@@ -29,7 +29,7 @@ format:
height: 720 height: 720
auto-stretch: false auto-stretch: false
history: true history: true
menu: false menu: true
progress: true progress: true
revealjs-plugins: revealjs-plugins:
- rStackFix - rStackFix
......
...@@ -4,9 +4,36 @@ ...@@ -4,9 +4,36 @@
</div> </div>
<div class="footer-center"> <div class="footer-center">
Research Computing - Research Computing -
<a class="support-link" href="https://docs.rc.uab.edu" <a class="support-link" href="https://docs.rc.uab.edu">https://docs.rc.uab.edu</a>
>https://docs.rc.uab.edu</a
>
</div> </div>
<div class="footer-right">&copy; UAB</div> <div class="footer-right">&copy; UAB</div>
</div> </div>
<script>
//execute the function () {...} only when the entire HTML document (DOM)loaded
document.addEventListener("DOMContentLoaded", function () {
// Function to check the current slide
function checkSlide() {
var titleSlide = document.querySelector("section#title-slide");
var customFooter = document.querySelector(".uabfooter");
if (customFooter) {
// Check if the current slide is the title slide
var currentSlide = document.querySelector(".reveal .slides .present");
if (currentSlide === titleSlide) {
customFooter.style.display = "none"; // Hide footer on title slide
} else {
customFooter.style.display = "flex"; // Show footer on other slides
}
}
}
// Call fun "checkSlide", initial check on load whether it is error free
checkSlide();
// Check the slide when it changes
Reveal.on('slidechanged', function (event) {
checkSlide();
});
});
</script>
...@@ -131,7 +131,6 @@ div.reveal div.slides div.quarto-title-authors { ...@@ -131,7 +131,6 @@ div.reveal div.slides div.quarto-title-authors {
/* headers */ /* headers */
.reveal h1, .reveal h1,
.reveal h2,
.reveal h3, .reveal h3,
.reveal h4, .reveal h4,
.reveal h5, .reveal h5,
...@@ -139,6 +138,13 @@ div.reveal div.slides div.quarto-title-authors { ...@@ -139,6 +138,13 @@ div.reveal div.slides div.quarto-title-authors {
color: var(--uab-dragons-lair-green); color: var(--uab-dragons-lair-green);
} }
/* headers */
.reveal h2 {
color: var(--uab-dragons-lair-green);
text-align: center;
}
/* return to index */ /* return to index */
.top-left-link { .top-left-link {
position: fixed; position: fixed;
...@@ -207,3 +213,9 @@ body { ...@@ -207,3 +213,9 @@ body {
align-items: center; align-items: center;
width: 25%; width: 25%;
} }
.reveal .slide-menu-button {
top: 8px;
left: 8px;
bottom: auto;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment