打开/关闭搜索
搜索
打开/关闭菜单
59
83
13
872
诺布百科 · Noblecraft Wiki
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
上传文件
打开/关闭外观设置菜单
无法加载偏好设置。请检查您的网络连接并重试。
重试
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
请求账号
登录
查看“︁MediaWiki:Common.css”︁的源代码
MediaWiki界面页面
查看
阅读
查看源代码
查看历史
associated-pages
系统消息
讨论
更多操作
←
MediaWiki:Common.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
此页面为本wiki上的软件提供界面文本,并受到保护以防止滥用。如欲修改所有wiki的翻译,请访问
translatewiki.net
上的MediaWiki本地化项目。
您无权编辑此CSS页面,因为编辑此页面可能会影响所有访问者。
您可以查看和复制此页面的源代码。
/* Noblecraft homepage polish. Append after the current homepage CSS in MediaWiki:Common.css */ /* Keep polish scoped to the existing homepage pieces. */ .nc-stage, .nc-cards { max-width: 1180px; margin-left: auto; margin-right: auto; } .nc-mascot { max-width: 1180px; margin: 0 auto 10px; text-align: center; } .nc-mascot img { max-width: min(560px, 88vw); height: auto; filter: drop-shadow(0 18px 28px rgba(45,52,68,.18)); } /* A compact intro panel for the current homepage text area. */ .nc-home-intro { max-width: 1180px; margin: 8px auto 18px; padding: 20px 24px; background: rgba(255,255,255,.58); border: 1px solid rgba(255,255,255,.82); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 18px 42px -30px rgba(45,52,68,.55); backdrop-filter: blur(18px) saturate(135%); -webkit-backdrop-filter: blur(18px) saturate(135%); } .nc-home-intro h2 { margin-top: 0; border-bottom: 0; color: #24282f; font-size: 1.45rem; line-height: 1.35; } .nc-home-subtitle { margin: -4px 0 14px; color: #75808c; font-size: .96rem; font-weight: 700; } .nc-home-intro p { color: #4f5663; font-size: 1.02rem; line-height: 1.75; } .nc-home-meta { max-width: 1180px; margin: -4px auto 12px; padding: 10px 14px; background: rgba(255,255,255,.46); border: 1px solid rgba(210,216,222,.78); color: #56616d; font-size: .94rem; font-weight: 620; box-shadow: 0 10px 24px -24px rgba(45,52,68,.45); } .nc-home-meta a { color: #0f4c5c; font-weight: 800; text-decoration: none; } /* Make the original four-card layout feel more deliberate. */ .nc-cards { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 18px; align-items: stretch; } .nc-card { position: relative; min-width: 230px; min-height: 520px; border-color: rgba(225,229,234,.95); overflow: hidden; align-self: stretch; } .nc-card ul { padding-bottom: 84px !important; } .nc-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; opacity: .42; } .nc-card-lobby::after { background: #d89038; } .nc-card-play::after { background: #4c8fbd; } .nc-card-comm::after { background: #8d62b8; } .nc-card-apply::after { background: #c85c70; } .nc-card-head { position: relative; padding: 14px 18px 13px; letter-spacing: 0; } .nc-card-head::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 1px; background: rgba(255,255,255,.45); } .nc-card li a { position: relative; padding: 8px 18px 8px 28px; font-weight: 620; } .nc-card li a::before { content: ""; position: absolute; left: 16px; top: 50%; width: 4px; height: 4px; margin-top: -2px; background: #9aa4ad; } .nc-card li a:hover { padding-left: 32px; background: rgba(86,102,118,.12); } .nc-card li a:hover::before { background: #0f4c5c; } /* Softer status boxes if you keep {{成功}} near the top. */ .mw-parser-output .successbox, .mw-parser-output .mw-message-box-success { border-color: #bdd8c8; background: rgba(246,252,248,.72); } /* Mobile: keep the mascot useful, not overwhelming. */ @media (max-width: 760px) { .nc-mascot img { max-width: min(360px, 86vw); } .nc-home-intro { padding: 16px; } .nc-home-intro h2 { font-size: 1.22rem; } .nc-card { min-width: 100%; } } @media (max-width: 1080px) { .nc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 760px) { .nc-cards { grid-template-columns: 1fr; } }
返回
MediaWiki:Common.css
。
查看“︁MediaWiki:Common.css”︁的源代码
MediaWiki界面页面