Skip to content

Commit be83a12

Browse files
authored
Update team.md
1 parent 1000099 commit be83a12

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

_pages/team.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,29 @@ Jump to [Principal Investigator](#principal-investigator), [Postdoctoral fellows
1414

1515
---
1616

17+
<style>
18+
.profile-pic {
19+
width: 300px;
20+
height: 300px;
21+
object-fit: cover; /* keeps aspect ratio, crops if needed */
22+
}
23+
24+
@media (max-width: 768px) { /* for tablets/phones */
25+
.profile-pic {
26+
width: 250px;
27+
height: 250px;
28+
}
29+
}
30+
</style>
31+
32+
1733
## Principal Investigator
1834
<div class="row">
1935
{% for member in site.data.team_pi %}
2036
<div class="col-sm-12 clearfix">
21-
<img src="{{ site.url }}{{ site.baseurl }}/images/teampic/{{ member.photo }}" class="img-responsive" width="15%" style="float: left; min-width: 30%;" />
37+
<img src="{{ site.url }}{{ site.baseurl }}/images/teampic/{{ member.photo }}"
38+
class="img-responsive profile-pic"
39+
style="float: left;" />
2240
<h4 style="display: inline-flex; align-items: center; gap: 6px;">
2341
{{ member.name }}
2442
{% if member.homepage %}

0 commit comments

Comments
 (0)