File tree Expand file tree Collapse file tree 1 file changed +6
-16
lines changed
Expand file tree Collapse file tree 1 file changed +6
-16
lines changed Original file line number Diff line number Diff line change @@ -7,37 +7,27 @@ nav_order: 4
77# Series Ⅱ
88
99<style >
10- /* 与 Series Ⅰ 保持一致:两列卡片 + 统一图高 */
1110 .staff-grid {
1211 display : grid ;
13- grid-template-columns : repeat (2 , 1fr ); /* 每行两个 */
14- gap : 20px ;
15- justify-items : center ;
16- margin-bottom : 1rem ;
12+ grid-template-columns : repeat (2 , 1fr ); /* 固定每行两列 */
13+ gap : 20px ; /* 卡片间距 */
14+ justify-items : center ; /* 卡片居中 */
1715 }
1816 .staff-card {
1917 background :#fff ;
2018 padding :12px ;
2119 border-radius :12px ;
2220 box-shadow :0 1px 2px rgba (0 ,0 ,0 ,.06 );
23- width : 100% ;
24- max-width : 420px ;
2521 }
2622 .staff-card img {
2723 width :100% ;
28- height :160px ; /* 统一高度避免被拉伸 */
29- object-fit :cover ; /* 居中裁剪 */
24+ height :160px ;
25+ object-fit :cover ;
3026 border-radius :8px ;
3127 display :block ;
3228 }
33- .staff-card p { margin :8px 0 0 ; text-align : center ; }
29+ .staff-card p { margin :8px 0 0 ; }
3430 .staff-card a { font-weight :600 ; }
35- /* 没有邮箱时不占行 */
36- .staff-card em :empty { display :none ; }
37-
38- @media (max-width : 768px ){
39- .staff-grid { grid-template-columns : 1fr ; } /* 小屏单列 */
40- }
4131</style >
4232
4333<hr >
You can’t perform that action at this time.
0 commit comments