Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Q
Quarto Presentation Template
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RC Data Science
Researcher Training
Quarto Presentation Template
Commits
d8c0462b
Commit
d8c0462b
authored
7 months ago
by
bdu-birhanu
Browse files
Options
Downloads
Patches
Plain Diff
fix footer and menu
parent
edf07d6e
No related branches found
Branches containing commit
No related tags found
1 merge request
!2
fix footer and menu
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
_quarto.yml
+1
-1
1 addition, 1 deletion
_quarto.yml
runtime/includes/footer.html
+30
-3
30 additions, 3 deletions
runtime/includes/footer.html
runtime/theme/uab-rc.css
+13
-1
13 additions, 1 deletion
runtime/theme/uab-rc.css
with
44 additions
and
5 deletions
_quarto.yml
+
1
−
1
View file @
d8c0462b
...
@@ -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
:
fals
e
menu
:
tru
e
progress
:
true
progress
:
true
revealjs-plugins
:
revealjs-plugins
:
-
rStackFix
-
rStackFix
...
...
This diff is collapsed.
Click to expand it.
runtime/includes/footer.html
+
30
−
3
View file @
d8c0462b
...
@@ -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"
>
©
UAB
</div>
<div
class=
"footer-right"
>
©
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>
This diff is collapsed.
Click to expand it.
runtime/theme/uab-rc.css
+
13
−
1
View file @
d8c0462b
...
@@ -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
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment