MediaWiki:Common.css:修订间差异
MediaWiki界面页面
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
/* ===== 游戏资讯 | /* ===== 全局 ===== */ | ||
. | body { | ||
background-color: #ffffff; | |||
color: #1a1a1a; | |||
} | |||
/* ===== 关于江中缘 - 特色卡片 ===== */ | |||
.feature-card { | |||
padding: 18px 14px; | |||
border-radius: 12px; | |||
text-align: center; | |||
font-weight: bold; | |||
border-bottom: 3px solid; | |||
} | |||
.feature-card-blue { | |||
background: #e3f2fd; | |||
color: #0d47a1; | |||
border-bottom-color: #1976d2; | |||
} | |||
.feature-card-green { | |||
background: #e8f5e9; | |||
color: #1b5e20; | |||
border-bottom-color: #388e3c; | |||
} | |||
.feature-card-orange { | |||
background: #fff3e0; | |||
color: #e65100; | |||
border-bottom-color: #f57c00; | |||
} | |||
.feature-card-red { | |||
background: #fce4ec; | |||
color: #c62828; | |||
border-bottom-color: #c62828; | |||
} | |||
/* ===== 游戏资讯 ===== */ | |||
.game-info { | |||
margin: 10px 0; | |||
} | |||
. | /* 导航标签栏 */ | ||
.game-info-nav { | |||
display: flex; | |||
gap: 4px; | |||
flex-wrap: wrap; | |||
margin-bottom: 0; | |||
} | |||
.gi-tab { | .gi-tab { | ||
padding: | display: inline-block; | ||
padding: 8px 22px; | |||
transition: all 0. | text-decoration: none; | ||
font-weight: bold; | |||
border-radius: 6px 6px 0 0; | |||
transition: all 0.2s; | |||
cursor: pointer; | |||
user-select: none; | |||
opacity: 0.5; | |||
} | } | ||
.gi-tab | .gi-tab.active { | ||
. | opacity: 1; | ||
} | |||
/* 五个标签颜色 */ | |||
# | .gi-tab-base { background: #e3f2fd; color: #0d47a1; } | ||
# | .gi-tab-gear { background: #fce4ec; color: #c62828; } | ||
# | .gi-tab-skill { background: #e8f5e9; color: #1b5e20; } | ||
.gi-tab-event { background: #fff3e0; color: #bf360c; } | |||
.gi-tab-other { background: #e0f7fa; color: #006064; } | |||
/* 内容面板 */ | |||
.gi-section { | |||
display: none; | |||
padding: 14px 18px; | |||
background: #fafafa; | |||
border: 1px solid #ddd; | |||
border-radius: 0 6px 6px 6px; | |||
line-height: 2.4; | |||
margin-top: -1px; | |||
} | } | ||
.gi- | .gi-section h3 { | ||
margin: 0 0 10px 0; | |||
font-size: 1em; | |||
color: #888; | |||
text-transform: uppercase; | |||
letter-spacing: 0.5px; | |||
border-bottom: 1px solid #eee; | |||
padding-bottom: 8px; | |||
} | } | ||
.gi- | /* 链接卡片 - 独立方框效果 */ | ||
.gi-section a { | |||
display: inline-block; | |||
padding: 5px 14px; | |||
margin: 4px 3px; | |||
color: #1976d2; | |||
text-decoration: none; | |||
background: #ffffff; | |||
border: 1px solid #d0d0d0; | |||
border-radius: 5px; | |||
font-size: 0.95em; | |||
transition: all 0.15s; | |||
box-shadow: 0 1px 2px rgba(0,0,0,0.04); | |||
} | |||
.gi-section a:hover { | |||
background: #e3f2fd; | |||
border-color: #90caf9; | |||
text-decoration: none; | |||
box-shadow: 0 2px 4px rgba(0,0,0,0.1); | |||
} | |||
.gi-section p { | |||
margin: 0; | |||
padding: 0; | |||
} | |||
/* ===== 热门页面卡片 ===== */ | |||
.hot-card { | |||
padding: 14px 16px; | |||
border-radius: 8px; | |||
font-weight: 600; | |||
text-align: center; | |||
border-bottom: 3px solid; | |||
} | |||
.hot-card-green { | |||
background: #e8f5e9; | |||
color: #1b5e20; | |||
border-bottom-color: #388e3c; | |||
} | |||
.hot-card-red { | |||
background: #fce4ec; | |||
color: #b71c1c; | |||
border-bottom-color: #c62828; | |||
} | |||
.hot-card-cyan { | |||
background: #e0f7fa; | |||
color: #006064; | |||
border-bottom-color: #00bcd4; | |||
} | |||
.hot-card-orange { | |||
background: #fff3e0; | |||
color: #bf360c; | |||
border-bottom-color: #f57c00; | |||
} | |||
/* ===== Wiki 统计 ===== */ | |||
.stat-card { | |||
padding: 20px 16px; | |||
border-radius: 12px; | |||
text-align: center; | |||
font-weight: 700; | |||
border-bottom: 3px solid; | |||
} | |||
.stat-card-blue { | |||
background: #e3f2fd; | |||
color: #0d47a1; | |||
border-bottom-color: #1976d2; | |||
} | |||
.stat-card-green { | |||
background: #e8f5e9; | |||
color: #1b5e20; | |||
border-bottom-color: #388e3c; | |||
} | |||
/* ===== 分隔线 ===== */ | |||
.divider { | |||
border: 0; | |||
border-bottom: 3px solid; | |||
margin: 20px 0; | |||
} | } | ||
2026年7月16日 (四) 09:29的版本
/* ===== 全局 ===== */
body {
background-color: #ffffff;
color: #1a1a1a;
}
/* ===== 关于江中缘 - 特色卡片 ===== */
.feature-card {
padding: 18px 14px;
border-radius: 12px;
text-align: center;
font-weight: bold;
border-bottom: 3px solid;
}
.feature-card-blue {
background: #e3f2fd;
color: #0d47a1;
border-bottom-color: #1976d2;
}
.feature-card-green {
background: #e8f5e9;
color: #1b5e20;
border-bottom-color: #388e3c;
}
.feature-card-orange {
background: #fff3e0;
color: #e65100;
border-bottom-color: #f57c00;
}
.feature-card-red {
background: #fce4ec;
color: #c62828;
border-bottom-color: #c62828;
}
/* ===== 游戏资讯 ===== */
.game-info {
margin: 10px 0;
}
/* 导航标签栏 */
.game-info-nav {
display: flex;
gap: 4px;
flex-wrap: wrap;
margin-bottom: 0;
}
.gi-tab {
display: inline-block;
padding: 8px 22px;
text-decoration: none;
font-weight: bold;
border-radius: 6px 6px 0 0;
transition: all 0.2s;
cursor: pointer;
user-select: none;
opacity: 0.5;
}
.gi-tab.active {
opacity: 1;
}
/* 五个标签颜色 */
.gi-tab-base { background: #e3f2fd; color: #0d47a1; }
.gi-tab-gear { background: #fce4ec; color: #c62828; }
.gi-tab-skill { background: #e8f5e9; color: #1b5e20; }
.gi-tab-event { background: #fff3e0; color: #bf360c; }
.gi-tab-other { background: #e0f7fa; color: #006064; }
/* 内容面板 */
.gi-section {
display: none;
padding: 14px 18px;
background: #fafafa;
border: 1px solid #ddd;
border-radius: 0 6px 6px 6px;
line-height: 2.4;
margin-top: -1px;
}
.gi-section h3 {
margin: 0 0 10px 0;
font-size: 1em;
color: #888;
text-transform: uppercase;
letter-spacing: 0.5px;
border-bottom: 1px solid #eee;
padding-bottom: 8px;
}
/* 链接卡片 - 独立方框效果 */
.gi-section a {
display: inline-block;
padding: 5px 14px;
margin: 4px 3px;
color: #1976d2;
text-decoration: none;
background: #ffffff;
border: 1px solid #d0d0d0;
border-radius: 5px;
font-size: 0.95em;
transition: all 0.15s;
box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.gi-section a:hover {
background: #e3f2fd;
border-color: #90caf9;
text-decoration: none;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.gi-section p {
margin: 0;
padding: 0;
}
/* ===== 热门页面卡片 ===== */
.hot-card {
padding: 14px 16px;
border-radius: 8px;
font-weight: 600;
text-align: center;
border-bottom: 3px solid;
}
.hot-card-green {
background: #e8f5e9;
color: #1b5e20;
border-bottom-color: #388e3c;
}
.hot-card-red {
background: #fce4ec;
color: #b71c1c;
border-bottom-color: #c62828;
}
.hot-card-cyan {
background: #e0f7fa;
color: #006064;
border-bottom-color: #00bcd4;
}
.hot-card-orange {
background: #fff3e0;
color: #bf360c;
border-bottom-color: #f57c00;
}
/* ===== Wiki 统计 ===== */
.stat-card {
padding: 20px 16px;
border-radius: 12px;
text-align: center;
font-weight: 700;
border-bottom: 3px solid;
}
.stat-card-blue {
background: #e3f2fd;
color: #0d47a1;
border-bottom-color: #1976d2;
}
.stat-card-green {
background: #e8f5e9;
color: #1b5e20;
border-bottom-color: #388e3c;
}
/* ===== 分隔线 ===== */
.divider {
border: 0;
border-bottom: 3px solid;
margin: 20px 0;
}