|
|
| (未显示同一用户的10个中间版本) |
| 第1行: |
第1行: |
|
| |
|
|
| |
| /* 1. 全局背景与字体基准 (60% 空间) */
| |
| body {
| |
| background-color: #f4f2f7; /* 灰紫底色 */
| |
| color: #1a1625; /* 深幽灰正文 */
| |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
| |
| line-height: 1.6;
| |
| }
| |
|
| |
| /* 2. 交互色彩层 (超链接) */
| |
| .mw-parser-output a {
| |
| color: #7c4dff; /* 交互高亮紫 */
| |
| text-decoration: none;
| |
| transition: color 0.2s ease;
| |
| }
| |
|
| |
| .mw-parser-output a:hover {
| |
| color: #ffb300; /* 悬停变为琥珀金,增强交互反馈 */
| |
| text-decoration: underline;
| |
| }
| |
|
| |
| /* 3. 主内容区卡片化改造 (30% 空间) */
| |
| .mw-body {
| |
| background-color: #ffffff;
| |
| border: none;
| |
| border-radius: 12px;
| |
| box-shadow: 0 8px 24px rgba(26, 22, 37, 0.06); /* 阴影也带微弱紫相 */
| |
| padding: 35px;
| |
| margin-top: 20px;
| |
| }
| |
|
| |
| /* 4. 标题与章节分割线 (10% 空间 - 主题紫落地) */
| |
| .mw-body h1.firstHeading {
| |
| font-weight: 700;
| |
| color: #4527a0; /* 更深一档的紫色用于H1,压住全场 */
| |
| border-bottom: none;
| |
| margin-bottom: 24px;
| |
| }
| |
|
| |
| .mw-parser-output h2 {
| |
| font-size: 1.5em;
| |
| font-weight: 600;
| |
| color: #5e35b1; /* 主干视觉紫 */
| |
| border-bottom: 2px solid #e6e2ed; /* 过渡分割线 */
| |
| padding-bottom: 8px;
| |
| margin-top: 1.8em;
| |
| }
| |
|
| |
| /* 5. Infobox 信息框的现代化 (侧边数据卡片) */
| |
| .infobox {
| |
| background-color: #faf9fc; /* 极淡紫背景,与主卡片纯白区分 */
| |
| border: 1px solid #e6e2ed;
| |
| border-radius: 8px;
| |
| box-shadow: 0 4px 12px rgba(94, 53, 177, 0.08); /* 紫色系弥散阴影 */
| |
| float: right;
| |
| clear: right;
| |
| margin: 0 0 1.5em 1.5em;
| |
| padding: 0; /* 移除外边距,让表头贴顶 */
| |
| width: 320px;
| |
| font-size: 0.9em;
| |
| overflow: hidden; /* 配合圆角 */
| |
| }
| |
|
| |
| /* Infobox 表头使用主题紫底白字 */
| |
| .infobox th {
| |
| background-color: #5e35b1;
| |
| color: #ffffff;
| |
| padding: 12px 8px;
| |
| text-align: center;
| |
| font-weight: 600;
| |
| }
| |
|
| |
| /* Infobox 数据行 */
| |
| .infobox td {
| |
| padding: 10px 12px;
| |
| border-bottom: 1px solid #e6e2ed;
| |
| }
| |
|
| |
| .infobox tr:last-child td {
| |
| border-bottom: none;
| |
| }
| |