Skip to content

Commit 5048071

Browse files
committed
Enhance layout and styling in CSS; update alumni data with correct titles; improve internationalization strings for clarity and consistency; refine JavaScript for smoother navigation and user experience.
1 parent 5e1d2ca commit 5048071

File tree

4 files changed

+67
-47
lines changed

4 files changed

+67
-47
lines changed

assets/css/style.css

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ li {
130130
background: linear-gradient(135deg, rgba(17, 78, 187, 0.08), rgba(238, 243, 255, 0.9));
131131
padding: 32px 0;
132132
border-bottom: 1px solid var(--border);
133+
margin-top: -56px;
134+
padding-top: 88px; /* 56px (navbar height) + 32px (original padding) */
133135
}
134136

135137
.page-hero-content {
@@ -143,6 +145,7 @@ li {
143145
.page-hero-copy {
144146
max-width: 100%;
145147
width: 100%;
148+
min-height: 120px; /* 确保所有页面标题区域高度一致 */
146149
}
147150

148151
.page-hero-copy p {
@@ -165,9 +168,15 @@ li {
165168
margin: 0 auto;
166169
}
167170

168-
/* People page container - wider to fit more members per row */
171+
/* People page container - same width as other pages */
169172
#people-main.container {
170-
width: min(1300px, calc(100% - 40px));
173+
width: min(1100px, calc(100% - 40px));
174+
}
175+
176+
/* People content area - extend to the right to fit one more column */
177+
#people-main .people-content {
178+
margin-right: 0;
179+
max-width: calc(100% + 160px);
171180
}
172181

173182
nav.navbar {
@@ -177,7 +186,6 @@ nav.navbar {
177186
right: 0;
178187
z-index: 999;
179188
background-color: var(--fudan-blue);
180-
border-bottom: 1px solid var(--fudan-blue-dark);
181189
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
182190
}
183191

@@ -714,25 +722,19 @@ html[lang="zh-CN"] .highlight-card h3 {
714722
}
715723

716724
/* 有链接的成员名字样式 */
717-
.member-name-link {
718-
min-height: 21px;
719-
height: 21px;
720-
}
721-
722-
.member-name-link a {
725+
a.member-name-link {
723726
color: var(--fudan-blue);
724727
font-weight: 500;
725728
text-decoration: none;
726729
transition: all 0.3s ease;
727730
display: inline-block;
728731
line-height: 1.3;
729-
height: 21px;
732+
word-break: break-word;
730733
}
731734

732-
.member-name-link a:hover {
735+
a.member-name-link:hover {
733736
color: var(--text-soft);
734-
transform: scale(1.08);
735-
text-decoration: none;
737+
text-decoration: underline;
736738
}
737739

738740
.member-title {

assets/js/data2.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const alumniData = {
1414
{ name: { zh: '郭琦鹏', en: 'Qipeng Guo' }, destination: { zh: '上海人工智能实验室', en: 'Shanghai AI Laboratory' }, homepage: 'https://scholar.google.com/citations?user=k3mPGKgAAAAJ&hl=en' },
1515
{ name: { zh: '李林阳', en: 'Linyang Li' }, destination: { zh: '上海人工智能实验室', en: 'Shanghai AI Laboratory' }, homepage: 'https://www.aminer.cn/profile/56176bb745cedb3397bf2f78' },
1616
{ name: { zh: '李孝男', en: 'Xiaonan Li' }, destination: { zh: '海外创业公司', en: 'Overseas Startup' }, homepage: null },
17-
{ name: { zh: '李世民', en: 'Shimin Li' }, destination: { zh: '模思智能 CEO', en: 'CEO, MOSI AI' }, homepage: 'https://openreview.net/profile?id=~Shimin_Li1' },
17+
{ name: { zh: '李世民', en: 'Shimin Li' }, destination: { zh: '模思智能 CEO', en: 'CEO, MOSI Intelligence' }, homepage: 'https://openreview.net/profile?id=~Shimin_Li1' },
1818
{ name: { zh: '刘鹏飞', en: 'Pengfei Liu' }, destination: { zh: '上海交通大学副教授', en: 'Associate Professor, Shanghai Jiao Tong University' }, homepage: 'https://plms.ai/people/index.html' },
1919
{ name: { zh: '刘向阳', en: 'Xiangyang Liu' }, destination: { zh: '日行迹', en: 'Analemma' }, homepage: 'https://scholar.google.com/citations?user=U8QD9mwAAAAJ&hl=en' },
2020
{ name: { zh: '孙天祥', en: 'Tianxiang Sun' }, destination: { zh: '日行迹 CEO、上海创智学院助理教授', en: 'CEO of Analemma, Assistant Professor at SII' }, homepage: 'https://txsun1997.github.io/' },
@@ -27,26 +27,26 @@ const alumniData = {
2727
masters: [
2828
{ name: { zh: '安晨鑫', en: 'Chenxin An' }, destination: { zh: '香港大学博士研究生', en: 'PhD Student, The University of Hong Kong' }, homepage: 'https://chenxinan-fdu.github.io/' },
2929
{ name: { zh: '曹零', en: 'Ling Cao' }, destination: { zh: '阿里巴巴', en: 'Alibaba' }, homepage: null },
30-
{ name: { zh: '常成', en: 'Cheng Chang' }, destination: { zh: '模思智能', en: 'MOSI AI' }, homepage: 'https://scholar.google.com/citations?user=X7oyRLIAAAAJ&hl=en' },
30+
{ name: { zh: '常成', en: 'Cheng Chang' }, destination: { zh: '模思智能', en: 'MOSI Intelligence' }, homepage: 'https://scholar.google.com/citations?user=X7oyRLIAAAAJ&hl=en' },
3131
{ name: { zh: '陈科宇', en: 'Keyu Chen' }, destination: { zh: '宁波市奉化区发改局', en: 'Ningbo Fenghua Development and Reform Bureau' }, homepage: null },
3232
{ name: { zh: '陈俊坤', en: 'Junkun Chen' }, destination: { zh: '微软', en: 'Microsoft' }, homepage: 'https://scholar.google.com/citations?user=cHLaJhUAAAAJ&hl=en' },
3333
{ name: { zh: '陈怡然', en: 'Yiran Chen' }, destination: { zh: '日行迹', en: 'Analemma' }, homepage: null },
3434
{ name: { zh: '陈云涛', en: 'Yuntao Chen' }, destination: { zh: '上海电网', en: 'Shanghai Electric Grid' }, homepage: null },
3535
{ name: { zh: '戴宁', en: 'Ning Dai' }, destination: { zh: '俄勒冈州立大学博士研究生', en: 'PhD Student, Oregon State University' }, homepage: 'https://ndai.ai/' },
3636
{ name: { zh: '范子越', en: 'Ziyue Fan' }, destination: { zh: '字节跳动', en: 'ByteDance' }, homepage: null },
37-
{ name: { zh: '傅健', en: 'Jian Fu' }, destination: { zh: '', en: '' }, homepage: null },
37+
{ name: { zh: '傅健', en: 'Jian Fu' }, destination: { zh: ' ', en: ' ' }, homepage: null },
3838
{ name: { zh: '耿志超', en: 'Zhichao Geng' }, destination: { zh: 'AWS', en: 'AWS' }, homepage: 'https://deepai.org/profile/zhichao-geng' },
3939
{ name: { zh: '何俊亮', en: 'Junliang He' }, destination: { zh: '字节跳动', en: 'ByteDance' }, homepage: null },
4040
{ name: { zh: '洪嘉伟', en: 'Jiawei Hong' }, destination: { zh: '上海人工智能实验室', en: 'Shanghai AI Laboratory' }, homepage: null },
4141
{ name: { zh: '胡先念', en: 'Xiannian Hu' }, destination: { zh: '阿里巴巴', en: 'Alibaba' }, homepage: null },
4242
{ name: { zh: '黄超超', en: 'Chaochao Huang' }, destination: { zh: '上汽集团', en: 'SAIC Motor' }, homepage: null },
4343
{ name: { zh: '黄璐瑶', en: 'Luyao Huang' }, destination: { zh: '拼多多', en: 'Pinduoduo' }, homepage: null },
44-
{ name: { zh: '籍佗', en: 'Tuo Ji' }, destination: { zh: '', en: '' }, homepage: null },
44+
{ name: { zh: '籍佗', en: 'Tuo Ji' }, destination: { zh: ' ', en: ' ' }, homepage: null },
4545
{ name: { zh: '姜经翔', en: 'Jingxiang Jiang' }, destination: { zh: '华为', en: 'Huawei' }, homepage: null },
46-
{ name: { zh: '蒋昊', en: 'Hao Jiang' }, destination: { zh: '', en: '' }, homepage: null },
46+
{ name: { zh: '蒋昊', en: 'Hao Jiang' }, destination: { zh: ' ', en: ' ' }, homepage: null },
4747
{ name: { zh: '蒋子恒', en: 'Ziheng Jiang' }, destination: { zh: '字节跳动首席研究科学家', en: 'Principal Research Scientist, ByteDance' }, homepage: 'https://ziheng.org/' },
4848
{ name: { zh: '柯震', en: 'Zhen Ke' }, destination: { zh: '小米', en: 'Xiaomi' }, homepage: null },
49-
{ name: { zh: '李鹏', en: 'Peng Li' }, destination: { zh: '', en: '' }, homepage: null },
49+
{ name: { zh: '李鹏', en: 'Peng Li' }, destination: { zh: ' ', en: ' ' }, homepage: null },
5050
{ name: { zh: '梁建泽', en: 'Jianze Liang' }, destination: { zh: '微软', en: 'Microsoft' }, homepage: null },
5151
{ name: { zh: '林泽辉', en: 'Zehui Lin' }, destination: { zh: '字节跳动', en: 'ByteDance' }, homepage: null },
5252
{ name: { zh: '林天扬', en: 'Tianyang Lin' }, destination: { zh: '阿里巴巴', en: 'Alibaba' }, homepage: null },
@@ -72,7 +72,7 @@ const alumniData = {
7272
{ name: { zh: '徐嘉诚', en: 'Jiacheng Xu' }, destination: { zh: 'Salesforce 研究科学家', en: 'Research Scientist, Salesforce AI Research' }, homepage: 'https://jiacheng-xu.github.io/' },
7373
{ name: { zh: '许一格', en: 'Yige Xu' }, destination: { zh: '新加坡南洋理工大学博士研究生', en: 'PhD Student, NTU Singapore' }, homepage: 'https://xuyige.github.io/' },
7474
{ name: { zh: '杨建强', en: 'Jianqiang Yang' }, destination: { zh: '阿里巴巴', en: 'Alibaba' }, homepage: null },
75-
{ name: { zh: '杨小珪', en: 'Xiaogui Yang' }, destination: { zh: '模思智能', en: 'MOSI AI' }, homepage: null },
75+
{ name: { zh: '杨小珪', en: 'Xiaogui Yang' }, destination: { zh: '模思智能', en: 'MOSI Intelligence' }, homepage: null },
7676
{ name: { zh: '杨雨晴', en: 'Yuqing Yang' }, destination: { zh: '南加州大学博士研究生', en: 'PhD Student, USC' }, homepage: 'https://ayyyq.github.io/' },
7777
{ name: { zh: '尹留松', en: 'Liusong Yin' }, destination: { zh: '华为', en: 'Huawei' }, homepage: null },
7878
{ name: { zh: '张栋', en: 'Dong Zhang' }, destination: { zh: '小米', en: 'Xiaomi' }, homepage: null },

assets/js/i18n.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
// 团队成员
4141
'people.title': '团队成员',
42-
'people.subtitle.faculty': '导师团队',
42+
'people.subtitle.faculty': '教职人员',
4343
'people.subtitle.postdocs': '博士后',
4444
'people.subtitle.phd': '博士研究生',
4545
'people.subtitle.master': '硕士研究生',
@@ -54,13 +54,15 @@
5454
'people.card.alumni.link': '了解更多',
5555
'people.toc': '目录',
5656
'people.backToTop': '回到顶部',
57+
'people.viewAlumni': '查看校友网络',
5758
'people.updating': '内容正在更新。',
5859

5960
// 校友网络
6061
'alumni.title': '校友网络',
6162
'alumni.desc': '我们的校友遍布学术界和工业界,在世界各地的顶尖机构和公司中发挥着重要作用。',
6263
'alumni.toc': '目录',
6364
'alumni.backToTop': '回到顶部',
65+
'alumni.viewPeople': '查看团队成员',
6466
'alumni.updating': '内容正在更新。',
6567

6668
// 开放资源
@@ -94,7 +96,7 @@
9496
'resources.course.community.desc': '加入暑期学校,与全球研究者交流学习,共同推进 AI 技术发展。',
9597

9698
// 加入我们
97-
'positions.title': '加入 OpenMOSS Team',
99+
'positions.title': '加入我们',
98100
'positions.intro': '我们正在招募对开放系统和负责任 AI 充满热情的研究人员和工程师。如果您希望在大规模 AI 系统、多模态学习、具身智能等前沿领域进行研究,欢迎加入我们!',
99101
'positions.why.title': '为什么选择我们',
100102
'positions.apply.title': '如何申请',
@@ -196,17 +198,19 @@
196198
'people.card.alumni.link': 'Learn More',
197199
'people.toc': 'Contents',
198200
'people.backToTop': 'Back to Top',
201+
'people.viewAlumni': 'View Alumni',
199202
'people.updating': 'Content is being updated.',
200203

201204
// Alumni
202205
'alumni.title': 'Alumni',
203206
'alumni.desc': 'Our alumni span academia and industry, playing important roles in top institutions and companies worldwide.',
204207
'alumni.toc': 'Contents',
205208
'alumni.backToTop': 'Back to Top',
209+
'alumni.viewPeople': 'View People',
206210
'alumni.updating': 'Content is being updated.',
207211

208212
// Resources
209-
'resources.title': 'Open Resources',
213+
'resources.title': 'Resources',
210214
'resources.desc': 'We are committed to sharing our achievements with global researchers and developers through open-source projects and open courses, promoting AI technology development.',
211215
'resources.highlight.tools.title': 'Open Source Tools',
212216
'resources.highlight.tools.desc': 'FastNLP, CoLLiE, SpeechGPT, UnifiedToolHub and other open-source projects support the global AI ecosystem.',
@@ -236,7 +240,7 @@
236240
'resources.course.community.desc': 'Join the summer school to exchange ideas with global researchers and advance AI technology together.',
237241

238242
// Positions
239-
'positions.title': 'Join OpenMOSS Team',
243+
'positions.title': 'Join Us',
240244
'positions.intro': 'We are recruiting researchers and engineers passionate about open systems and responsible AI. If you want to conduct research in cutting-edge areas such as large-scale AI systems, multimodal learning, and embodied intelligence, we welcome you to join us!',
241245
'positions.why.title': 'Why Choose Us',
242246
'positions.apply.title': 'How to Apply',

0 commit comments

Comments
 (0)