查看“︁MediaWiki:Minerva.css”︁的源代码
←
MediaWiki:Minerva.css
跳转到导航
跳转到搜索
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
此页面为本wiki上的软件提供界面文本,并受到保护以防止滥用。如欲修改所有wiki的翻译,请访问
translatewiki.net
上的MediaWiki本地化项目。
您无权编辑此CSS页面,因为编辑此页面可能会影响所有访问者。
您可以查看和复制此页面的源代码。
/* 全局移动端基础样式(保留之前美化) */ body.minerva { background: #f8fbff !important; font-family: "Microsoft Yahei",sans-serif; } .mw-content-ltr { padding: 0 14px !important; } .mw-page-container { max-width: 720px !important; margin: 0 auto; } /* 顶部蓝色横幅卡片美化 */ #mw-content-text > div:first-of-type:has(.blue-banner) { border-radius: 16px !important; overflow: hidden; box-shadow: 0 2px 12px rgba(22,119,255,0.18) !important; margin-bottom: 16px !important; border: none !important; } #mw-content-text > div:first-of-type:has(.blue-banner) h1 { font-size: 28px !important; font-weight: bold; } /* 公告区域:完全保留原生样式,不修改 */ /* 人物卡片板块统一双列布局 */ div:has(>h2.blue-title) h2 { background: #1677ff !important; color: white !important; text-align: center; padding: 8px 0 !important; border-radius: 12px 12px 0 0 !important; font-size: 18px !important; margin-top: 24px !important; margin-bottom: 0 !important; } div.card-group { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 12px !important; padding: 10px !important; background: #fff !important; border-radius: 0 0 12px 12px !important; box-shadow: 0 1px 8px rgba(0,0,0,0.07); } .card-item { background: white; border-radius: 10px; padding: 10px; border: 1px solid #e8f3ff; } .card-item img { width: 100% !important; height: 180px !important; object-fit: cover; border-radius: 8px; margin-bottom: 8px; } .card-item p { font-size: 13px !important; line-height: 1.6; color: #222; margin: 4px 0; } /* ========== 单独修复底部悼念黑横幅(核心新增代码) ========== */ div.bottom-banner { width: 100% !important; padding: 12px !important; box-sizing: border-box !important; margin-top: 30px; border-radius: 14px; overflow: hidden; background: #000 !important; text-align: center !important; } /* 横幅内图片自适应居中 */ div.bottom-banner img { max-width: 100% !important; height: auto !important; display: block; margin: 0 auto; border-radius: 8px; } /* 横幅标题文字统一居中、不拆分溢出 */ div.bottom-banner h1, div.bottom-banner h2 { color: #ff2222 !important; text-shadow: 0 0 6px #ff0000 !important; text-align: center !important; word-break: keep-all !important; /* 禁止文字中途拆分换行 */ } /* 底部小字说明自适应 */ div.bottom-banner p { color: #ff4444 !important; font-size: 14px !important; line-height: 1.7; text-align: center !important; padding: 0 8px; } /* 页脚导航美化 */ .mw-footer-info { margin-top: 20px; text-align: center; font-size: 14px; } .mw-footer-info a { margin: 0 6px; color: #1677ff; }
返回
MediaWiki:Minerva.css
。
导航菜单
个人工具
登录
命名空间
系统消息
讨论
English
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
工具
链入页面
相关更改
页面信息