打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

MediaWiki:Common.css

MediaWiki界面页面
Jzyfate留言 | 贡献2026年7月16日 (四) 11:46的版本

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
/* ===== 全局 ===== */
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;
}
/* 全站背景 */
body {
  background: url("/images/f/fb/%E4%B8%BB%E9%A1%B5%E8%83%8C%E6%99%AF.png") no-repeat fixed center center / cover;
}

/* 内容区半透明遮罩,保证文字可读 */
#mw-page-base {
  background: rgba(255,255,255,0.88);
}
/* 遮罩:让内容区底色半透明,保证文字可读 */
#mw-page-base {
  background: rgba(255, 255, 255, 0.88) !important;
}