跳转到内容
打开/关闭菜单
  • 451 条目
  • 802 文件
  • 22 用户
  • 9005 编辑
Blockland Wiki
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:Infobox/styles:css

来自Blockland Wiki
KK​(留言 | 贡献)2025年10月29日 (三) 23:04的版本 (创建页面,内容为“→* CSS for Template:Infobox. * The styles are part of the meta-template, which is used by many other templates. * So please be careful when editing.:​ .infobox { border: 1px solid #a2a9b1; border-spacing: 3px; background-color: #f8f9fa; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right; font-size: 88%; line-height: 1.5em; width: 22em; →维基百科标准宽度:​ } .infobox t…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

/*

* CSS for Template:Infobox.
* The styles are part of the meta-template, which is used by many other templates.
* So please be careful when editing.
*/

.infobox {

   border: 1px solid #a2a9b1;
   border-spacing: 3px;
   background-color: #f8f9fa;
   color: black;
   margin: 0.5em 0 0.5em 1em;
   padding: 0.2em;
   float: right;
   clear: right;
   font-size: 88%;
   line-height: 1.5em;
   width: 22em; /* 维基百科标准宽度 */

} .infobox th, .infobox td {

   text-align: left;
   vertical-align: top;

} .infobox caption {

   font-size: 125%;
   font-weight: bold;
   padding: 0.2em;

} .infobox.bordered {

   border-collapse: collapse;

} .infobox.bordered th, .infobox.bordered td {

   border: 1px solid #a2a9b1;
   padding: 0.4em 0.6em;

} .infobox.bordered .mergedtoprow th, .infobox.bordered .mergedtoprow td {

   border-top: 1px solid #a2a9b1;
   padding-top: 0.6em;

} .infobox .infobox-title {

   font-size: 125%;
   font-weight: bold;
   text-align: center;
   background-color: #d8d8e0; /* 标题栏背景色 */

} .infobox .infobox-above {

   font-size: 125%;
   font-weight: bold;
   text-align: center;

} .infobox .infobox-image, .infobox .infobox-full-data {

   text-align: center;

} .infobox .infobox-header {

   font-weight: bold;
   background-color: #e0e0e8; /* 分组标题背景色 */

} .infobox .infobox-label {

   font-weight: bold;

}