打开/关闭搜索
搜索
打开/关闭菜单
1
40
1
326
末世录
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
上传文件
末世录
角色
国家
教派
我想嗦牛子
嗦塞尔达牛子
嗦萨图恩牛子
嗦奥利奥头牛子
打开/关闭外观设置菜单
通知
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
创建账号
登录
查看“︁MediaWiki:Common.css”︁的源代码
MediaWiki界面页面
查看
阅读
查看源代码
查看历史
associated-pages
系统消息
讨论
更多操作
←
MediaWiki:Common.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
此页面为本wiki上的软件提供界面文本,并受到保护以防止滥用。 如欲修改所有wiki的翻译,请访问
translatewiki.net
上的MediaWiki本地化项目。
您无权编辑此CSS页面,因为编辑此页面可能会影响所有访问者。
您可以查看和复制此页面的源代码。
/* 这里放置的CSS将应用于所有皮肤 */ /* 首行缩进 */ div.textIndent p { text-indent: 2em; margin: 0.5em 0; } /* 首字下沉样式 */ .dropCap::first-letter { float: left; font-size: 3.2em !important; line-height: 0.85em !important; margin-right: 0.1em !important; font-weight: bold; color: #000; } /* 角色信息框 - 基于Infobox元模板 适配SimmcWIKI专属风格 */ .infobox { /* 复用首页同款透明边框+像素化渲染 */ border: 4vmin solid transparent; border-radius: 4vmin; border-image:url(https://huiji-public.huijistatic.com/simmc/uploads/8/8a/HomePageBoarderImage.png) 170 round; background-color: #fbf2db; color: #361d07; /* 基础布局 */ margin: 0 0 0.5em 1em; padding: 0.5em; float: right; clear: right; font-size: 88%; line-height: 1.6em; width: 22em; /* MC专属字体+像素化 */ font-family: Minecraft, sans-serif; image-rendering: pixelated; box-shadow: 0 0 20px rgba(0,0,0,0.1); box-sizing: border-box; } /* 信息框外标题 title */ .infobox-title { font-size: 1.5em; font-weight: bold; text-align: center; color: #441f74; margin-bottom: 0.5em; font-family: Minecraft, sans-serif; } /* 信息框内标题 above + 子标题subheader */ .infobox-above { text-align: center; font-size: 1.3em; font-weight: bold; padding: 0.3em; color: #441f74; border-bottom: 2px solid #361d0733; margin-bottom: 0.5em; } .infobox-subheader { text-align: center; font-weight: bold; padding: 0.2em; color: #361d07; margin: 0.3em 0; } /* 顶栏header - 区分于标题的强调样式 */ .infobox-header { text-align: center; padding: 0.4em; background-color: #221b0066; color: #f6c628; border-radius: 2vmin; margin: 0.6em 0 0.3em; font-weight: bold; } /* 标签label + 数据data 行样式 */ .infobox-label { text-align: right; padding: 0.3em 0.8em; white-space: nowrap; vertical-align: top; color: #361d07; background-color: #221b0022; border-radius: 1vmin; font-weight: 500; } .infobox-data { padding: 0.3em 0.5em; vertical-align: top; color: #361d07; width: 100%; } /* 图片+说明文字 - 像素化渲染适配MC图片 */ .infobox-image { text-align: center; padding: 0.5em 0; image-rendering: pixelated; } .infobox-caption { font-size: 85%; text-align: center; color: #361d07; margin-top: 0.3em; font-style: italic; } /* 信息框底部below */ .infobox-below { text-align: center; font-weight: bold; padding: 0.5em; color: #441f74; border-top: 2px solid #361d0733; margin-top: 0.5em; } /* 适配Infobox元模板的自定义样式参数(覆盖默认) */ .infobox [style] { font-family: Minecraft, sans-serif !important; image-rendering: pixelated !important; } /* 移动端适配 - 取消浮动,自适应宽度 */ @media screen and (max-width: 768px) { .infobox { float: none; clear: none; margin: 1em auto; width: 95%; border-width: 2vmin; font-size: 85%; } } /* 兼容表格内嵌套样式,避免冲突 */ .infobox table { width: 100%; border-collapse: collapse; } .infobox tr { margin: 0.2em 0; } .infobox td { border: 0 !important; }
返回
MediaWiki:Common.css
。
查看“︁MediaWiki:Common.css”︁的源代码
MediaWiki界面页面