MediaWiki:Common.css - 逸剑风云决Wiki
外观
更新站点样式 |
更新站点样式 |
||
| 第1行: | 第1行: | ||
/* 逸剑风云决 Wiki 站点样式 | /* 逸剑风云决 Wiki 站点样式 v3 */ | ||
/* ---- 全局 ---- */ | /* ---- 全局 ---- */ | ||
| 第22行: | 第22行: | ||
border-radius: 4px; | border-radius: 4px; | ||
overflow: hidden; | overflow: hidden; | ||
} | |||
/* ---- 首页 ---- */ | |||
.wiki-home-hero { | |||
background: linear-gradient(135deg, #2f241d 0%, #5c4033 55%, #8b6914 100%); | |||
border-radius: 8px; | |||
color: #fff; | |||
padding: 26px 30px; | |||
margin: 0 0 18px; | |||
box-shadow: 0 4px 16px rgba(47,36,29,0.18); | |||
} | |||
.wiki-home-eyebrow { | |||
color: #f5d99a; | |||
font-size: 92%; | |||
font-weight: 700; | |||
margin-bottom: 8px; | |||
} | |||
.wiki-home-title { | |||
font-size: 220%; | |||
line-height: 1.2; | |||
font-weight: 800; | |||
margin-bottom: 10px; | |||
} | |||
.wiki-home-summary { | |||
max-width: 840px; | |||
line-height: 1.8; | |||
color: #fff8e8; | |||
} | |||
.wiki-home-actions { | |||
margin-top: 16px; | |||
} | |||
.wiki-home-actions a { | |||
display: inline-block; | |||
background: #fdf8ef; | |||
color: #4a3328 !important; | |||
border: 1px solid #f5d99a; | |||
border-radius: 6px; | |||
padding: 7px 12px; | |||
margin: 0 8px 8px 0; | |||
font-weight: 700; | |||
text-decoration: none; | |||
} | |||
.wiki-home-actions a:hover { | |||
background: #fff4d7; | |||
text-decoration: none; | |||
} | |||
.wiki-home-stats { | |||
display: grid; | |||
grid-template-columns: repeat(6, minmax(0, 1fr)); | |||
gap: 10px; | |||
margin: 0 0 20px; | |||
} | |||
.wiki-home-stats div { | |||
background: #fdf8ef; | |||
border: 1px solid #e2c891; | |||
border-radius: 7px; | |||
padding: 12px 10px; | |||
text-align: center; | |||
} | |||
.wiki-home-stats strong { | |||
display: block; | |||
color: #5c4033; | |||
font-size: 150%; | |||
line-height: 1.2; | |||
} | |||
.wiki-home-stats span { | |||
display: block; | |||
color: #6f6258; | |||
font-size: 88%; | |||
margin-top: 3px; | |||
} | |||
.wiki-home-grid { | |||
display: grid; | |||
grid-template-columns: repeat(2, minmax(0, 1fr)); | |||
gap: 14px; | |||
margin: 10px 0 20px; | |||
} | |||
.wiki-home-card { | |||
border: 1px solid #dec493; | |||
border-radius: 8px; | |||
background: #fffdf8; | |||
padding: 16px 18px; | |||
} | |||
.wiki-home-card-title { | |||
color: #5c4033; | |||
font-size: 120%; | |||
font-weight: 800; | |||
margin-bottom: 8px; | |||
} | |||
.wiki-home-card p { | |||
color: #4f463f; | |||
line-height: 1.7; | |||
margin: 0 0 10px; | |||
} | |||
.wiki-home-links { | |||
color: #8b6914; | |||
font-weight: 700; | |||
line-height: 1.8; | |||
} | |||
.wiki-home-index { | |||
display: grid; | |||
grid-template-columns: repeat(2, minmax(0, 1fr)); | |||
gap: 18px; | |||
margin: 8px 0 18px; | |||
} | |||
.wiki-home-index > div, | |||
.wiki-home-note { | |||
background: #faf6f0; | |||
border: 1px solid #e2d3bd; | |||
border-radius: 8px; | |||
padding: 14px 18px; | |||
} | |||
.wiki-home-index h3 { | |||
color: #5c4033; | |||
margin-top: 0; | |||
} | |||
.wiki-home-index li { | |||
margin: 6px 0; | |||
line-height: 1.65; | |||
} | |||
.wiki-home-note p { | |||
line-height: 1.75; | |||
margin: 0 0 10px; | |||
} | } | ||
| 第80行: | 第203行: | ||
.wikitable { font-size: 90%; } | .wikitable { font-size: 90%; } | ||
.wiki-nav td { font-size: 85% !important; padding: 4px 2px !important; } | .wiki-nav td { font-size: 85% !important; padding: 4px 2px !important; } | ||
.wiki-home-hero { padding: 20px 18px; } | |||
.wiki-home-title { font-size: 180%; } | |||
.wiki-home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } | |||
.wiki-home-grid, | |||
.wiki-home-index { grid-template-columns: 1fr; } | |||
} | } | ||
2026年6月3日 (三) 14:10的版本
/* 逸剑风云决 Wiki 站点样式 v3 */
/* ---- 全局 ---- */
.wiki-hero {
background: linear-gradient(135deg, #fdf8ef 0%, #f5ead5 100%);
border: 1px solid #c8a165;
border-radius: 6px;
padding: 1em 1.2em;
margin-bottom: 1.2em;
line-height: 1.6;
}
.wiki-footer {
font-size: 85%;
color: #777;
text-align: center;
margin-top: 2em;
padding-top: 0.8em;
}
.wiki-nav {
border-radius: 4px;
overflow: hidden;
}
/* ---- 首页 ---- */
.wiki-home-hero {
background: linear-gradient(135deg, #2f241d 0%, #5c4033 55%, #8b6914 100%);
border-radius: 8px;
color: #fff;
padding: 26px 30px;
margin: 0 0 18px;
box-shadow: 0 4px 16px rgba(47,36,29,0.18);
}
.wiki-home-eyebrow {
color: #f5d99a;
font-size: 92%;
font-weight: 700;
margin-bottom: 8px;
}
.wiki-home-title {
font-size: 220%;
line-height: 1.2;
font-weight: 800;
margin-bottom: 10px;
}
.wiki-home-summary {
max-width: 840px;
line-height: 1.8;
color: #fff8e8;
}
.wiki-home-actions {
margin-top: 16px;
}
.wiki-home-actions a {
display: inline-block;
background: #fdf8ef;
color: #4a3328 !important;
border: 1px solid #f5d99a;
border-radius: 6px;
padding: 7px 12px;
margin: 0 8px 8px 0;
font-weight: 700;
text-decoration: none;
}
.wiki-home-actions a:hover {
background: #fff4d7;
text-decoration: none;
}
.wiki-home-stats {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
gap: 10px;
margin: 0 0 20px;
}
.wiki-home-stats div {
background: #fdf8ef;
border: 1px solid #e2c891;
border-radius: 7px;
padding: 12px 10px;
text-align: center;
}
.wiki-home-stats strong {
display: block;
color: #5c4033;
font-size: 150%;
line-height: 1.2;
}
.wiki-home-stats span {
display: block;
color: #6f6258;
font-size: 88%;
margin-top: 3px;
}
.wiki-home-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
margin: 10px 0 20px;
}
.wiki-home-card {
border: 1px solid #dec493;
border-radius: 8px;
background: #fffdf8;
padding: 16px 18px;
}
.wiki-home-card-title {
color: #5c4033;
font-size: 120%;
font-weight: 800;
margin-bottom: 8px;
}
.wiki-home-card p {
color: #4f463f;
line-height: 1.7;
margin: 0 0 10px;
}
.wiki-home-links {
color: #8b6914;
font-weight: 700;
line-height: 1.8;
}
.wiki-home-index {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
margin: 8px 0 18px;
}
.wiki-home-index > div,
.wiki-home-note {
background: #faf6f0;
border: 1px solid #e2d3bd;
border-radius: 8px;
padding: 14px 18px;
}
.wiki-home-index h3 {
color: #5c4033;
margin-top: 0;
}
.wiki-home-index li {
margin: 6px 0;
line-height: 1.65;
}
.wiki-home-note p {
line-height: 1.75;
margin: 0 0 10px;
}
/* ---- 信息框 ---- */
.infobox {
border: 2px solid #8b6914 !important;
background: #fdf8ef;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
border-radius: 4px;
}
.infobox th {
background: #f0ebe3 !important;
}
/* ---- 表格 ---- */
.wikitable {
border-collapse: collapse;
margin: 0.5em 0 1em;
}
.wikitable.sortable th {
background: #5c4033;
color: #fff;
cursor: pointer;
padding: 6px 10px;
}
.wikitable.sortable th:hover {
background: #7a5538;
}
.wikitable td {
padding: 5px 8px;
vertical-align: middle;
}
.wikitable.sortable tr:nth-child(even) {
background: #faf6f0;
}
.wikitable.sortable tr:hover {
background: #f0ead8;
}
/* ---- 品质色标 ---- */
.quality-white { color: #888; font-weight: bold; }
.quality-green { color: #2e8b2e; font-weight: bold; }
.quality-blue { color: #2266cc; font-weight: bold; }
.quality-purple { color: #8833aa; font-weight: bold; }
.quality-orange { color: #cc6600; font-weight: bold; }
.quality-darkgold { color: #996600; font-weight: bold; }
.quality-red { color: #cc2222; font-weight: bold; }
.quality-gold { color: #b8860b; font-weight: bold; }
.quality-default { font-weight: bold; }
/* ---- 移动端 ---- */
@media (max-width: 768px) {
.infobox {
float: none !important;
width: 100% !important;
margin: 0 0 1em 0 !important;
}
.wikitable { font-size: 90%; }
.wiki-nav td { font-size: 85% !important; padding: 4px 2px !important; }
.wiki-home-hero { padding: 20px 18px; }
.wiki-home-title { font-size: 180%; }
.wiki-home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wiki-home-grid,
.wiki-home-index { grid-template-columns: 1fr; }
}