@@ -6,34 +6,41 @@ description: Meet the CRUP team and instructors.
6
6
---
7
7
8
8
<style >
9
- .staffer {
9
+ /* Staff layout inspired by Data 100 fa25 */
10
+ .role {
10
11
display : flex ;
12
+ flex-wrap : wrap ;
11
13
margin-bottom : 2rem ;
12
- padding : 1.5rem ;
14
+ }
15
+
16
+ .staffer {
17
+ display : flex ;
18
+ flex-basis : 90% ;
19
+ padding : 1rem ;
20
+ padding-right : 2rem ;
21
+ margin-bottom : 1rem ;
13
22
border : 1px solid #e1e4e8 ;
14
23
border-radius : 8px ;
15
24
background-color : #ffffff ;
16
25
transition : box-shadow 0.2s ease ;
17
26
}
18
27
19
28
.staffer :hover {
20
- box-shadow : 0 4 px 12 px rgba (0 , 0 , 0 , 0.1 );
29
+ box-shadow : 0 2 px 8 px rgba (0 , 0 , 0 , 0.1 );
21
30
}
22
31
23
32
.staffer-image {
24
- width : 150px ;
25
- height : 150px ;
26
33
border-radius : 50% ;
34
+ height : 100px ;
35
+ width : 100px ;
36
+ margin-right : 1rem ;
27
37
object-fit : cover ;
28
- margin-right : 1.5rem ;
29
- border : 3px solid #e1e4e8 ;
30
38
flex-shrink : 0 ;
31
39
}
32
40
33
41
.staffer-name {
34
- margin-top : 0 ;
35
- margin-bottom : 0.5rem ;
36
- font-size : 1.5rem ;
42
+ margin : 0.25rem 0 ;
43
+ font-size : 1.2rem ;
37
44
font-weight : 600 ;
38
45
color : #24292e ;
39
46
}
@@ -49,30 +56,33 @@ description: Meet the CRUP team and instructors.
49
56
50
57
.staffer-badge {
51
58
display : inline-block ;
52
- background-color : #0366d6 ;
53
- color : white ;
54
- padding : 0.25 rem 0.5 rem ;
55
- border-radius : 12 px ;
56
- font-size : 0.75 rem ;
59
+ background-color : #f6f8fa ;
60
+ color : #586069 ;
61
+ padding : 0.16 em 0.56 em ;
62
+ border-radius : 6 px ;
63
+ font-size : 0.8 em ;
57
64
font-weight : 500 ;
58
65
margin-left : 0.5rem ;
66
+ text-transform : uppercase ;
67
+ border : 1px solid #e1e4e8 ;
59
68
}
60
69
61
70
.staffer-role {
62
71
font-weight : 500 ;
63
72
color : #0366d6 ;
64
- margin-bottom : 0.5 rem ;
65
- font-size : 1. 1rem ;
73
+ margin : 0.25 rem 0 ;
74
+ font-size : 1rem ;
66
75
}
67
76
68
77
.staffer-meta {
69
78
font-size : 0.9rem ;
70
79
color : #586069 ;
71
- margin-bottom : 0.5 rem ;
80
+ margin : 0.25 rem 0 ;
72
81
}
73
82
74
83
.staffer p {
75
- margin-bottom : 0.5rem ;
84
+ margin : 0.25rem 0 ;
85
+ line-height : 1.5 ;
76
86
}
77
87
78
88
.staffer p a {
@@ -84,17 +94,50 @@ description: Meet the CRUP team and instructors.
84
94
text-decoration : underline ;
85
95
}
86
96
97
+ /* Role-specific styling */
98
+ .label-EdVP {
99
+ background-color : #624099 ;
100
+ color : white ;
101
+ border : none ;
102
+ }
103
+
104
+ .label-Instructor {
105
+ background-color : #5e1c82 ;
106
+ color : white ;
107
+ border : none ;
108
+ }
109
+
110
+ .label-TA {
111
+ background-color : #935CBC ;
112
+ color : white ;
113
+ border : none ;
114
+ }
115
+
116
+ .label-Mentor {
117
+ background-color : #006C67 ;
118
+ color : white ;
119
+ border : none ;
120
+ }
121
+
122
+ /* Responsive design */
87
123
@media (max-width : 768px ) {
88
124
.staffer {
89
125
flex-direction : column ;
90
126
text-align : center ;
127
+ padding : 1rem ;
91
128
}
92
129
93
130
.staffer-image {
94
131
margin-right : 0 ;
95
132
margin-bottom : 1rem ;
96
- width : 120px ;
97
- height : 120px ;
133
+ }
134
+
135
+ .role {
136
+ flex-direction : column ;
137
+ }
138
+
139
+ .staffer {
140
+ flex-basis : 100% ;
98
141
}
99
142
}
100
143
</style >
@@ -108,28 +151,36 @@ description: Meet the CRUP team and instructors.
108
151
109
152
## Executive Vice Presidents (EdVPs)
110
153
154
+ <div class =" role " >
111
155
{% assign edvps = site.staffers | where: 'role', 'EdVP' %}
112
156
{% for staffer in edvps %}
113
157
{{ staffer }}
114
158
{% endfor %}
159
+ </div >
115
160
116
161
## Instructors
117
162
163
+ <div class =" role " >
118
164
{% assign instructors = site.staffers | where: 'role', 'Instructor' %}
119
165
{% for staffer in instructors %}
120
166
{{ staffer }}
121
167
{% endfor %}
168
+ </div >
122
169
123
170
## Teaching Assistants
124
171
172
+ <div class =" role " >
125
173
{% assign tas = site.staffers | where: 'role', 'TA' %}
126
174
{% for staffer in tas %}
127
175
{{ staffer }}
128
176
{% endfor %}
177
+ </div >
129
178
130
179
## Mentors
131
180
181
+ <div class =" role " >
132
182
{% assign mentors = site.staffers | where: 'role', 'Mentor' %}
133
183
{% for staffer in mentors %}
134
184
{{ staffer }}
135
185
{% endfor %}
186
+ </div >
0 commit comments