Skip to content

Commit 192b202

Browse files
authored
Merge pull request #5 from sethbern/fix-mobile
fix links on mobile
2 parents d007085 + 6d9cd3b commit 192b202

2 files changed

Lines changed: 56 additions & 11 deletions

File tree

index.html

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,20 @@ <h1>Seth Bernstein</h1>
3535
<p>Incoming PhD Student, University of Michigan<br>School of Information</p>
3636
<p><strong>Research:</strong> HCI & Computing Education</p>
3737
<div class="social-links">
38-
<a href="mailto:sethbern@umich.edu"><i class="fas fa-envelope"></i> sethbern@umich.edu</a> |
39-
<a href="https://www.linkedin.com/in/seth-bern" target="_blank"><i class="fab fa-linkedin"></i>
40-
LinkedIn</a> |
41-
<a href="https://scholar.google.com/citations?user=mpn42u8AAAAJ&hl=en" target="_blank"><i
42-
class="fas fa-graduation-cap"></i> Google Scholar</a> |
43-
<a href="https://orcid.org/0000-0002-7552-5448" target="_blank"><i class="fab fa-orcid"></i>
44-
ORCID</a> |
45-
<a class="cv-link cv-button" href="assets/cv_418.pdf" target="_blank"
46-
rel="noopener noreferrer"><i class="fa-regular fa-file-lines"></i> View CV</a>
38+
<a href="mailto:sethbern@umich.edu"><i class="fas fa-envelope"></i> sethbern@umich.edu</a>
39+
<span class="link-separator">|</span>
40+
<a href="https://www.linkedin.com/in/seth-bern"><i class="fab fa-linkedin"></i> LinkedIn</a>
41+
<span class="link-separator">|</span>
42+
<a href="https://scholar.google.com/citations?user=mpn42u8AAAAJ"><i
43+
class="fas fa-graduation-cap"></i> Google Scholar</a>
44+
<span class="link-separator">|</span>
45+
<a href="https://orcid.org/0000-0002-7552-5448"><i class="fab fa-orcid"></i> ORCID</a>
46+
<span class="link-separator">|</span>
47+
<a href="assets/cv_418.pdf"><i class="fa-regular fa-file-lines"></i> View CV</a>
4748
</div>
4849

4950

51+
5052
</div>
5153
</div>
5254
</header>
@@ -68,8 +70,10 @@ <h2>About</h2>
6870
especially for students who don’t yet see themselves represented in technical spaces.
6971
</p>
7072
<p>
71-
In the fall of 2025, I’ll begin my PhD at the <span class="blue">University of Michigan School of
72-
Information. Go blue!</span>
73+
In the fall of 2025, I’ll begin my PhD at the <span class="blue">
74+
University of Michigan School of Information.
75+
Go blue!
76+
</span>
7377
</p>
7478

7579
</section>

style.css

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,4 +263,45 @@ h3 {
263263

264264
strong {
265265
color: #00274C;
266+
}
267+
268+
.link-separator {
269+
padding: 0 6px;
270+
color: #002f66;
271+
}
272+
273+
@media (max-width: 600px) {
274+
.link-separator {
275+
display: none;
276+
}
277+
278+
.social-links {
279+
display: flex;
280+
flex-wrap: wrap;
281+
justify-content: flex-start;
282+
gap: 6px 10px;
283+
text-align: center;
284+
margin-top: 8px;
285+
}
286+
287+
.social-links a {
288+
display: inline-block;
289+
font-size: 15px;
290+
padding: 4px 2px;
291+
white-space: nowrap;
292+
}
293+
294+
.social-links i {
295+
margin-right: 4px;
296+
}
297+
}
298+
299+
.mobile-break {
300+
display: none;
301+
}
302+
303+
@media (max-width: 600px) {
304+
.mobile-break {
305+
display: inline;
306+
}
266307
}

0 commit comments

Comments
 (0)