跳转到内容

天一学子免费网站托管计划: 面向全体天一在校学生及校友,提供免费网站托管、二级域名分发及付费制作服务。详见 公告页面。

立即参与贡献🎉 天一中学维基现在严重缺少词条,希望大家踊跃参与编辑。

警告⚠️: 严禁公开他人的私人信息,违者永久封杀

成为管理员: 若你是图灵社社员或是对天一维基作出重大贡献,便有机会成为管理员

Template:首页/布局.css:修订间差异

来自江苏省天一中学非官方维基
THDeb​(留言 | 贡献)
中文首页采用THBWiki式导航与双栏排版;保留天一维基原生红白蓝外观、全部正文和原有链接
 
THDeb​(留言 | 贡献)
中文首页采用THBWiki式导航与双栏排版;保留天一维基原生红白蓝外观、全部正文和原有链接
第47行: 第47行:
#tyzx-th-home .th-notice { padding:12px 16px; margin:18px 0; background:var(--background-color-neutral-subtle,#f8f9fa); border:1px solid var(--border-color-subtle,#eaecf0); font-size:13px; }
#tyzx-th-home .th-notice { padding:12px 16px; margin:18px 0; background:var(--background-color-neutral-subtle,#f8f9fa); border:1px solid var(--border-color-subtle,#eaecf0); font-size:13px; }
#tyzx-th-home .th-footer-panel { margin-top:18px; font-size:14px; }
#tyzx-th-home .th-footer-panel { margin-top:18px; font-size:14px; }
#tyzx-th-home .th-contact-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:18px; }
#tyzx-th-home .th-contact-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:18px; align-items:start; }
#tyzx-th-home .th-link-list { list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:10px 20px; }
#tyzx-th-home .th-link-list { list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:10px 20px; }
#tyzx-th-home .th-link-list li { margin:0; }
#tyzx-th-home .th-link-list li { margin:0; }
#tyzx-th-home .th-support { display:grid; grid-template-columns:minmax(0,1fr) 128px; gap:16px; }
#tyzx-th-home .th-support { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:20px; align-items:start; }
#tyzx-th-home .th-donation-image { text-align:center; }
#tyzx-th-home .th-donation-image { text-align:center; width:280px; max-width:100%; margin:0 auto; }
#tyzx-th-home .th-donation-image p { margin:0; }
#tyzx-th-home .th-donation-image p { margin:0; }
#tyzx-th-home .th-donation-image small { font-size:12px; }
#tyzx-th-home .th-donation-image small { font-size:12px; }
第86行: 第86行:
  #tyzx-th-home .th-scene h2 { padding:14px 16px 0; }
  #tyzx-th-home .th-scene h2 { padding:14px 16px 0; }
  #tyzx-th-home .th-scene > p { margin:8px 16px; }
  #tyzx-th-home .th-scene > p { margin:8px 16px; }
  #tyzx-th-home .th-support { grid-template-columns:minmax(0,1fr) 112px; gap:12px; }
  #tyzx-th-home .th-support { grid-template-columns:minmax(0,1fr); gap:16px; }
}
}

2026年11月3日 (二) 12:47的版本

/* TYZX homepage: THBWiki-inspired content arrangement, native red/white/blue appearance.
 * Keeps original TYZX prose; layout-only changes. */
#tyzx-th-home { font-family:sans-serif; font-size:16px; line-height:1.7; color:var(--color-base,#202122); max-width:1200px; margin:0 auto; }
#tyzx-th-home * { box-sizing:border-box; }
#tyzx-th-home h1,#tyzx-th-home h2,#tyzx-th-home h3 { font-family:inherit; font-weight:600; line-height:1.4; border:0; letter-spacing:0; padding:0; }
#tyzx-th-home h1 { font-size:24px; margin:0 0 7px; }
#tyzx-th-home h2 { font-size:18px; color:var(--color-progressive,#36c); margin:0 0 14px; }
#tyzx-th-home h3 { font-size:16px; margin:0 0 10px; }
#tyzx-th-home .mw-heading { font-family:inherit; font-size:inherit; line-height:inherit; padding:0; margin:0; border:0; display:block; }
#tyzx-th-home .mw-editsection { display:none; }
#tyzx-th-home p { margin:8px 0; }
#tyzx-th-home .th-hero { display:flex; align-items:center; gap:20px; padding:18px 20px; margin-bottom:18px; border:1px solid var(--border-color-subtle,#eaecf0); border-top:3px solid #b32424; background:var(--background-color-neutral-subtle,#f8f9fa); }
#tyzx-th-home .th-brand { flex:0 0 72px; }
#tyzx-th-home .th-brand p { margin:0; }
#tyzx-th-home .th-intro { flex:1; min-width:0; font-size:14px; line-height:1.6; }
#tyzx-th-home .th-stats { font-size:13px; color:var(--color-subtle,#54595d); margin-top:8px; }
#tyzx-th-home .th-actions { flex:0 0 150px; display:grid; grid-template-columns:1fr 1fr; gap:10px 8px; margin:0; padding:0; list-style:none; font-size:13px; text-align:center; }
#tyzx-th-home .th-actions li { margin:0; }
#tyzx-th-home .th-actions a { display:block; padding:5px 0; }
#tyzx-th-home .th-columns { display:grid; grid-template-columns:minmax(0,55fr) minmax(0,45fr); gap:18px; align-items:start; }
#tyzx-th-home .th-left,#tyzx-th-home .th-right { display:flex; flex-direction:column; gap:18px; min-width:0; }
#tyzx-th-home .th-panel { min-width:0; padding:18px; border:1px solid var(--border-color-subtle,#eaecf0); background:var(--background-color-base,#fff); display:flow-root; }
#tyzx-th-home .th-panel > :last-child { margin-bottom:0; }
#tyzx-th-home .th-panel > :first-child { margin-top:0; }
#tyzx-th-home .th-nav { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; padding:0; margin:0; list-style:none; }
#tyzx-th-home .th-nav li { position:relative; text-align:center; border:1px solid var(--border-color-subtle,#c8ccd1); border-bottom:2px solid var(--border-color-progressive,#36c); border-radius:2px; background:var(--background-color-neutral-subtle,#f8f9fa); margin:0; min-height:91px; }
#tyzx-th-home .th-nav-icon { display:block; font-family:sans-serif; color:var(--color-progressive,#36c); font-size:32px; line-height:42px; padding-top:8px; }
#tyzx-th-home .th-nav li:first-child { border-bottom-color:#b32424; }
#tyzx-th-home .th-nav li:first-child .th-nav-icon { color:var(--color-destructive,#b32424); }
#tyzx-th-home .th-nav a { display:block; padding:4px 2px 9px; font-size:14px; font-weight:600; line-height:1.4; text-decoration:none; }
#tyzx-th-home .th-nav a::after { content:""; position:absolute; inset:0; }
#tyzx-th-home .th-nav li:hover { background:var(--background-color-progressive-subtle,#eaf3ff); border-color:#36c; }
#tyzx-th-home .th-nav a:focus { outline:2px solid #36c; outline-offset:2px; }
#tyzx-th-home .th-nav-more { font-size:13px; margin-top:12px; color:var(--color-subtle,#54595d); }
#tyzx-th-home .th-scene { padding:0 0 14px; }
#tyzx-th-home .th-scene h2 { padding:16px 18px 0; }
#tyzx-th-home .th-scene > p { margin:8px 18px; }
#tyzx-th-home .th-scene .mw-heading { margin-bottom:12px; }
#tyzx-th-home .th-scene .center { margin:0; width:100%; }
#tyzx-th-home .th-scene .floatnone { margin:0; }
#tyzx-th-home .th-scene img { width:100%; height:auto; display:block; }
#tyzx-th-home .th-scene figure { margin:0; width:100%; }
#tyzx-th-home .th-scene small { font-size:12px; color:var(--color-subtle,#54595d); }
#tyzx-th-home .th-new ul,#tyzx-th-home .th-participate ul { padding-left:0; margin-left:1.3em; }
#tyzx-th-home .th-new li { margin-bottom:5px; }
#tyzx-th-home .th-announcement { border-top:2px solid #b32424; background:var(--background-color-neutral-subtle,#f8f9fa); font-size:14px; }
#tyzx-th-home .th-notice { padding:12px 16px; margin:18px 0; background:var(--background-color-neutral-subtle,#f8f9fa); border:1px solid var(--border-color-subtle,#eaecf0); font-size:13px; }
#tyzx-th-home .th-footer-panel { margin-top:18px; font-size:14px; }
#tyzx-th-home .th-contact-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:18px; align-items:start; }
#tyzx-th-home .th-link-list { list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:10px 20px; }
#tyzx-th-home .th-link-list li { margin:0; }
#tyzx-th-home .th-support { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:20px; align-items:start; }
#tyzx-th-home .th-donation-image { text-align:center; width:280px; max-width:100%; margin:0 auto; }
#tyzx-th-home .th-donation-image p { margin:0; }
#tyzx-th-home .th-donation-image small { font-size:12px; }
#tyzx-th-home .th-footnote { font-size:12px; color:var(--color-subtle,#54595d); padding:14px 2px; }
#tyzx-th-home img { max-width:100%; height:auto; }
#tyzx-th-home .th-brand img { display:block; }
#tyzx-th-home a { overflow-wrap:anywhere; }
@media screen and (max-width:900px) {
 #tyzx-th-home .th-hero { gap:14px; }
 #tyzx-th-home .th-actions { flex-basis:130px; }
 #tyzx-th-home .th-columns { display:flex; flex-direction:column; gap:16px; }
 #tyzx-th-home .th-left,#tyzx-th-home .th-right { display:contents; }
 #tyzx-th-home .th-panel { width:100%; }
 #tyzx-th-home .th-navigation { order:1; }
 #tyzx-th-home .th-scene { order:2; }
 #tyzx-th-home .th-feature { order:3; }
 #tyzx-th-home .th-new { order:4; }
 #tyzx-th-home .th-participate { order:5; }
 #tyzx-th-home .th-announcement { order:6; }
 #tyzx-th-home .th-contact-grid { grid-template-columns:minmax(0,1fr); gap:0; }
 #tyzx-th-home .th-scene img { max-height:520px; object-fit:contain; }
}
@media screen and (max-width:600px) {
 #tyzx-th-home .th-hero { padding:16px; flex-wrap:wrap; }
 #tyzx-th-home .th-brand { flex-basis:54px; }
 #tyzx-th-home h1 { font-size:21px; }
 #tyzx-th-home .th-intro { flex-basis:calc(100% - 70px); }
 #tyzx-th-home .th-actions { flex-basis:100%; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; border-top:1px solid var(--border-color-subtle,#eaecf0); padding-top:8px; }
 #tyzx-th-home .th-panel { padding:16px; }
 #tyzx-th-home .th-nav { grid-template-columns:repeat(2,minmax(0,1fr)); }
 #tyzx-th-home .th-nav li { min-height:83px; }
 #tyzx-th-home .th-nav-icon { font-size:28px; line-height:34px; }
 #tyzx-th-home .th-scene { padding:0 0 12px; }
 #tyzx-th-home .th-scene h2 { padding:14px 16px 0; }
 #tyzx-th-home .th-scene > p { margin:8px 16px; }
 #tyzx-th-home .th-support { grid-template-columns:minmax(0,1fr); gap:16px; }
}