-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpeople.html
55 lines (52 loc) · 946 Bytes
/
people.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
---
layout: page
title: People
---
<style>
.grid-container {
display: grid;
grid-template-columns: repeat(auto-fill, 240px);
justify-content: center;
}
.people {
margin: 5px;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}
.profilepic {
width: 175px;
height: 175px;
margin: 1em;
border-radius: 50%;
}
.position {
color: grey
}
.name {
font-size: 1.2em
}
</style>
<div class="grid-container">
{% for p in site.people %}
<div class="people">
<div>
<a href="{{p.url}}">
<img src="{{p.picture}}" alt="Profile Picture" class="profilepic">
</a>
</div>
<div class="name">
<a href="{{p.url}}">
{{p.name}}
</a>
</div>
<div class="position">
{{p.position}}
</div>
<div>
{{p.research}}
</div>
</div>
{% endfor %}
</div>