MediaWiki:Common.css:修订间差异
来自勿忘草与永远的少女
跳到导航跳到搜索
无编辑摘要 |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
/* 首页样式 | /* ===== 明日方舟终末地风格 WIKI 首页样式 ===== */ | ||
.wiki- | /* 适用于任何深色科技感主题的MediaWiki首页,由用户提供并适配 */ | ||
.zmd-wiki-home { | |||
background-color: #0a0c10; | |||
color: #e0e3e9; | |||
font-family: system-ui, -apple-system, 'Segoe UI', 'Microsoft YaHei', sans-serif; | |||
padding: 20px; | |||
max-width: 1400px; | |||
margin: 0 auto; | |||
} | } | ||
. | |||
.zmd-card { | |||
background: rgba(20, 24, 30, 0.85); | |||
backdrop-filter: blur(2px); | |||
border-radius: 20px; | |||
border: 1px solid rgba(72, 187, 160, 0.3); | |||
margin-bottom: 24px; | |||
overflow: hidden; | |||
transition: 0.2s; | |||
} | } | ||
. | .zmd-card:hover { | ||
border-color: #48bba0; | |||
box-shadow: 0 6px 14px rgba(0,0,0,0.3); | |||
} | } | ||
. | .zmd-card-header { | ||
padding: 14px 20px; | |||
background: rgba(0, 0, 0, 0.4); | |||
border-bottom: 1px solid rgba(72, 187, 160, 0.4); | |||
font-weight: bold; | |||
font-size: 1.2rem; | |||
display: flex; | |||
align-items: center; | |||
gap: 8px; | |||
} | } | ||
.zmd-card-content { | |||
padding: 16px 20px; | |||
} | |||
.version-badge { | |||
margin-left: auto; | |||
font-size: 0.75rem; | |||
background: #1e3a3a; | |||
padding: 4px 12px; | |||
border-radius: 40px; | |||
font-weight: normal; | |||
} | |||
.header-icon { | |||
font-size: 1.3rem; | |||
} | |||
/* 网格布局 */ | |||
.zmd-grid { | |||
display: grid; | |||
grid-template-columns: 1fr 300px; | |||
gap: 24px; | |||
margin-top: 10px; | |||
} | |||
/* 活动条目内的列表样式 */ | |||
.event-col ul { | |||
list-style: none; | |||
padding-left: 0; | |||
} | |||
.event-col h4 { | |||
margin: 0 0 8px 0; | |||
color: #b9f3e2; | |||
} | |||
/* 统计区域 */ | |||
.wiki-stats { | .wiki-stats { | ||
background: #1e2128; | |||
padding: 12px; | |||
border-radius: 12px; | |||
margin: 15px 0; | |||
display: flex; | |||
justify-content: space-around; | |||
text-align: center; | |||
} | |||
.wiki-stats b { | |||
font-size: 1.3rem; | |||
color: #48bba0; | |||
} | |||
/* 角色图鉴网格 */ | |||
.character-grid { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 12px; | |||
} | |||
.char-item { | |||
text-align: center; | |||
width: 80px; | |||
text-decoration: none; | |||
color: #dce5f0; | |||
} | |||
.char-avatar { | |||
width: 70px; | |||
height: 70px; | |||
background: #2f3e46; | |||
border-radius: 50%; | |||
margin: 0 auto; | |||
background-size: cover; | |||
background-position: center; | |||
} | |||
.char-avatar.more-bg { | |||
background: #3a4a52; | |||
line-height: 70px; | |||
text-align: center; | |||
font-size: 24px; | |||
} | |||
.char-name { | |||
margin-top: 5px; | |||
font-size: 0.85rem; | |||
} | |||
/* 链接列表样式 */ | |||
.link-list { | |||
display: flex; | |||
flex-direction: column; | |||
gap: 8px; | |||
} | |||
.plain-list { | |||
padding-left: 20px; | |||
} | |||
.plain-list a, .guide-list a, .link-list a { | |||
color: #7fc1b0; | |||
text-decoration: none; | |||
} | |||
.plain-list a:hover, .guide-list a:hover, .link-list a:hover { | |||
color: #c0f0e2; | |||
text-decoration: underline; | |||
} | |||
/* 双列攻略列表 */ | |||
.two-columns { | |||
display: grid; | |||
grid-template-columns: 1fr 1fr; | |||
gap: 16px; | |||
} | |||
.guide-list { | |||
list-style: none; | |||
padding-left: 0; | |||
margin: 0; | |||
} | |||
.guide-list li { | |||
margin-bottom: 8px; | |||
} | |||
/* 新闻列表 */ | |||
.news-list { | |||
list-style: none; | |||
padding: 0; | |||
margin: 0; | |||
} | |||
.news-list li { | |||
padding: 10px 0; | |||
border-bottom: 1px dashed rgba(255,255,255,0.1); | |||
display: flex; | |||
align-items: baseline; | |||
gap: 12px; | |||
} | |||
.news-list .date { | |||
font-family: monospace; | |||
background: #1e2a2a; | |||
padding: 2px 8px; | |||
border-radius: 14px; | |||
font-size: 0.75rem; | |||
color: #b9f3e2; | |||
} | |||
.more-link { | |||
margin-top: 12px; | |||
text-align: right; | |||
} | |||
/* QQ群样式 */ | |||
.qq-group { | |||
background: #2a2e3a; | |||
border-radius: 30px; | |||
padding: 8px 16px; | |||
display: inline-block; | |||
margin-top: 8px; | |||
} | } | ||
. | |||
/* 页面操作栏 */ | |||
.page-toolbar { | |||
display: flex; | |||
justify-content: flex-end; | |||
gap: 12px; | |||
margin: 10px 0 20px; | |||
font-size: 0.9rem; | |||
} | } | ||
. | .mw-ui-button { | ||
display: inline-block; | |||
padding: 6px 12px; | |||
border-radius: 2px; | |||
background: #2a2e3a; | |||
color: #e0e3e9; | |||
border: 1px solid #4a5b6e; | |||
cursor: default; | |||
} | } | ||
.mw-ui-quiet { | |||
. | background: transparent; | ||
border-color: transparent; | |||
} | } | ||
. | |||
/* 底部 */ | |||
.zmd-footer { | |||
margin-top: 40px; | |||
padding: 20px 0; | |||
text-align: center; | |||
border-top: 1px solid #2e3a44; | |||
font-size: 0.85rem; | |||
color: #8a9bb0; | |||
} | } | ||
/* 响应式 */ | |||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
. | .zmd-grid { | ||
grid-template-columns: 1fr !important; | |||
} | } | ||
.event-grid { | |||
flex-direction: column; | |||
} | |||
.two-columns { | |||
grid-template-columns: 1fr; | |||
} | |||
} | } | ||
2026年3月26日 (四) 23:10的版本
/* ===== 明日方舟终末地风格 WIKI 首页样式 ===== */
/* 适用于任何深色科技感主题的MediaWiki首页,由用户提供并适配 */
.zmd-wiki-home {
background-color: #0a0c10;
color: #e0e3e9;
font-family: system-ui, -apple-system, 'Segoe UI', 'Microsoft YaHei', sans-serif;
padding: 20px;
max-width: 1400px;
margin: 0 auto;
}
.zmd-card {
background: rgba(20, 24, 30, 0.85);
backdrop-filter: blur(2px);
border-radius: 20px;
border: 1px solid rgba(72, 187, 160, 0.3);
margin-bottom: 24px;
overflow: hidden;
transition: 0.2s;
}
.zmd-card:hover {
border-color: #48bba0;
box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}
.zmd-card-header {
padding: 14px 20px;
background: rgba(0, 0, 0, 0.4);
border-bottom: 1px solid rgba(72, 187, 160, 0.4);
font-weight: bold;
font-size: 1.2rem;
display: flex;
align-items: center;
gap: 8px;
}
.zmd-card-content {
padding: 16px 20px;
}
.version-badge {
margin-left: auto;
font-size: 0.75rem;
background: #1e3a3a;
padding: 4px 12px;
border-radius: 40px;
font-weight: normal;
}
.header-icon {
font-size: 1.3rem;
}
/* 网格布局 */
.zmd-grid {
display: grid;
grid-template-columns: 1fr 300px;
gap: 24px;
margin-top: 10px;
}
/* 活动条目内的列表样式 */
.event-col ul {
list-style: none;
padding-left: 0;
}
.event-col h4 {
margin: 0 0 8px 0;
color: #b9f3e2;
}
/* 统计区域 */
.wiki-stats {
background: #1e2128;
padding: 12px;
border-radius: 12px;
margin: 15px 0;
display: flex;
justify-content: space-around;
text-align: center;
}
.wiki-stats b {
font-size: 1.3rem;
color: #48bba0;
}
/* 角色图鉴网格 */
.character-grid {
display: flex;
flex-wrap: wrap;
gap: 12px;
}
.char-item {
text-align: center;
width: 80px;
text-decoration: none;
color: #dce5f0;
}
.char-avatar {
width: 70px;
height: 70px;
background: #2f3e46;
border-radius: 50%;
margin: 0 auto;
background-size: cover;
background-position: center;
}
.char-avatar.more-bg {
background: #3a4a52;
line-height: 70px;
text-align: center;
font-size: 24px;
}
.char-name {
margin-top: 5px;
font-size: 0.85rem;
}
/* 链接列表样式 */
.link-list {
display: flex;
flex-direction: column;
gap: 8px;
}
.plain-list {
padding-left: 20px;
}
.plain-list a, .guide-list a, .link-list a {
color: #7fc1b0;
text-decoration: none;
}
.plain-list a:hover, .guide-list a:hover, .link-list a:hover {
color: #c0f0e2;
text-decoration: underline;
}
/* 双列攻略列表 */
.two-columns {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}
.guide-list {
list-style: none;
padding-left: 0;
margin: 0;
}
.guide-list li {
margin-bottom: 8px;
}
/* 新闻列表 */
.news-list {
list-style: none;
padding: 0;
margin: 0;
}
.news-list li {
padding: 10px 0;
border-bottom: 1px dashed rgba(255,255,255,0.1);
display: flex;
align-items: baseline;
gap: 12px;
}
.news-list .date {
font-family: monospace;
background: #1e2a2a;
padding: 2px 8px;
border-radius: 14px;
font-size: 0.75rem;
color: #b9f3e2;
}
.more-link {
margin-top: 12px;
text-align: right;
}
/* QQ群样式 */
.qq-group {
background: #2a2e3a;
border-radius: 30px;
padding: 8px 16px;
display: inline-block;
margin-top: 8px;
}
/* 页面操作栏 */
.page-toolbar {
display: flex;
justify-content: flex-end;
gap: 12px;
margin: 10px 0 20px;
font-size: 0.9rem;
}
.mw-ui-button {
display: inline-block;
padding: 6px 12px;
border-radius: 2px;
background: #2a2e3a;
color: #e0e3e9;
border: 1px solid #4a5b6e;
cursor: default;
}
.mw-ui-quiet {
background: transparent;
border-color: transparent;
}
/* 底部 */
.zmd-footer {
margin-top: 40px;
padding: 20px 0;
text-align: center;
border-top: 1px solid #2e3a44;
font-size: 0.85rem;
color: #8a9bb0;
}
/* 响应式 */
@media (max-width: 768px) {
.zmd-grid {
grid-template-columns: 1fr !important;
}
.event-grid {
flex-direction: column;
}
.two-columns {
grid-template-columns: 1fr;
}
}