Skip to content

Commit a2d4432

Browse files
committed
improve title slide, add background elemements to IA theme
1 parent 7a118d9 commit a2d4432

3 files changed

Lines changed: 50 additions & 3 deletions

File tree

custom.css

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,24 @@
2121

2222
.small-text {
2323
font-size: 0.6em;
24-
}
24+
}
25+
26+
#title-slide::after {
27+
content: attr(data-presentation-context);
28+
display: block;
29+
margin-top: 1.5rem;
30+
font-size: 0.5em;
31+
line-height: 1.4;
32+
color: #F3EDE4;
33+
}
34+
35+
/* Replace pipes with line breaks visually */
36+
#title-slide::after {
37+
white-space: pre;
38+
content: "Ocean Data Stewardship\A Rutgers Operational Oceanography Program\A Session #3";
39+
}
40+
41+
#title-slide .date,
42+
#title-slide p.date {
43+
font-size: 0.5em;
44+
}

index.qmd

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@ author:
66
orcid: 0000-0001-7418-1244
77
affiliations:
88
- name: "<img src='assets/the_data_patch_logo.png' style='height:60px; vertical-align:middle; margin-left:5px;'>"
9-
date: 2025-01-29
10-
format: revealjs
9+
date: "2026-01-29"
10+
format:
11+
revealjs:
12+
title-slide-attributes:
13+
data-presentation-context: "Ocean Data Stewardship | Rutgers Operational Oceanography Program | Session #3"
14+
1115
---
1216

1317
## Why publish code?

intertidalagency_theme.scss

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,27 @@ main {
113113
ul p {
114114
margin-bottom: 0.2rem;
115115
}
116+
}
117+
118+
// ===== BACKGROUND TOPO IMAGES =====
119+
.reveal .slides::before {
120+
content: '';
121+
position: absolute;
122+
top: 0;
123+
left: 0;
124+
width: 100%;
125+
height: 100%;
126+
background-image:
127+
url('https://images.squarespace-cdn.com/content/v1/66abbe11c36e24506f192287/d0819b40-2deb-4e16-9468-e526f0dc82be/home2_Intertidal_Topo01_Aqua.png?format=300w'),
128+
url('https://images.squarespace-cdn.com/content/v1/66abbe11c36e24506f192287/511e7134-a0cf-4b95-9ba1-5ad82695a092/home1_Intertidal_Topo03_Aqua.png'),
129+
url('https://images.squarespace-cdn.com/content/v1/66abbe11c36e24506f192287/6f3514db-4d85-4663-954e-61e2cf7c41f2/home3_Intertidal_Topo02_Aqua.png');
130+
background-position:
131+
right top,
132+
left top,
133+
right bottom;
134+
background-repeat: no-repeat;
135+
background-size: auto 40%, auto 40%, auto 30%;
136+
opacity: 0.2;
137+
pointer-events: none;
138+
z-index: -1;
116139
}

0 commit comments

Comments
 (0)