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

MediaWiki:Common.css:修订间差异

MediaWiki界面页面
Jzyfate留言 | 贡献
无编辑摘要
Jzyfate留言 | 贡献
无编辑摘要
第1行: 第1行:
/* ===== 全局 ===== */
/* ===== 全局背景与字体 ===== */
  body {
body {
    color: #1a1a1a;
  color: #e0e0e0;
    background: url("/images/1/18/%E4%B8%BB%E9%A1%B5%E8%83%8C%E6%99%AF1980.png") no-repeat fixed center center / cover;
  background: url("/images/1/18/%E4%B8%BB%E9%A1%B5%E8%83%8C%E6%99%AF1980.png") no-repeat fixed center center / cover;
   }
}
 
/* ===== 内容区遮罩 — 深色半透明,让背景图透出 ===== */
#mw-page-base,
.mw-body,
.mw-body-content {
  background: rgba(10, 25, 40, 0.78) !important;
  color: #d8e0e8 !important;
}
 
/* 侧边栏 */
#mw-panel {
  background: rgba(6, 18, 30, 0.82) !important;
  color: #c0ccd8 !important;
}
 
/* 正文段落 */
.mw-body-content p {
  line-height: 1.85 !important;
  color: #d8e0e8 !important;
}
 
/* 粗体文字提亮 */
.mw-body-content b,
.mw-body-content strong {
  color: #f0f4f8 !important;
}
 
/* ===== 标题层级 ===== */
 
/* H1 页面主标题 */
h1,
.firstHeading {
  color: #f0f4f8 !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6) !important;
}
 
h2 {
  color: #8ad8e8 !important;
  font-weight: 800 !important;
  font-size: 1.65em !important;
  border-bottom: none !important;
  padding-bottom: 6px !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}
 
h2::after {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0a8b94, #1a7a4c, #b8860b);
}
 
h3 {
  color: #90d8a0 !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}
 
h4 {
  color: #80c8d8 !important;
  font-weight: 700 !important;
}
 
/* ===== 链接颜色 ===== */
 
.mw-body-content a:link {
  color: #6ad0e8 !important;
}
 
.mw-body-content a:visited {
  color: #5ab8d0 !important;
}
 
.mw-body-content a:hover {
  color: #f4cf78 !important;
  text-decoration: underline !important;
}
 
/* 侧边栏链接 */
#mw-panel a:link,
#mw-panel a:visited {
  color: #a0c8d8 !important;
}
 
#mw-panel a:hover {
  color: #f4cf78 !important;
}
 
/* ===== TOC 目录 ===== */
 
.toc {
  background: rgba(10, 30, 50, 0.7) !important;
  border: 1px solid rgba(100, 160, 180, 0.25) !important;
  border-radius: 10px !important;
  padding: 14px 18px !important;
  color: #c8d8e0 !important;
}
 
.toc h2 {
  color: #8ad8e8 !important;
  font-weight: 700 !important;
}
 
.toclevel-1 > .toclink::before {
  content: '▸ ';
  color: #6ad0e8;
}
 
/* ===== 页脚 ===== */
#footer {
  color: #8898a8 !important;
}
 
/* ===== 用户原有 CSS 类(调整为深色兼容) ===== */
 
.feature-card {
  padding: 18px 14px;
  border-radius: 12px;
  text-align: center;
  font-weight: bold;
  border-bottom: 3px solid;
}
.feature-card-blue {
  background: #082b3a;
  color: #c8eef0;
  border-bottom-color: #0a8b94;
}
.feature-card-green {
  background: #0a2e1f;
  color: #b8e6cc;
  border-bottom-color: #1a7a4c;
}
.feature-card-orange {
  background: #2e1f08;
   color: #f0d9a8;
  border-bottom-color: #b8860b;
}
.feature-card-red {
  background: #2e101f;
  color: #e8b8d0;
  border-bottom-color: #9b3068;
}


   /* ===== 内容区遮罩 ===== */
.hot-card {
   #mw-page-base {
  padding: 14px 16px;
    background: rgba(255, 255, 255, 0.88) !important;
  border-radius: 8px;
   }
  font-weight: 600;
  text-align: center;
  border-bottom: 3px solid;
}
.hot-card-green {
  background: #0a2e1f;
  color: #b8e6cc;
  border-bottom-color: #1a7a4c;
}
.hot-card-red {
  background: #2e101f;
   color: #e8b8d0;
   border-bottom-color: #9b3068;
}
.hot-card-cyan {
  background: #082b3a;
  color: #c8eef0;
  border-bottom-color: #0a8b94;
}
.hot-card-orange {
  background: #2e1f08;
   color: #f0d9a8;
  border-bottom-color: #b8860b;
}


  /* ===== 关于江中缘 - 特色卡片 ===== */
.stat-card {
  .feature-card {
  padding: 20px 16px;
    padding: 18px 14px;
  border-radius: 12px;
    border-radius: 12px;
  text-align: center;
    text-align: center;
  font-weight: 700;
    font-weight: bold;
  border-bottom: 3px solid;
    border-bottom: 3px solid;
}
  }
.stat-card-blue {
  .feature-card-blue {
  background: #082b3a;
    background: #e3f2fd;
  color: #c8eef0;
    color: #0d47a1;
  border-bottom-color: #0a8b94;
    border-bottom-color: #1976d2;
}
  }
.stat-card-green {
  .feature-card-green {
  background: #0a2e1f;
    background: #e8f5e9;
   color: #b8e6cc;
    color: #1b5e20;
   border-bottom-color: #1a7a4c;
    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;
  }


  /* ===== 热门页面卡片 ===== */
.divider {
  .hot-card {
  border: 0;
    padding: 14px 16px;
  border-bottom: 3px solid;
    border-radius: 8px;
   margin: 20px 0;
    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 {
@media (max-width: 560px) {
    padding: 20px 16px;
   h2 {
    border-radius: 12px;
     font-size: 1.35em !important;
    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;
   }
   }
 
   h2::after {
   /* ===== 分隔线 ===== */
     height: 2px;
  .divider {
     margin-top: 6px;
     border: 0;
     border-bottom: 3px solid;
    margin: 20px 0;
   }
   }
}

2026年7月17日 (五) 05:28的版本

/* ===== 全局背景与字体 ===== */
body {
  color: #e0e0e0;
  background: url("/images/1/18/%E4%B8%BB%E9%A1%B5%E8%83%8C%E6%99%AF1980.png") no-repeat fixed center center / cover;
}

/* ===== 内容区遮罩 — 深色半透明,让背景图透出 ===== */
#mw-page-base,
.mw-body,
.mw-body-content {
  background: rgba(10, 25, 40, 0.78) !important;
  color: #d8e0e8 !important;
}

/* 侧边栏 */
#mw-panel {
  background: rgba(6, 18, 30, 0.82) !important;
  color: #c0ccd8 !important;
}

/* 正文段落 */
.mw-body-content p {
  line-height: 1.85 !important;
  color: #d8e0e8 !important;
}

/* 粗体文字提亮 */
.mw-body-content b,
.mw-body-content strong {
  color: #f0f4f8 !important;
}

/* ===== 标题层级 ===== */

/* H1 页面主标题 */
h1,
.firstHeading {
  color: #f0f4f8 !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6) !important;
}

h2 {
  color: #8ad8e8 !important;
  font-weight: 800 !important;
  font-size: 1.65em !important;
  border-bottom: none !important;
  padding-bottom: 6px !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

h2::after {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0a8b94, #1a7a4c, #b8860b);
}

h3 {
  color: #90d8a0 !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

h4 {
  color: #80c8d8 !important;
  font-weight: 700 !important;
}

/* ===== 链接颜色 ===== */

.mw-body-content a:link {
  color: #6ad0e8 !important;
}

.mw-body-content a:visited {
  color: #5ab8d0 !important;
}

.mw-body-content a:hover {
  color: #f4cf78 !important;
  text-decoration: underline !important;
}

/* 侧边栏链接 */
#mw-panel a:link,
#mw-panel a:visited {
  color: #a0c8d8 !important;
}

#mw-panel a:hover {
  color: #f4cf78 !important;
}

/* ===== TOC 目录 ===== */

.toc {
  background: rgba(10, 30, 50, 0.7) !important;
  border: 1px solid rgba(100, 160, 180, 0.25) !important;
  border-radius: 10px !important;
  padding: 14px 18px !important;
  color: #c8d8e0 !important;
}

.toc h2 {
  color: #8ad8e8 !important;
  font-weight: 700 !important;
}

.toclevel-1 > .toclink::before {
  content: '▸ ';
  color: #6ad0e8;
}

/* ===== 页脚 ===== */
#footer {
  color: #8898a8 !important;
}

/* ===== 用户原有 CSS 类(调整为深色兼容) ===== */

.feature-card {
  padding: 18px 14px;
  border-radius: 12px;
  text-align: center;
  font-weight: bold;
  border-bottom: 3px solid;
}
.feature-card-blue {
  background: #082b3a;
  color: #c8eef0;
  border-bottom-color: #0a8b94;
}
.feature-card-green {
  background: #0a2e1f;
  color: #b8e6cc;
  border-bottom-color: #1a7a4c;
}
.feature-card-orange {
  background: #2e1f08;
  color: #f0d9a8;
  border-bottom-color: #b8860b;
}
.feature-card-red {
  background: #2e101f;
  color: #e8b8d0;
  border-bottom-color: #9b3068;
}

.hot-card {
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  border-bottom: 3px solid;
}
.hot-card-green {
  background: #0a2e1f;
  color: #b8e6cc;
  border-bottom-color: #1a7a4c;
}
.hot-card-red {
  background: #2e101f;
  color: #e8b8d0;
  border-bottom-color: #9b3068;
}
.hot-card-cyan {
  background: #082b3a;
  color: #c8eef0;
  border-bottom-color: #0a8b94;
}
.hot-card-orange {
  background: #2e1f08;
  color: #f0d9a8;
  border-bottom-color: #b8860b;
}

.stat-card {
  padding: 20px 16px;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  border-bottom: 3px solid;
}
.stat-card-blue {
  background: #082b3a;
  color: #c8eef0;
  border-bottom-color: #0a8b94;
}
.stat-card-green {
  background: #0a2e1f;
  color: #b8e6cc;
  border-bottom-color: #1a7a4c;
}

.divider {
  border: 0;
  border-bottom: 3px solid;
  margin: 20px 0;
}

/* ===== 移动端适配 ===== */
@media (max-width: 560px) {
  h2 {
    font-size: 1.35em !important;
  }
  h2::after {
    height: 2px;
    margin-top: 6px;
  }
}