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

MediaWiki:Common.css:修订间差异

MediaWiki界面页面
Jzyfate留言 | 贡献
无编辑摘要
Jzyfate留言 | 贡献
无编辑摘要
第5行: 第5行:
}
}


/* ===== 内容区遮罩 深色半透明,让背景图透出 ===== */
/* ===== 内容区 轻透玻璃质感,让背景图自然透出 ===== */
#mw-page-base,
#mw-page-base,
.mw-body,
.mw-body,
.mw-body-content {
.mw-body-content {
   background: rgba(10, 25, 40, 0.78) !important;
   background: rgba(20, 35, 50, 0.42) !important;
   color: #d8e0e8 !important;
   color: #d8e0e8 !important;
}
}
第15行: 第15行:
/* 侧边栏 */
/* 侧边栏 */
#mw-panel {
#mw-panel {
   background: rgba(6, 18, 30, 0.82) !important;
   background: rgba(15, 28, 40, 0.48) !important;
   color: #c0ccd8 !important;
   color: #c8d4e0 !important;
}
}


第25行: 第25行:
}
}


/* 粗体文字提亮 */
/* 粗体文字 */
.mw-body-content b,
.mw-body-content b,
.mw-body-content strong {
.mw-body-content strong {
第33行: 第33行:
/* ===== 标题层级 ===== */
/* ===== 标题层级 ===== */


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


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


第57行: 第55行:
   margin-top: 10px;
   margin-top: 10px;
   border-radius: 2px;
   border-radius: 2px;
   background: linear-gradient(90deg, #0a8b94, #1a7a4c, #b8860b);
   background: linear-gradient(90deg, #6ec8d8, #5ab878, #d4a848);
}
}


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


h4 {
h4 {
   color: #80c8d8 !important;
   color: #90d0e0 !important;
   font-weight: 700 !important;
   font-weight: 700 !important;
}
}
第74行: 第72行:


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


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


第86行: 第84行:
}
}


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


第99行: 第96行:


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


.toc h2 {
.toc h2 {
   color: #8ad8e8 !important;
   color: #a0e0ec !important;
   font-weight: 700 !important;
   font-weight: 700 !important;
}
}
第113行: 第110行:
.toclevel-1 > .toclink::before {
.toclevel-1 > .toclink::before {
   content: '▸ ';
   content: '▸ ';
   color: #6ad0e8;
   color: #78d8f0;
}
}


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


/* ===== 用户原有 CSS 类(调整为深色兼容) ===== */
/* ===== 用户原有 CSS 类 — 与海洋主题匹配的适中色调 ===== */


.feature-card {
.feature-card {
第131行: 第128行:
}
}
.feature-card-blue {
.feature-card-blue {
   background: #082b3a;
   background: rgba(8, 43, 58, 0.75);
   color: #c8eef0;
   color: #c8eef0;
   border-bottom-color: #0a8b94;
   border-bottom-color: #0a8b94;
}
}
.feature-card-green {
.feature-card-green {
   background: #0a2e1f;
   background: rgba(10, 46, 31, 0.75);
   color: #b8e6cc;
   color: #b8e6cc;
   border-bottom-color: #1a7a4c;
   border-bottom-color: #1a7a4c;
}
}
.feature-card-orange {
.feature-card-orange {
   background: #2e1f08;
   background: rgba(46, 31, 8, 0.75);
   color: #f0d9a8;
   color: #f0d9a8;
   border-bottom-color: #b8860b;
   border-bottom-color: #b8860b;
}
}
.feature-card-red {
.feature-card-red {
   background: #2e101f;
   background: rgba(46, 16, 31, 0.75);
   color: #e8b8d0;
   color: #e8b8d0;
   border-bottom-color: #9b3068;
   border-bottom-color: #9b3068;
第159行: 第156行:
}
}
.hot-card-green {
.hot-card-green {
   background: #0a2e1f;
   background: rgba(10, 46, 31, 0.75);
   color: #b8e6cc;
   color: #b8e6cc;
   border-bottom-color: #1a7a4c;
   border-bottom-color: #1a7a4c;
}
}
.hot-card-red {
.hot-card-red {
   background: #2e101f;
   background: rgba(46, 16, 31, 0.75);
   color: #e8b8d0;
   color: #e8b8d0;
   border-bottom-color: #9b3068;
   border-bottom-color: #9b3068;
}
}
.hot-card-cyan {
.hot-card-cyan {
   background: #082b3a;
   background: rgba(8, 43, 58, 0.75);
   color: #c8eef0;
   color: #c8eef0;
   border-bottom-color: #0a8b94;
   border-bottom-color: #0a8b94;
}
}
.hot-card-orange {
.hot-card-orange {
   background: #2e1f08;
   background: rgba(46, 31, 8, 0.75);
   color: #f0d9a8;
   color: #f0d9a8;
   border-bottom-color: #b8860b;
   border-bottom-color: #b8860b;
第187行: 第184行:
}
}
.stat-card-blue {
.stat-card-blue {
   background: #082b3a;
   background: rgba(8, 43, 58, 0.75);
   color: #c8eef0;
   color: #c8eef0;
   border-bottom-color: #0a8b94;
   border-bottom-color: #0a8b94;
}
}
.stat-card-green {
.stat-card-green {
   background: #0a2e1f;
   background: rgba(10, 46, 31, 0.75);
   color: #b8e6cc;
   color: #b8e6cc;
   border-bottom-color: #1a7a4c;
   border-bottom-color: #1a7a4c;

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

/* ===== 全局背景与字体 ===== */
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(20, 35, 50, 0.42) !important;
  color: #d8e0e8 !important;
}

/* 侧边栏 */
#mw-panel {
  background: rgba(15, 28, 40, 0.48) !important;
  color: #c8d4e0 !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, .firstHeading {
  color: #f0f6fa !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55) !important;
}

h2 {
  color: #a0e0ec !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.5) !important;
}

h2::after {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: linear-gradient(90deg, #6ec8d8, #5ab878, #d4a848);
}

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

h4 {
  color: #90d0e0 !important;
  font-weight: 700 !important;
}

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

.mw-body-content a:link {
  color: #78d8f0 !important;
}

.mw-body-content a:visited {
  color: #68c0d8 !important;
}

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

#mw-panel a:link,
#mw-panel a:visited {
  color: #a8d0e0 !important;
}

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

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

.toc {
  background: rgba(20, 35, 50, 0.5) !important;
  border: 1px solid rgba(120, 180, 200, 0.25) !important;
  border-radius: 10px !important;
  padding: 14px 18px !important;
  color: #d0dce8 !important;
}

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

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

/* ===== 页脚 ===== */
#footer {
  color: #90a0b0 !important;
}

/* ===== 用户原有 CSS 类 — 与海洋主题匹配的适中色调 ===== */

.feature-card {
  padding: 18px 14px;
  border-radius: 12px;
  text-align: center;
  font-weight: bold;
  border-bottom: 3px solid;
}
.feature-card-blue {
  background: rgba(8, 43, 58, 0.75);
  color: #c8eef0;
  border-bottom-color: #0a8b94;
}
.feature-card-green {
  background: rgba(10, 46, 31, 0.75);
  color: #b8e6cc;
  border-bottom-color: #1a7a4c;
}
.feature-card-orange {
  background: rgba(46, 31, 8, 0.75);
  color: #f0d9a8;
  border-bottom-color: #b8860b;
}
.feature-card-red {
  background: rgba(46, 16, 31, 0.75);
  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: rgba(10, 46, 31, 0.75);
  color: #b8e6cc;
  border-bottom-color: #1a7a4c;
}
.hot-card-red {
  background: rgba(46, 16, 31, 0.75);
  color: #e8b8d0;
  border-bottom-color: #9b3068;
}
.hot-card-cyan {
  background: rgba(8, 43, 58, 0.75);
  color: #c8eef0;
  border-bottom-color: #0a8b94;
}
.hot-card-orange {
  background: rgba(46, 31, 8, 0.75);
  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: rgba(8, 43, 58, 0.75);
  color: #c8eef0;
  border-bottom-color: #0a8b94;
}
.stat-card-green {
  background: rgba(10, 46, 31, 0.75);
  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;
  }
}