更多操作
PasbellettiKikka(留言 | 贡献) 小无编辑摘要 |
PasbellettiKikka(留言 | 贡献) 小 模板前置(测试) 标签:已被回退 |
||
| 第49行: | 第49行: | ||
.mw-editsection-divider, .mw-editsection-bracket { | .mw-editsection-divider, .mw-editsection-bracket { | ||
display: none !important; | display: none !important; | ||
} | |||
.mp-hero { | |||
margin: 1.5rem 0 2rem; | |||
padding: 2.5rem 1.25rem; | |||
border: 1px solid var(--border-color-base, #2f3441); | |||
border-radius: 18px; | |||
background: | |||
linear-gradient(135deg, rgba(80, 110, 255, 0.18), rgba(80, 110, 255, 0.04)), | |||
var(--background-color-base, #111827); | |||
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); | |||
} | |||
.mp-hero__content { | |||
max-width: 1100px; | |||
margin: 0 auto; | |||
text-align: center; | |||
} | |||
.mp-hero__title { | |||
margin: 0; | |||
font-size: 2.2rem; | |||
font-weight: 700; | |||
} | |||
.mp-hero__subtitle { | |||
margin: 0.75rem 0 1.5rem; | |||
opacity: 0.8; | |||
font-size: 1rem; | |||
} | |||
.mp-hero__stats { | |||
display: grid; | |||
grid-template-columns: repeat(3, minmax(0, 1fr)); | |||
gap: 1rem; | |||
margin-top: 1.5rem; | |||
} | |||
.mp-stat { | |||
padding: 1rem; | |||
border-radius: 14px; | |||
background: rgba(255, 255, 255, 0.06); | |||
border: 1px solid var(--border-color-base, #2f3441); | |||
backdrop-filter: blur(8px); | |||
} | |||
.mp-stat__num { | |||
font-size: 1.6rem; | |||
font-weight: 700; | |||
line-height: 1.2; | |||
} | |||
.mp-stat__label { | |||
margin-top: 0.35rem; | |||
opacity: 0.75; | |||
font-size: 0.95rem; | |||
} | |||
@media (max-width: 768px) { | |||
.mp-hero__stats { | |||
grid-template-columns: 1fr; | |||
} | |||
.mp-hero__title { | |||
font-size: 1.7rem; | |||
} | |||
} | } | ||
2026年4月14日 (二) 17:14的版本
/* --- 1. 基础重置:撤销皮肤的强制图标遮罩 --- */
body.skin-citizens .mw-editsection a.citizen-editsection-icon::before {
-webkit-mask-image: none !important;
mask-image: none !important;
background: none !important;
width: auto !important;
height: auto !important;
display: inline-block !important;
vertical-align: middle;
}
/* --- 2. 针对【编辑】按钮(链接包含 veaction) --- */
body.skin-citizens .mw-editsection a[href*="veaction=edit"]::before {
content: "✎" !important;
color: var(--color-primary) !important;
margin-right: 4px;
}
/* --- 3. 针对【编辑源代码】按钮(链接包含 action=edit 且不含 veaction) --- */
/* 注意:这里利用属性选择器的排除逻辑或特定关键词 */
body.skin-citizens .mw-editsection a[href*="action=edit"]:not([href*="veaction"])::before {
content: "{ }" !important;
font-family: monospace !important;
font-weight: bold !important;
color: var(--color-base-70) !important;
margin-right: 4px;
}
/* --- 4. 让它们长得完全不一样(样式美化) --- */
/* 源代码按钮:灰色圆角标签感 */
body.skin-citizens .mw-editsection a[href*="action=edit"]:not([href*="veaction"]) {
background: var(--color-surface-2) !important;
border: 1px solid var(--color-border) !important;
padding: 2px 8px !important;
border-radius: 4px !important;
text-decoration: none !important;
font-size: 0.9em;
}
/* 可视化编辑按钮:轻微着色 */
body.skin-citizens .mw-editsection a[href*="veaction=edit"] {
padding: 2px 8px !important;
color: var(--color-primary) !important;
text-decoration: none !important;
}
/* 隐藏中间多余的竖线和括号 */
.mw-editsection-divider, .mw-editsection-bracket {
display: none !important;
}
.mp-hero {
margin: 1.5rem 0 2rem;
padding: 2.5rem 1.25rem;
border: 1px solid var(--border-color-base, #2f3441);
border-radius: 18px;
background:
linear-gradient(135deg, rgba(80, 110, 255, 0.18), rgba(80, 110, 255, 0.04)),
var(--background-color-base, #111827);
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.mp-hero__content {
max-width: 1100px;
margin: 0 auto;
text-align: center;
}
.mp-hero__title {
margin: 0;
font-size: 2.2rem;
font-weight: 700;
}
.mp-hero__subtitle {
margin: 0.75rem 0 1.5rem;
opacity: 0.8;
font-size: 1rem;
}
.mp-hero__stats {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1rem;
margin-top: 1.5rem;
}
.mp-stat {
padding: 1rem;
border-radius: 14px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid var(--border-color-base, #2f3441);
backdrop-filter: blur(8px);
}
.mp-stat__num {
font-size: 1.6rem;
font-weight: 700;
line-height: 1.2;
}
.mp-stat__label {
margin-top: 0.35rem;
opacity: 0.75;
font-size: 0.95rem;
}
@media (max-width: 768px) {
.mp-hero__stats {
grid-template-columns: 1fr;
}
.mp-hero__title {
font-size: 1.7rem;
}
}