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

MediaWiki:Common.css:修订间差异

MediaWiki界面页面
Jzyfate留言 | 贡献
无编辑摘要
Jzyfate留言 | 贡献
无编辑摘要
第1行: 第1行:
/* ===== 游戏资讯 Tab ===== */
/* ===== 全局 ===== */
.gi-wrap input[type="radio"] { display: none; }
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;
}


.gi-tabs { display: flex; gap: 4px; margin-bottom: 0; flex-wrap: wrap; }
/* 导航标签栏 */
.game-info-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 0;
}


.gi-tab {
.gi-tab {
   padding: 10px 18px; cursor: pointer; font-weight: bold;
  display: inline-block;
   font-size: 1.05em; border-radius: 8px 8px 0 0;
   padding: 8px 22px;
   transition: all 0.3s ease; opacity: 0.6;
  text-decoration: none;
   border-bottom: 4px solid transparent; user-select: none;
  font-weight: bold;
   border-radius: 6px 6px 0 0;
   transition: all 0.2s;
  cursor: pointer;
   user-select: none;
  opacity: 0.5;
}
}


.gi-tab-base { background: linear-gradient(135deg,#e3f2fd,#bbdefb); color: #0d47a1; }
.gi-tab.active {
.gi-tab-gear { background: linear-gradient(135deg,#fce4ec,#f8bbd9); color: #b71c1c; }
  opacity: 1;
.gi-tab-skill { background: linear-gradient(135deg,#e8f5e9,#c8e6c9); color: #1b5e20; }
}
.gi-tab-event { background: linear-gradient(135deg,#fff3e0,#ffe0b2); color: #bf360c; }
.gi-tab-other { background: linear-gradient(135deg,#e0f7fa,#b2ebf2); color: #006064; }


#gi-base:checked ~ .gi-tabs label[for="gi-base"],
/* 五个标签颜色 */
#gi-gear:checked ~ .gi-tabs label[for="gi-gear"],
.gi-tab-base { background: #e3f2fd; color: #0d47a1; }
#gi-skill:checked ~ .gi-tabs label[for="gi-skill"],
.gi-tab-gear { background: #fce4ec; color: #c62828; }
#gi-event:checked ~ .gi-tabs label[for="gi-event"],
.gi-tab-skill { background: #e8f5e9; color: #1b5e20; }
#gi-other:checked ~ .gi-tabs label[for="gi-other"] {
.gi-tab-event { background: #fff3e0; color: #bf360c; }
   opacity: 1; border-bottom: 4px solid #333;
.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-panels {
.gi-section h3 {
   background: rgba(255,255,255,0.85);
   margin: 0 0 10px 0;
   border-radius: 0 0 8px 8px; padding: 16px 20px;
  font-size: 1em;
   min-height: 80px; line-height: 2;
  color: #888;
   text-transform: uppercase;
  letter-spacing: 0.5px;
   border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}
}


.gi-panel { display: none; }
/* 链接卡片 - 独立方框效果 */
.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;
}


#gi-base:checked ~ .gi-panels #panel-base,
/* ===== 分隔线 ===== */
#gi-gear:checked ~ .gi-panels #panel-gear,
.divider {
#gi-skill:checked ~ .gi-panels #panel-skill,
  border: 0;
#gi-event:checked ~ .gi-panels #panel-event,
  border-bottom: 3px solid;
#gi-other:checked ~ .gi-panels #panel-other {
   margin: 20px 0;
   display: block;
}
}

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;
}