跳转到内容

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

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

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

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

Template:首页/维基百科样式.css

来自江苏省天一中学非官方维基
/* TYZX Chinese homepage. Reorganizes the Wikipedia-inspired layout for the existing text.
 * Previous adaptation: https://zh.wikipedia.org/w/index.php?oldid=95318307, CC BY-SA 4.0.
 * This revision removes inherited floats and uses isolated responsive grids. */
#tyzx-home-main {
 color:var(--color-base,#202122);
 font-family:sans-serif;
 font-size:1rem;
 line-height:1.7;
 max-width:1140px;
 margin:0 auto;
}
#tyzx-home-main * { box-sizing:border-box; }
#tyzx-home-main h1,#tyzx-home-main h2,#tyzx-home-main h3 {
 font-family:inherit;
 font-weight:600;
 border:0;
 padding:0;
 line-height:1.4;
 letter-spacing:0;
}
#tyzx-home-main h1 { font-size:1.8em; margin:0 0 .5em; }
#tyzx-home-main h2 { font-size:1.15em; margin:0 0 .8em; color:var(--color-progressive,#225599); }
#tyzx-home-main h3 { font-size:1.05em; margin:.7em 0 .6em; }
#tyzx-home-main p { margin:.6em 0; }
#tyzx-home-main .mw-heading { margin:0; padding:0; border:0; display:block; font-size:inherit; font-family:inherit; line-height:inherit; }
#tyzx-home-main .mw-editsection { display:none; }
#tyzx-home-main .th-hero {
 display:flex;
 align-items:center;
 gap:24px;
 padding:24px;
 margin-bottom:24px;
 border-bottom:2px solid #77c1f6;
 background:linear-gradient(to bottom,var(--background-color-base,#fff),var(--background-color-neutral-subtle,#edf4fa));
}
#tyzx-home-main .th-logo { flex:0 0 96px; }
#tyzx-home-main .th-logo p { margin:0; }
#tyzx-home-main .th-welcome { flex:1; min-width:0; }
#tyzx-home-main .th-main-grid { display:grid; grid-template-columns:minmax(0,57fr) minmax(0,43fr); gap:24px; }
#tyzx-home-main .th-left,#tyzx-home-main .th-right { min-width:0; }
#tyzx-home-main .th-section { padding:20px; margin:0 0 20px; min-width:0; display:flow-root; border-top:1px solid var(--border-color-subtle,#eaecf0); }
#tyzx-home-main .th-side { border:1px solid var(--border-color-subtle,#eaecf0); background:var(--background-color-neutral-subtle,#f8f9fa); }
#tyzx-home-main .th-section > :last-child { margin-bottom:0; }
#tyzx-home-main .th-notice { padding:14px 20px; margin:0 0 20px; border:1px solid var(--border-color-subtle,#eaecf0); background:var(--background-color-neutral-subtle,#f8f9fa); font-size:.9em; }
#tyzx-home-main .th-footer-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; }
#tyzx-home-main .th-link-list { display:flex; flex-wrap:wrap; gap:10px 24px; list-style:none; padding:0; margin:0; }
#tyzx-home-main .th-link-list li { margin:0; padding:0; }
#tyzx-home-main .th-support { display:grid; grid-template-columns:minmax(0,1fr) 160px; gap:20px; align-items:start; }
#tyzx-home-main .th-support > div { min-width:0; }
#tyzx-home-main .th-donation-image { text-align:center; font-size:.85em; }
#tyzx-home-main .th-donation-image p { margin:0; }
#tyzx-home-main .th-donation-image figure,#tyzx-home-main .th-donation-image .thumb { float:none; margin:0; padding:0; width:auto; }
#tyzx-home-main .th-footnote { clear:both; border-top:1px solid var(--border-color-subtle,#eaecf0); padding:16px 20px; color:var(--color-subtle,#54595d); font-size:.85em; }
#tyzx-home-main img { max-width:100%; height:auto; }
#tyzx-home-main figure { max-width:100%; }
#tyzx-home-main .mw-inputbox-form-inline { max-width:100%; margin:.7em 0; text-align:left; }
#tyzx-home-main .mw-inputbox-centered { text-align:left; }
#tyzx-home-main input { max-width:100%; }
#tyzx-home-main ul { margin-top:.6em; margin-bottom:.6em; }
#tyzx-home-main a { overflow-wrap:anywhere; }
@media screen and (max-width:900px) {
 #tyzx-home-main .th-footer-grid { grid-template-columns:minmax(0,1fr); gap:0; }
}
@media screen and (max-width:720px) {
 #tyzx-home-main .th-main-grid { grid-template-columns:minmax(0,1fr); gap:0; }
 #tyzx-home-main .th-hero { padding:18px 12px; gap:14px; }
 #tyzx-home-main .th-logo { flex-basis:64px; }
 #tyzx-home-main h1 { font-size:1.4em; }
 #tyzx-home-main .th-section { padding:18px 8px; margin-bottom:12px; }
 #tyzx-home-main .th-side { padding:18px 14px; }
 #tyzx-home-main .th-notice { padding:12px; }
 #tyzx-home-main .th-footnote { padding:14px 8px; }
}
@media screen and (max-width:420px) {
 #tyzx-home-main .th-hero { display:block; }
 #tyzx-home-main .th-logo { display:none; }
 #tyzx-home-main .th-support { grid-template-columns:minmax(0,1fr) 128px; gap:12px; }
}