-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
211 lines (193 loc) · 6.79 KB
/
index.html
File metadata and controls
211 lines (193 loc) · 6.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Scott Loarie</title>
<style>
body {
margin: 20px;
padding: 0;
background-color: white;
font-family: Arial, sans-serif;
}
/*
Container holds three siblings:
1) .heading
2) .image
3) .paragraphs
By default (mobile-first), they flow top-to-bottom:
Heading -> Image -> Paragraphs
which places the image between the heading and paragraphs as desired.
*/
.container {
max-width: 1000px;
width: 100%;
margin: 0 auto 20px auto;
padding: 0 10px; /* some horizontal padding */
}
.heading, .image, .paragraphs {
background: white;
padding: 20px;
box-sizing: border-box;
margin-bottom: 10px; /* space between sections on mobile */
}
.heading h1 {
margin-top: 0;
text-align: center;
}
.paragraphs p {
line-height: 1.6;
color: #555;
margin-top: 0;
margin-bottom: 1em;
}
.image {
display: flex;
justify-content: center;
align-items: center;
}
.image img {
max-width: 100%;
height: auto;
border-radius: 8px;
}
/*
For LARGE screens (>= 769px), switch the container to a 2-column Grid:
- Column 1 (left) for .heading (row 1) + .paragraphs (row 2)
- Column 2 (right) for .image
Both columns are 1fr (50%-50%), giving the image the same width
as the combined heading + paragraphs column.
*/
@media (min-width: 769px) {
.container {
display: grid;
grid-template-columns: 1fr 1fr; /* two equal-width columns */
grid-gap: 20px; /* space between columns */
padding: 0; /* remove extra padding around the grid */
}
/*
Place .heading in Row 1, Column 1
Place .paragraphs in Row 2, Column 1
Place .image in Row 1-2, Column 2
*/
.heading {
grid-column: 1;
grid-row: 1;
margin-bottom: 0; /* no bottom margin in grid layout */
}
.paragraphs {
grid-column: 1;
grid-row: 2;
margin-bottom: 0;
}
.image {
grid-column: 2;
grid-row: 1 / span 2; /* spans rows 1 and 2 */
margin-bottom: 0;
}
}
/* Video section styling (unchanged) */
.video-section {
max-width: 900px;
width: 100%;
background: white;
border: 1px solid #ddd;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
border-radius: 8px;
overflow: hidden;
margin: 0 auto 20px auto;
}
.video-wrapper {
position: relative;
width: 100%;
padding-bottom: 56.25%; /* 16:9 aspect ratio */
height: 0;
}
.video-wrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}
</style>
</head>
<body>
<div class="container">
<!-- 1) Heading -->
<div class="heading">
<h1>Scott Loarie</h1>
<!-- Social Icons Row -->
<div style="display: flex; gap: 10px; justify-content: center; margin: 20px 0;">
<!-- LinkedIn -->
<a href="https://www.linkedin.com/in/scott-loarie-872b665/" aria-label="LinkedIn">
<img src="images/linkedin-icon.png" alt="LinkedIn icon" style="height: 30px; width: auto;" />
</a>
<!-- iNaturalist -->
<a href="https://inaturalist.org/users/loarie" aria-label="iNaturalist">
<img src="images/inat-icon.png" alt="X icon" style="height: 30px; width: auto;" />
</a>
<!-- X (formerly Twitter) -->
<a href="https://twitter.com/loarie" aria-label="X (formerly Twitter)">
<img src="images/twitter-icon.png" alt="X icon" style="height: 30px; width: auto;" />
</a>
<!-- Bluesky -->
<a href="https://bsky.app/profile/loarie.bsky.social" aria-label="Bluesky">
<img src="images/bluesky-icon.png" alt="X icon" style="height: 30px; width: auto;" />
</a>
<!-- Email -->
<a href="mailto:[email protected]" aria-label="Email">
<img src="images/email-icon.png" alt="Email icon" style="height: 30px; width: auto;" />
</a>
</div>
</div>
<!-- 2) Image (comes between heading & paragraphs on mobile) -->
<div class="image">
<img src="images/pic.png" alt="Scott Loarie" />
</div>
<!-- 3) Paragraphs (on mobile, these follow the image) -->
<div class="paragraphs">
<p>
<a href="https://www.linkedin.com/in/scott-loarie-872b665/">Scott Loarie</a>
is the Executive Director of <a href="https://www.inaturalist.org/">iNaturalist</a>,
a nonprofit that connects people with nature to drive global conservation.
In 2024, Scott received the prestigious
<a href="https://www.heinzawards.org/pages/scott-loarie-ken-ichi-ueda">Heinz Award for the Environment</a>.
</p>
<p>
Scott’s love for nature began during his childhood on the Russian River in rural Northern California, where exploring the outdoors sparked a lifelong fascination with biodiversity. That passion led him to earn degrees in biology from Stanford and a PhD in environmental science from Duke. As a researcher at the Carnegie Institution for Science and a lecturer at UC Berkeley, Scott studied how <a href="https://www.nature.com/articles/nature08649">climate change is reshaping ecosystems worldwide</a>, from banding birds in Central America to tracking elephants with GPS collars across Africa.
</p>
<p>
In 2011, Scott’s growing fascination with the power of technology to scale
and decentralize solutions inspired him to leave academia and build iNaturalist
— a platform that not only inspires curiosity and discovery but also fuels
scientific breakthroughs and conservation action.
</p>
</div>
</div>
<div class="video-section">
<div class="video-wrapper">
<iframe
src="https://www.youtube.com/embed/DUfobESjj6s?si=qH7OUZAgX4W1Kk90"
title="YouTube video player"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
referrerpolicy="strict-origin-when-cross-origin"
allowfullscreen
></iframe>
</div>
</div>
<div class="video-section">
<div class="video-wrapper">
<iframe
src="https://www.youtube.com/embed/-bidK7RXB8U?si=0UC3MwuJ28OjAD2A"
title="YouTube video player"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
referrerpolicy="strict-origin-when-cross-origin"
allowfullscreen
></iframe>
</div>
</div>
</body>
</html>