Skip to content

Commit 3866fdf

Browse files
committed
reduce banner size
1 parent 512028b commit 3866fdf

6 files changed

Lines changed: 26 additions & 18 deletions

File tree

assets/scss/custom.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,10 @@
4343
margin: 0 auto;
4444
}
4545

46+
//新闻封面图片样式
47+
.article-banner-container {
48+
transform: scale(0.8);
49+
transform-origin: top ;
50+
}
51+
52+

content/authors/lab/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,5 @@ email: 'jssu@xmu.edu.cn'
2525

2626
厦门大学语言智能技术课题组从属于厦门大学数字媒体计算中心。目前,课题组包含教授1人,讲师1人,助理教授1人,博士后1人,在读研究生20余人。课题组主要聚焦于自然语言处理,大模型,AI for Science,承担了国家省部级项目,知名互联网校企合作项目数十项,累计发表CCF-A/B类论文170余篇,授权发明专利20余项;研究成果获得2020年钱伟长中文信息处理科学技术奖—汉王青年创新奖,国家示范型软件学院联盟20周年优秀专职教师奖;培养硕士生获得百度奖学金,腾讯犀牛鸟奖学金;相关研究成果在阿里巴巴,维沃等互联网大厂得到实际应用。
2727

28-
<span style="color:red">欢迎同学们关注26级推免招生!</span>
2928

3029
有任何疑问都可以[联系我们](contact/),或者联系我们的[成员](people/)获取更多信息。

content/publication/161/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ author_notes:
1919
date: "2025-07-06T11:02:42Z"
2020
publishDate: "2025-07-06T11:02:42Z"
2121
publication_types: [direction2]
22-
publication: "**In Proceedings of ACM Multimedia 2025.** (CCF-A类)"
22+
publication: "**In Proc. of ACM Multimedia 2025.** (CCF-A类)"
2323
---

content/publication/162/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ author_notes:
2323
date: "2025-07-06T11:03:43Z"
2424
publishDate: "2025-07-06T11:03:43Z"
2525
publication_types: [direction7]
26-
publication: "**In Proceedings of ACM Multimedia 2025.** (CCF-A类)"
26+
publication: "**In Proc. of ACM Multimedia 2025.** (CCF-A类)"
2727
---

content/publication/163/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ author_notes:
2121
date: "2025-07-06T11:05:04Z"
2222
publishDate: "2025-07-06T11:05:04Z"
2323
publication_types: [direction7]
24-
publication: "**In Proceedings of KDD 2025 Datasets and Benchmarks Track 2025.** (CCF-A类)"
24+
publication: "**In Proc. of KDD 2025 Datasets and Benchmarks Track 2025.** (CCF-A类)"
2525
---

layouts/partials/views/card.html

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,8 @@
4141
{{ partial "page_metadata" (dict "page" $item "is_list" 1) }}
4242
{{ end }}
4343

44-
{{ $resource := partial "blox-core/functions/get_featured_image.html" $item }}
45-
{{ $anchor := $item.Params.image.focal_point | default "Smart" }}
46-
{{ with $resource }}
47-
<!-- {{ $image := .Fit (printf "6400x4800 %s" $anchor) }} -->
48-
{{ $image := .Fit "6400x4800 Smart" }}
49-
{{ if ne $image.MediaType.SubType "gif" }}{{ $image = $image.Process "webp" }}{{ end }}
50-
<a href="{{ $link }}" {{ $target | safeHTMLAttr }}>
51-
<div class="img-hover-zoom">
52-
<img src="{{ $image.RelPermalink }}" height="{{ $image.Height }}" width="{{ $image.Width }}"
53-
class="article-banner" alt="{{ $item.Title }}" loading="lazy">
54-
</div>
5544

5645

57-
</a>
58-
{{end}}
59-
6046
<div class="section-subheading article-title mb-1 mt-3">
6147
<a href="{{ $link }}" {{ $target | safeHTMLAttr }}>{{ $item.Title }}</a>
6248
</div>
@@ -74,5 +60,21 @@
7460
{{ partial "page_links" (dict "page" $item "is_list" 1) }}
7561
</div>
7662
{{ end }}
63+
{{ $resource := partial "blox-core/functions/get_featured_image.html" $item }}
64+
{{ $anchor := $item.Params.image.focal_point | default "Smart" }}
65+
{{ with $resource }}
66+
<!-- {{ $image := .Fit (printf "6400x4800 %s" $anchor) }} -->
67+
{{ $image := .Fit "6400x4800 Smart" }}
68+
{{ if ne $image.MediaType.SubType "gif" }}{{ $image = $image.Process "webp" }}{{ end }}
69+
<div class="article-banner-container">
70+
<a href="{{ $link }}" {{ $target | safeHTMLAttr }}>
71+
<div class="img-hover-zoom">
72+
<img src="{{ $image.RelPermalink }}" height="{{ $image.Height }}" width="{{ $image.Width }}"
73+
class="article-banner" alt="{{ $item.Title }}" loading="lazy">
74+
</div>
75+
7776

77+
</a>
78+
</div>
79+
{{end}}
7880
</div>

0 commit comments

Comments
 (0)