-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainpage_backup.html
336 lines (286 loc) · 9.64 KB
/
mainpage_backup.html
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
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>From Sea to Summit</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css" rel="stylesheet">
<style>
body {
margin: 0;
font-family: "Courier New", monospace;
}
/* Navigation Bar Styles */
.navbar {
position: fixed;
top: 0;
width: 100%;
background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white background */
backdrop-filter: blur(10px); /* Creates the blur effect */
display: flex;
justify-content: space-between;
padding: 0px 20px;
z-index: 1000;
border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Optional: Adds a subtle border at the bottom */
}
.navbar .left {
display: flex;
align-items: center; /* Ensures the image and text are vertically aligned */
}
.navbar .right {
display: flex;
justify-content: flex-end;
gap: 15px; /* Add space between links */
}
.navbar a {
color: #666;
text-decoration: none;
font-size: 18px;
padding: 10px 15px; /* Ensure padding is applied to all links */
transition: all 0.3s ease;
display: flex;
align-items: center;
}
.navbar a:hover {
background-color: #777;
border-radius: 5px;
}
.navbar .right a {
padding: 10px 15px; /* Ensures that the Blog link also gets padding */
}
/* Add specific right padding for the last link (Blog) */
.navbar .right a:last-child {
padding-right: 50px; /* Add extra space to the right side of the last link */
}
.nav-image {
width: 50px;
height: 50px;
border-radius: 50%;
margin-right: 10px;
object-fit: cover;
object-position: center top;
}
/* Section Styles */
section {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
transition: all 0.5s ease;
padding: 20px; /* Add padding for smaller screens */
}
#about-me {
background-image: url('./images/pexels-fmaderebner-869258.jpg');
background-size: cover;
background-position: center center;
background-attachment: fixed;
color: black;
padding: 200px; /* Original left padding retained */
text-align: left;
}
#about-me h1 {
font-size: 20px;
margin: 0;
padding: 20px;
font-weight: 500;
position: relative; /* Required for positioning the pseudo-element */
z-index: 1; /* Ensures text is on top of the overlay */
}
#about-me h1::before {
content: ''; /* Empty content */
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(255, 255, 255, 0.7); /* White with 60% opacity */
z-index: -1; /* Places the overlay behind the text */
}
#publications, #teaching, #blog {
padding: 20px;
text-align: left;
}
#research {
text-align: left;
font-size: 15px;
}
#research h1{
font-size: 20px;
font-weight: 500;
}
#publications h1{
font-size: 20px;
font-weight: 500;
}
#teaching h1{
font-size: 20px;
font-weight: 500;
}
#blog h1{
font-size: 20px;
font-weight: 500;
}
html {
scroll-behavior: smooth;
}
.fade-in {
opacity: 0;
transform: translateY(50px);
animation: fadeInUp 1s forwards;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(50px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Responsive Adjustments */
@media (max-width: 1024px) {
#about-me {
padding-left: 10%; /* Reduce padding for tablets */
text-align: center; /* Center-align text for smaller screens */
}
#about-me h1 {
font-size: 18px; /* Slightly smaller text size */
}
}
@media (max-width: 768px) {
.navbar {
flex-direction: column; /* Stack navbar for smaller screens */
padding: 10px;
}
.navbar .right {
justify-content: center;
flex-wrap: wrap; /* Allow links to wrap */
gap: 10px;
padding-right: 0;
}
.nav-image {
width: 40px; /* Reduce logo size for smaller screens */
height: 40px;
}
section {
padding: 10px;
}
#about-me {
padding-left: 5%;
}
#research, #publications, #teaching, #blog {
font-size: 14px; /* Adjust font size for better readability */
}
}
@media (max-width: 480px) {
.navbar a {
font-size: 14px; /* Reduce navbar link font size for smaller devices */
padding: 8px;
}
.nav-image {
width: 30px;
height: 30px;
}
#about-me {
padding-left: 0; /* Remove left padding entirely */
text-align: center; /* Center align content */
}
#about-me h1 {
font-size: 16px; /* Smaller font size for phones */
font-weight: 500;
}
#publications, #teaching, #blog, #research {
font-size: 13px;
}
}
</style>
</head>
<body>
<!-- Navigation Bar -->
<div class="navbar">
<div class="left">
<a href="./index.html">
<img src="./images/IMG_2901.jpg" class="nav-image">
Yuying Lin
</a>
</div>
<div class="right">
<a href="#about-me" onclick="addAnimation('about-me')">About Me</a>
<a href="#research" onclick="addAnimation('research')">Research</a>
<a href="#publications" onclick="addAnimation('publications')">Publications</a>
<a href="#teaching" onclick="addAnimation('teaching')">Teaching</a>
<a href="#blog" onclick="addAnimation('blog')">Blog</a>
</div>
</div>
<!-- Sections -->
<section id="about-me">
<h1>
<br><br>Hi, I'm Yuying Lin, a PhD student trying to decode the mysteries of how genes work together to create sex chromosomes, like a genetic matchmaking service, but with fewer love letters and more complex algorithms.
<br><br><br>In the lab, my skills include:
<br>1. Writing Python code, hoping it runs without asking for a tea break and praying that the syntax doesn't turn against me;
<br>2. Pretending to understand what "p-value" really means.
<br><br><br>
<span style="font-weight: bold; color: black;">Keywords: Bio_Nerd</span>;
<span style="font-weight: bold; color: black;">Omics_Geek</span>;
<span style="font-weight: bold; color: black;">Conference_Locust</span>;
<span style="font-weight: bold; color: black;">Research_Robot</span>;
<span style="font-weight: bold; color: black;">Oolong_Tea-rrific_Brewmaster</span>;
<span style="font-weight: bold; color: black;">Crustacean_Crusher</span>
<br><br><br>Feel free to reach out if you want to chat about evolution, genetics, or the eternal question: Why does my code work sometimes? <a href="mailto:linyuying@zoology.ubc.ca">linyuying@zoology.ubc.ca</a>
<br><br>(Under Construction...)
<br><br>
</h1>
</section>
<section id="research">
<h1>
<br><br>I am totally hooked on evolutionary biology! 🔬
<br><br>But, with limited time and energy (because, you know, life),
<br><br>I’m diving into some exciting areas like,
<ul>
<li><span style="font-weight: bold; color: black;">Gene Duplications</span> – More genes, more fun, right? Or maybe a bit of chaos… 🧬</li>
<br><li><span style="font-weight: bold; color: black;">De Novo Mutations</span> - The birth of something completely new. Talk about originality! 💥</li>
<br><li><span style="font-weight: bold; color: black;">Transposable Elements</span> – Jumping genes? Yep, you read that right. 🤸♂️</li>
<br><li><span style="font-weight: bold; color: black;">Sex Chromosome Evolution</span> – How do those tiny sex chromosomes shape our world? 🤔</li>
<br>....and who knows what else I’ll stumble upon! 🌱
</ul>
<br><br>(Under Construction...)
</h1>
</section>
<section id="publications">
<h1>
<a href="https://scholar.google.com/citations?hl=en&user=VT0LYbkAAAAJ" target="_blank" style="text-decoration: none; color: inherit; cursor: pointer; display: inline-flex; align-items: center;">
<i class="fa fa-graduation-cap" style="margin-right: 8px;"></i>
Google Scholar
</a>
</h1>
</section>
<section id="teaching">
<h1>
While I’m teaching,
<br><br>I’m doing my best not to <del>confuse</del> my students and/or myself.
<br><br>(Under Construction...)
</h1>
</section>
<section id="blog">
<h1>
When I'm not busy with research,
<br><br> I’m likely on GitHub, writing 100 lines of code to fix 10,
<br><br> or debating the perfect α = ratio of (tea/hrs of sleep) for optimal brain function.
<br><br> Well, you know that, right? It's always more tea 🍵.
<br><br>(Under Construction...)
</h1>
</section>
<!-- JavaScript -->
<script>
function addAnimation(sectionId) {
const section = document.getElementById(sectionId);
section.classList.add("fade-in");
setTimeout(() => section.classList.remove("fade-in"), 1000);
}
</script>
</body>
</html>