Template:首页/sandbox:修订间差异

删除的内容 添加的内容
创建页面,内容为“<includeonly>{{首页/通用代码}} <div style="text-align:center;max-width:700px;margin:0 auto;padding:40px 20px;"> <p style="font-size:1.1em;color:#54595d;margin-bottom:24px;"> 传承中医文化,汇集古今医籍。 </p> <inputbox> type=search width=40 placeholder=搜索中医百科… break=no </inputbox> </div> </includeonly><noinclude>{{-}}{{doc|content= == 概要 == 首页样式模板 == 参见 == {{Special:PrefixIndex/Template:…”
 
改用大气版布局:home-container + CSS 类
 
(未显示2个用户的3个中间版本)
第1行:
<includeonly>{{首页/通用代码}}
 
<div class="home-container">
<div style="text-align:center;max-width:700px;margin:0 auto;padding:40px 20px;">
<div class="home-brand">
<p style="font-size:1.1em;color:#54595d;margin-bottom:24px;">
<h1 class="home-title">中医百科</h1>
传承中医文化,汇集古今医籍。
<p class="home-subtitle">勤求古训,博采众方</p>
</p>
<div class="home-divider"></div>
<inputbox>
</pdiv>
type=search
<div class="home-search">
width=40
<p class="home-desc">传承中医文化,汇集古今医籍</p>
placeholder=搜索中医百科…
<inputbox>
break=no
type=searchfulltext
</inputbox>
width=4045
placeholder=搜索中医百科,探寻岐黄之道
searchbuttonlabel=搜索
break=no
</inputbox>
</div>
</div>
</includeonly><noinclude>{{-}}{{doc|content=
== 概要 ==
首页样式模板
== 参见 ==
{{Special:PrefixIndex/Template:首页}}
[[Category:首页模板]]
}}</noinclude>