打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的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(20, 35, 50, 0.42) !important;
   background: rgba(12, 22, 34, 0.22) !important;
   color: #d8e0e8 !important;
   color: #e0e4ec !important;
}
}


/* 侧边栏 */
/* 侧边栏 */
#mw-panel {
#mw-panel {
   background: rgba(15, 28, 40, 0.48) !important;
   background: rgba(10, 18, 28, 0.28) !important;
   color: #c8d4e0 !important;
   color: #d0d8e4 !important;
}
}


第22行: 第22行:
.mw-body-content p {
.mw-body-content p {
   line-height: 1.85 !important;
   line-height: 1.85 !important;
   color: #d8e0e8 !important;
   color: #e0e4ec !important;
}
}


第28行: 第28行:
.mw-body-content b,
.mw-body-content b,
.mw-body-content strong {
.mw-body-content strong {
   color: #f0f4f8 !important;
   color: #f4f6fa !important;
}
}


第34行: 第34行:


h1, .firstHeading {
h1, .firstHeading {
   color: #f0f6fa !important;
   color: #f4f8fc !important;
   font-weight: 900 !important;
   font-weight: 900 !important;
   text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55) !important;
   text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6) !important;
}
}


h2 {
h2 {
   color: #a0e0ec !important;
   color: #b8e8f4 !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.5) !important;
   text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55) !important;
}
}


第59行: 第59行:


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


h4 {
h4 {
   color: #90d0e0 !important;
   color: #98d8e8 !important;
   font-weight: 700 !important;
   font-weight: 700 !important;
}
}
第72行: 第72行:


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


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


.mw-body-content a:hover {
.mw-body-content a:hover {
   color: #f4cf78 !important;
   color: #f8d480 !important;
   text-decoration: underline !important;
   text-decoration: underline !important;
}
}
第86行: 第86行:
#mw-panel a:link,
#mw-panel a:link,
#mw-panel a:visited {
#mw-panel a:visited {
   color: #a8d0e0 !important;
   color: #b0d4e4 !important;
}
}


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


第96行: 第96行:


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


.toc h2 {
.toc h2 {
   color: #a0e0ec !important;
   color: #b8e8f4 !important;
   font-weight: 700 !important;
   font-weight: 700 !important;
}
}
第110行: 第110行:
.toclevel-1 > .toclink::before {
.toclevel-1 > .toclink::before {
   content: '▸ ';
   content: '▸ ';
   color: #78d8f0;
   color: #80ddf4;
}
}


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


/* ===== 用户原有 CSS 类 — 与海洋主题匹配的适中色调 ===== */
/* ===== 用户原有 CSS 类 — 半透明融入背景 ===== */


.feature-card {
.feature-card {
第128行: 第128行:
}
}
.feature-card-blue {
.feature-card-blue {
   background: rgba(8, 43, 58, 0.75);
   background: rgba(8, 40, 56, 0.68);
   color: #c8eef0;
   color: #c8eef4;
   border-bottom-color: #0a8b94;
   border-bottom-color: #0a8b94;
}
}
.feature-card-green {
.feature-card-green {
   background: rgba(10, 46, 31, 0.75);
   background: rgba(10, 44, 30, 0.68);
   color: #b8e6cc;
   color: #bce8d0;
   border-bottom-color: #1a7a4c;
   border-bottom-color: #1a7a4c;
}
}
.feature-card-orange {
.feature-card-orange {
   background: rgba(46, 31, 8, 0.75);
   background: rgba(44, 30, 8, 0.68);
   color: #f0d9a8;
   color: #f2dcac;
   border-bottom-color: #b8860b;
   border-bottom-color: #b8860b;
}
}
.feature-card-red {
.feature-card-red {
   background: rgba(46, 16, 31, 0.75);
   background: rgba(44, 15, 30, 0.68);
   color: #e8b8d0;
   color: #eab8d2;
   border-bottom-color: #9b3068;
   border-bottom-color: #9b3068;
}
}
第156行: 第156行:
}
}
.hot-card-green {
.hot-card-green {
   background: rgba(10, 46, 31, 0.75);
   background: rgba(10, 44, 30, 0.68);
   color: #b8e6cc;
   color: #bce8d0;
   border-bottom-color: #1a7a4c;
   border-bottom-color: #1a7a4c;
}
}
.hot-card-red {
.hot-card-red {
   background: rgba(46, 16, 31, 0.75);
   background: rgba(44, 15, 30, 0.68);
   color: #e8b8d0;
   color: #eab8d2;
   border-bottom-color: #9b3068;
   border-bottom-color: #9b3068;
}
}
.hot-card-cyan {
.hot-card-cyan {
   background: rgba(8, 43, 58, 0.75);
   background: rgba(8, 40, 56, 0.68);
   color: #c8eef0;
   color: #c8eef4;
   border-bottom-color: #0a8b94;
   border-bottom-color: #0a8b94;
}
}
.hot-card-orange {
.hot-card-orange {
   background: rgba(46, 31, 8, 0.75);
   background: rgba(44, 30, 8, 0.68);
   color: #f0d9a8;
   color: #f2dcac;
   border-bottom-color: #b8860b;
   border-bottom-color: #b8860b;
}
}
第184行: 第184行:
}
}
.stat-card-blue {
.stat-card-blue {
   background: rgba(8, 43, 58, 0.75);
   background: rgba(8, 40, 56, 0.68);
   color: #c8eef0;
   color: #c8eef4;
   border-bottom-color: #0a8b94;
   border-bottom-color: #0a8b94;
}
}
.stat-card-green {
.stat-card-green {
   background: rgba(10, 46, 31, 0.75);
   background: rgba(10, 44, 30, 0.68);
   color: #b8e6cc;
   color: #bce8d0;
   border-bottom-color: #1a7a4c;
   border-bottom-color: #1a7a4c;
}
}

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

/* ===== 全局背景与字体 ===== */
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(12, 22, 34, 0.22) !important;
  color: #e0e4ec !important;
}

/* 侧边栏 */
#mw-panel {
  background: rgba(10, 18, 28, 0.28) !important;
  color: #d0d8e4 !important;
}

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

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

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

h1, .firstHeading {
  color: #f4f8fc !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6) !important;
}

h2 {
  color: #b8e8f4 !important;
  font-weight: 800 !important;
  font-size: 1.65em !important;
  border-bottom: none !important;
  padding-bottom: 6px !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55) !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: #a8e8c0 !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}

h4 {
  color: #98d8e8 !important;
  font-weight: 700 !important;
}

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

.mw-body-content a:link {
  color: #80ddf4 !important;
}

.mw-body-content a:visited {
  color: #70c8e0 !important;
}

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

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

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

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

.toc {
  background: rgba(12, 22, 34, 0.35) !important;
  border: 1px solid rgba(140, 200, 220, 0.25) !important;
  border-radius: 10px !important;
  padding: 14px 18px !important;
  color: #d8e0ec !important;
}

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

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

/* ===== 页脚 ===== */
#footer {
  color: #98a8b8 !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, 40, 56, 0.68);
  color: #c8eef4;
  border-bottom-color: #0a8b94;
}
.feature-card-green {
  background: rgba(10, 44, 30, 0.68);
  color: #bce8d0;
  border-bottom-color: #1a7a4c;
}
.feature-card-orange {
  background: rgba(44, 30, 8, 0.68);
  color: #f2dcac;
  border-bottom-color: #b8860b;
}
.feature-card-red {
  background: rgba(44, 15, 30, 0.68);
  color: #eab8d2;
  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, 44, 30, 0.68);
  color: #bce8d0;
  border-bottom-color: #1a7a4c;
}
.hot-card-red {
  background: rgba(44, 15, 30, 0.68);
  color: #eab8d2;
  border-bottom-color: #9b3068;
}
.hot-card-cyan {
  background: rgba(8, 40, 56, 0.68);
  color: #c8eef4;
  border-bottom-color: #0a8b94;
}
.hot-card-orange {
  background: rgba(44, 30, 8, 0.68);
  color: #f2dcac;
  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, 40, 56, 0.68);
  color: #c8eef4;
  border-bottom-color: #0a8b94;
}
.stat-card-green {
  background: rgba(10, 44, 30, 0.68);
  color: #bce8d0;
  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;
  }
}