MediaWiki:Common.css - 逸剑风云决Wiki
外观
导入站点样式 |
更新站点样式 |
||
| 第1行: | 第1行: | ||
/* 逸剑风云决 Wiki | /* 逸剑风云决 Wiki 站点样式 v2 */ | ||
/* ---- 全局 ---- */ | |||
.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; | |||
} | |||
/* ---- 信息框 ---- */ | |||
.infobox { | .infobox { | ||
border: 2px solid #8b6914 !important; | border: 2px solid #8b6914 !important; | ||
background: #fdf8ef; | background: #fdf8ef; | ||
box-shadow: 0 2px 8px rgba(0,0,0,0.08); | box-shadow: 0 2px 8px rgba(0,0,0,0.08); | ||
border-radius: 4px; | |||
} | } | ||
.infobox th { | .infobox th { | ||
background: #f0ebe3 !important; | background: #f0ebe3 !important; | ||
} | |||
/* ---- 表格 ---- */ | |||
.wikitable { | |||
border-collapse: collapse; | |||
margin: 0.5em 0 1em; | |||
} | } | ||
.wikitable.sortable th { | .wikitable.sortable th { | ||
background: #5c4033; | background: #5c4033; | ||
color: #fff; | 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; } | |||
} | } | ||
2026年5月29日 (五) 00:39的版本
/* 逸剑风云决 Wiki 站点样式 v2 */
/* ---- 全局 ---- */
.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;
}
/* ---- 信息框 ---- */
.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; }
}