Skip to content

Commit 8c38477

Browse files
committed
更新赛程看板信息.
1 parent 27d7d63 commit 8c38477

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

_cite/.cache/cache.db

0 Bytes
Binary file not shown.

_includes/events.html

+11-4
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,10 @@
9292
margin-left: 10px;
9393
}
9494
.team img {
95-
width: 60px;
96-
height: 60px;
95+
max-width: 20%;
96+
max-height: 50px;
97+
/* 自动缩放 */
98+
width: auto;
9799
z-index: 1;
98100
/* 圆形 */
99101
border-radius: 50%;
@@ -102,6 +104,11 @@
102104
/* 背景白色 */
103105
background-color: #fff;
104106
}
107+
.team_name {
108+
min-width: 50px;
109+
/* 行距 */
110+
line-height: 1.0;
111+
}
105112
.divider {
106113
position: absolute;
107114
width: 0px;
@@ -135,12 +142,12 @@
135142
<div class="container">
136143
<div class="team red">
137144
<img src="{{award.red_logo}}" alt="Red Team Logo">
138-
<p style="margin-right: 20px;">{{ award.red }}</p>
145+
<p class="team_name" style="margin-right: 20px;">{{ award.red }}</p>
139146
</div>
140147
<div class="divider"></div>
141148
<div class="score">{{award.red_score}}:{{award.blue_score}}</div>
142149
<div class="team blue">
143-
<p style="margin-left: 20px;">{{ award.blue }}</p>
150+
<p class="team_name" style="margin-left: 20px;">{{ award.blue }}</p>
144151
<img src="{{award.blue_logo}}" alt="Blue Team Logo">
145152
</div>
146153

0 commit comments

Comments
 (0)