File tree Expand file tree Collapse file tree 2 files changed +7
-20
lines changed
themes/up-business-theme/layouts/partials/sections Expand file tree Collapse file tree 2 files changed +7
-20
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,6 @@ content:
41
41
name : " Xiangyu Shi"
42
42
title : " Research Engineer"
43
43
linkedin : " https://www.linkedin.com/in/xiangyu-shi-bd2002/"
44
-
45
- - image : " images/yining.jpeg"
46
- name : " Yining Hou"
47
- title : " Research Engineer"
48
- linkedin : " https://www.linkedin.com/in/yining-hou/"
49
44
50
45
- image : " images/panagiotis.jpg"
51
46
name : " Panagiotis Kaliosis"
Original file line number Diff line number Diff line change 1
1
< style >
2
2
.team-member {
3
3
text-align : center;
4
- margin : 10 px ;
4
+ margin-top : 20 px ;
5
5
box-sizing : border-box;
6
6
}
7
7
8
- .team-memberl-l ,
9
- .team-member-r {
10
- flex-basis : calc (25% - 40px ); /* Ensures 4 items per row */
11
- }
12
-
13
8
.team-member img {
14
- width : 180 px ;
15
- height : 180 px ;
9
+ width : 150 px ;
10
+ height : 150 px ;
16
11
border-radius : 20% ;
17
12
object-fit : cover;
18
13
}
19
14
20
15
.team-member h2 {
21
16
margin : 5px 0 ;
22
- font-size : 1.5 rem ;
17
+ font-size : 1.1 rem ;
23
18
padding-top : 5px ;
24
19
}
25
20
26
21
.team-member p {
27
22
margin : 5px 0 ;
28
- font-size : 1 rem ;
23
+ font-size : 0.9 rem ;
29
24
}
30
25
</ style >
31
26
@@ -41,7 +36,7 @@ <h3 class="fs-1 fw-bold text-center text-black-61">{{ . }}</h3>
41
36
<!-- team-members -->
42
37
< div class ="row justify-content-center ">
43
38
{{ range .content.cardsl }}
44
- < div class ="team-member team-memberl-l col-6 col-md-3 ">
39
+ < div class ="team-member col-4 col-md-2 ">
45
40
{{ with .image }}{{ partial "utilities/image-fluid.html" . }}{{ end }}
46
41
{{ with .name }}
47
42
< h2 class ="text-primary "> {{ . }}</ h2 >
@@ -65,14 +60,11 @@ <h2 class="text-primary">{{ . }}</h2>
65
60
{{ with .linkedin }}
66
61
< li class ="rounded-circle bg-blue-63 me-2 p-2 "> < a class ="d-flex align-items-center justify-content-center size-16 " href ="{{ . }} "> {{ partial "icons/linkedin.html" }}</ a > </ li >
67
62
{{ end }}
68
- <!-- {{ with .twitter }}
69
- <li class="rounded-circle bg-blue-63 me-2 p-2"><a class="d-flex align-items-center justify-content-center size-16" href="{{ . }}">{{ partial "icons/twitter.html" }}</a></li>
70
- {{ end }} -->
71
63
</ ul >
72
64
</ div >
73
65
{{ end }}
74
66
{{ range .content.cardsr }}
75
- < div class ="team-member team-member-r col-6 col-md-3 ">
67
+ < div class ="team-member col-4 col-md-2 ">
76
68
{{ with .image }}{{ partial "utilities/image-fluid.html" . }}{{ end }}
77
69
{{ with .name }}
78
70
< h2 class ="text-primary "> {{ . }}</ h2 >
You can’t perform that action at this time.
0 commit comments