查看“︁Module:Infobox/styles.css”︁的源代码
←
Module:Infobox/styles.css
跳转到导航
跳转到搜索
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
/* * Infobox 基础样式 */ .infobox, .ib-country { border: 1px solid var(--border-color-base, #a2a9b1); background-color: var(--background-color-infobox, #f9f9f9); width: 22em; font-size: 88%; line-height: 1.5em; padding: 0.4em; border-collapse: collapse; } .infobox { float: right; clear: right; margin: 0 0 1em 1em; } .infobox td, .infobox th { border: 1px solid var(--border-color-base, #a2a9b1); padding: 0.4em 0.6em; text-align: left; /* 默认左对齐,可改为 center */ } .infobox th { text-align: center; } .infobox .infobox-above, .infobox .infobox-title, .infobox th[style*="colspan"] { text-align: center; font-size: 125%; font-weight: bold; } /* * 子 infobox 样式 */ .infobox-subbox { padding: 0; border: none; margin: -3px; width: auto; min-width: 100%; font-size: 100%; clear: none; float: none; background-color: transparent; } .infobox-3cols-child { margin: auto; } .infobox .navbar { font-size: 100%; } /* * 支持 Minerva 皮肤中的居中标题(移动端) */ body.skin-minerva .infobox-header, body.skin-minerva .infobox-subheader, body.skin-minerva .infobox-above, body.skin-minerva .infobox-title, body.skin-minerva .infobox-image, body.skin-minerva .infobox-full-data, body.skin-minerva .infobox-below { text-align: center; } /* * 深色模式支持(Vector 2022 等现代皮肤) */ @media screen { html.skin-theme-clientpref-night .infobox-full-data:not(.notheme) > div:not(.notheme)[style] { background: #1f1f23 !important; color: #f8f9fa; } @media (prefers-color-scheme: dark) { html.skin-theme-clientpref-os .infobox-full-data:not(.notheme) div:not(.notheme) { background: #1f1f23 !important; color: #f8f9fa; } } html.skin-theme-clientpref-night .infobox td div:not(.notheme)[style] { background: transparent !important; color: var(--color-base, #202122); } @media (prefers-color-scheme: dark) { html.skin-theme-clientpref-os .infobox td div:not(.notheme)[style] { background: transparent !important; color: var(--color-base, #202122); } } html.skin-theme-clientpref-night .infobox td div.NavHead:not(.notheme)[style] { background: transparent !important; } } @media (prefers-color-scheme: dark) { html.skin-theme-clientpref-os .infobox td div.NavHead:not(.notheme)[style] { background: transparent !important; } } /* * 响应式皮肤支持(infobox-table) */ @media (min-width: 640px) { body.skin--responsive .infobox-table { display: table !important; } body.skin--responsive .infobox-table > caption { display: table-caption !important; } body.skin--responsive .infobox-table > tbody { display: table-row-group; } body.skin--responsive .infobox-table tr { display: table-row !important; } body.skin--responsive .infobox-table th, body.skin--responsive .infobox-table td { padding-left: inherit; padding-right: inherit; } }
返回
Module:Infobox/styles.css
。
导航菜单
个人工具
中文
创建账号
登录
命名空间
模块
讨论
English
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息