扩充最近新增至12条;校园相册8秒轮播配红色进度;友情链接增加留白与分隔 |
新增列表精简至六条并摘录学校历史首段;友链企鹅双线分隔及图灵社外链 |
||
| 第150行: | 第150行: | ||
#tyzx-th-home .th-friends h2 { justify-content:center; margin-bottom:22px; } | #tyzx-th-home .th-friends h2 { justify-content:center; margin-bottom:22px; } | ||
#tyzx-th-home .th-friends h2::before,#tyzx-th-home .th-friends h2::after { display:none; } | #tyzx-th-home .th-friends h2::before,#tyzx-th-home .th-friends h2::after { display:none; } | ||
/* Article lead shares the recent additions panel with a shorter six-item list. */ | |||
#tyzx-th-home .th-new { display:flex; flex-direction:column; gap:14px; } | |||
#tyzx-th-home .th-new > h2,#tyzx-th-home .th-new > .mw-heading { margin-bottom:0; } | |||
#tyzx-th-home .th-new-list { flex:1 1 0; } | |||
#tyzx-th-home .th-new-excerpt { flex:1 1 0; min-height:190px; padding:16px; background:var(--background-color-neutral-subtle,#f8f9fa); border-top:2px solid var(--border-color-progressive,#36c); font-size:14px; } | |||
#tyzx-th-home .th-new-excerpt h3 { margin-bottom:10px; } | |||
#tyzx-th-home .th-new-excerpt small { font-size:12px; } | |||
#tyzx-th-home .th-friends { margin-top:44px; padding-top:0; border-top:0; } | |||
#tyzx-th-home .th-friend-divider { display:flex; align-items:center; gap:18px; margin-bottom:14px; } | |||
#tyzx-th-home .th-friend-divider::before,#tyzx-th-home .th-friend-divider::after { content:""; flex:1; border-top:3px double var(--border-color-subtle,#a2a9b1); } | |||
#tyzx-th-home .th-friend-divider > span { display:block; flex:0 0 64px; } | |||
#tyzx-th-home .th-friend-divider p { margin:0; } | |||
#tyzx-th-home .th-friend-divider img { display:block; width:64px; height:64px; object-fit:contain; } | |||
#tyzx-th-home .th-friend-intro { text-align:center; font-size:15px; margin:0 0 20px; line-height:1.8; } | |||
#tyzx-th-home .th-friends > .mw-heading { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); } | |||
@media screen and (max-width:900px) { | |||
#tyzx-th-home .th-new-list,#tyzx-th-home .th-new-excerpt { flex-basis:auto; } | |||
#tyzx-th-home .th-new-excerpt { min-height:0; } | |||
} | |||