|
|
| (未显示同一用户的3个中间版本) |
| 第1行: |
第1行: |
| /* 这里放置的CSS将应用于MinervaNeue皮肤 */
| | .mw-content-ltr img, |
| /* ========== 全局移动端基础优化(所有页面生效) ========== */
| | .mw-content-rtl img { |
| body.minerva {
| | max-width: 160px !important; |
| background: #f8fbff !important; | | width: auto !important; |
| font-family: "Microsoft Yahei",sans-serif; | | height: auto !important; |
| | object-fit: contain; |
| } | | } |
| .mw-content-ltr {
| | /* 大图溢出兜底,防止突破容器 */ |
| padding: 0 14px !important;
| | .mw-parser-output .thumbinner { |
| }
| | max-width: 160px !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;
| |
| }
| |
| #mw-content-text > div:first-of-type:has(.blue-banner) p {
| |
| font-size: 15px;
| |
| opacity: 0.95;
| |
| }
| |
| | |
| /* ========== 公告区块【保留原样、不做修改】 ========== */
| |
| /* 不写任何公告样式,原生保留 */
| |
| | |
| /* ========== 下方所有人物卡片板块(万恶之源/奇异搞笑等全部卡片) ========== */
| |
| /* 统一所有蓝色板块标题栏 */
| |
| 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;
| |
| }
| |
| /* 完整文章链接美化 */
| |
| .card-item a:has-text("完整文章") {
| |
| display: inline-block;
| |
| margin-top: 6px;
| |
| color: #1677ff !important;
| |
| font-weight: 500;
| |
| }
| |
| | |
| /* ========== 底部黑底大字横幅 ========== */
| |
| div.bottom-banner {
| |
| margin-top: 30px;
| |
| border-radius: 14px;
| |
| overflow: hidden;
| |
| box-shadow: 0 3px 14px rgba(0,0,0,0.15);
| |
| }
| |
| div.bottom-banner img {
| |
| width: 100%;
| |
| display: block;
| |
| }
| |
| | |
| /* ========== 页面底部导航链接(关于本站/注册帮助) ========== */
| |
| .mw-footer-info {
| |
| margin-top: 20px;
| |
| text-align: center;
| |
| font-size: 14px;
| |
| }
| |
| .mw-footer-info a {
| |
| margin: 0 6px;
| |
| color: #1677ff;
| |
| } | | } |