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

MediaWiki:Common.css:修订间差异

MediaWiki界面页面
Jzyfate留言 | 贡献
无编辑摘要
Jzyfate留言 | 贡献
无编辑摘要
第492行: 第492行:
*/
*/
body.page-首页 .citizen-sticky-header-container {
body.page-首页 .citizen-sticky-header-container {
  display: none !important;
}
/* Citizen 皮肤会因版本和设置把操作栏渲染为不同节点。
  这些节点只在首页隐藏,避免中间的历史/编辑/讨论栏遮挡背景。 */
body.page-首页 .citizen-page-header,
body.page-首页 .citizen-page-tools,
body.page-首页 .citizen-page-actions,
body.page-首页 #p-cactions,
body.page-首页 .mw-portlet-cactions,
body.page-首页 .vector-page-toolbar {
   display: none !important;
   display: none !important;
}
}
第500行: 第511行:
body.page-首页 #footer-info-lastmod,
body.page-首页 #footer-info-lastmod,
body.page-首页 #footer-info-copyright {
body.page-首页 #footer-info-copyright {
  display: none !important;
}
/* Citizen 的页面信息容器。仅移除自动生成的页面元数据,不影响站点页脚。 */
body.page-首页 #mw-data-after-content,
body.page-首页 .mw-footer-info,
body.page-首页 .citizen-page-footer__info,
body.page-首页 .citizen-page-footer .mw-footer-info {
   display: none !important;
   display: none !important;
}
}

2026年7月18日 (六) 12:26的版本

/* ===== 江中缘 Wiki 全局主题:官网海岛配色版 ===== */
:root {
  /* 官网截图取色 */
  --jzy-sky: #6bc1f0;
  --jzy-sea: #39a6e5;
  --jzy-sand: #fae5bd;
  --jzy-footer: #534646;

  /* Wiki 主题延展色 */
  --jzy-deep: #0b3f55;
  --jzy-deep-2: #11384a;
  --jzy-teal: #28c7c9;
  --jzy-green: #5ab878;
  --jzy-gold: #f4cf78;
  --jzy-rose: #e86f9e;
  --jzy-ink: #f3fbff;
  --jzy-muted: #d5edf5;
  --jzy-border: rgba(178, 235, 246, 0.30);
  --jzy-glass: rgba(14, 71, 92, 0.34);
  --jzy-glass-strong: rgba(10, 55, 74, 0.50);
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  color: var(--jzy-ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(250, 229, 189, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(107, 193, 240, 0.22), rgba(57, 166, 229, 0.18) 42%, rgba(250, 229, 189, 0.08)),
    url("https://wiki.mcjzy.net/images/thumb/4/46/%E6%B2%99%E6%BB%A9%E8%83%8C%E6%99%AF.png/180px-%E6%B2%99%E6%BB%A9%E8%83%8C%E6%99%AF.png") no-repeat fixed center center / cover,
    var(--jzy-sky);
  font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
}

/* ===== MediaWiki 默认区域:透明化,避免切割背景 ===== */
#mw-page-base,
.mw-body-content,
.mw-parser-output {
  background: transparent !important;
}

.mw-body {
  background:
    linear-gradient(135deg, rgba(13, 81, 105, 0.28), rgba(11, 63, 85, 0.20)) !important;
  color: var(--jzy-ink) !important;
  border: 1px solid rgba(178, 235, 246, 0.26) !important;
  border-radius: 18px !important;
  box-shadow:
    0 16px 32px rgba(22, 77, 98, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: blur(3px) saturate(116%);
  -webkit-backdrop-filter: blur(3px) saturate(116%);
}

.mw-body-content p,
.mw-parser-output li {
  line-height: 1.88 !important;
  color: var(--jzy-ink) !important;
  text-shadow: 0 1px 3px rgba(21, 49, 64, 0.62);
}

.mw-body-content b,
.mw-body-content strong {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(21, 49, 64, 0.68);
}

/* ===== 顶部与侧边栏 ===== */
#mw-head,
#mw-header,
#mw-navigation,
#p-personal,
.mw-header,
.vector-header-container,
.vector-sticky-header,
.citizen-header,
#citizen-header,
.citizen-sticky-header,
.citizen-page-header,
.citizen-header__inner,
.citizen-header__start,
.citizen-header__end {
  background:
    linear-gradient(180deg, rgba(107, 193, 240, 0.92), rgba(57, 166, 229, 0.86)) !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(250, 229, 189, 0.38) !important;
  box-shadow: 0 8px 20px rgba(22, 77, 98, 0.18) !important;
  backdrop-filter: blur(5px) saturate(115%);
  -webkit-backdrop-filter: blur(5px) saturate(115%);
}

#mw-head a,
#mw-header a,
#mw-navigation a,
#p-personal a,
.mw-header a,
.vector-header-container a,
.vector-sticky-header a,
.citizen-header a,
#citizen-header a,
.citizen-sticky-header a,
.citizen-page-header a {
  color: #ffffff !important;
}

#mw-head button,
#mw-header button,
#mw-navigation button,
.mw-header button,
.vector-header-container button,
.vector-sticky-header button,
.citizen-header button,
#citizen-header button,
.citizen-sticky-header button,
.citizen-page-header button {
  color: #ffffff !important;
}

.citizen-header .oo-ui-iconElement-icon,
#citizen-header .oo-ui-iconElement-icon,
.mw-header .oo-ui-iconElement-icon,
.vector-header-container .oo-ui-iconElement-icon {
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.20));
}

#mw-panel {
  background: rgba(14, 84, 112, 0.24) !important;
  color: var(--jzy-muted) !important;
  border-right: 1px solid rgba(178, 235, 246, 0.16);
}

#mw-panel .portal,
#mw-panel nav {
  background: rgba(9, 68, 94, 0.24);
  border: 1px solid rgba(178, 235, 246, 0.16);
  border-radius: 12px;
  margin: 8px 8px 12px;
  padding: 8px 10px;
}

/* ===== 标题层级 ===== */
h1,
.firstHeading {
  color: #ffffff !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-shadow:
    0 3px 12px rgba(13, 54, 70, 0.78),
    0 0 22px rgba(107, 193, 240, 0.24) !important;
}

h2 {
  color: #d9fbff !important;
  font-weight: 850 !important;
  font-size: 1.65em !important;
  border-bottom: none !important;
  padding-bottom: 6px !important;
  margin-top: 1.45em !important;
  text-shadow:
    0 2px 7px rgba(13, 54, 70, 0.72),
    0 0 14px rgba(107, 193, 240, 0.24) !important;
}

h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--jzy-sky), var(--jzy-teal), var(--jzy-sand));
  box-shadow: 0 0 14px rgba(107, 193, 240, 0.32);
}

h3 {
  color: #d6ffe7 !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 6px rgba(13, 54, 70, 0.66) !important;
}

h4 {
  color: #e9fbff !important;
  font-weight: 750 !important;
  text-shadow: 0 1px 4px rgba(13, 54, 70, 0.58) !important;
}

/* ===== 链接 ===== */
.mw-body-content a:link,
.mw-parser-output a:link {
  color: #d8fbff !important;
  text-shadow: 0 1px 3px rgba(13, 54, 70, 0.55);
}

.mw-body-content a:visited,
.mw-parser-output a:visited {
  color: #bfeff9 !important;
}

.mw-body-content a:hover,
.mw-parser-output a:hover {
  color: var(--jzy-sand) !important;
  text-decoration: none !important;
  text-shadow: 0 0 11px rgba(250, 229, 189, 0.52);
}

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

#mw-panel a:hover {
  color: var(--jzy-sand) !important;
}

/* ===== 目录 ===== */
.toc {
  background: rgba(10, 63, 85, 0.38) !important;
  border: 1px solid rgba(178, 235, 246, 0.28) !important;
  border-radius: 14px !important;
  padding: 14px 18px !important;
  color: var(--jzy-ink) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 22px rgba(21, 72, 96, 0.18);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.toc h2 {
  color: #e6fbff !important;
  font-weight: 800 !important;
}

.toclevel-1 > .toclink::before {
  content: "▸ ";
  color: var(--jzy-sand);
}

/* ===== 表格与代码块 ===== */
.wikitable {
  background: rgba(10, 63, 85, 0.30) !important;
  color: var(--jzy-ink) !important;
  border: 1px solid rgba(178, 235, 246, 0.22) !important;
  border-radius: 12px;
  overflow: hidden;
}

.wikitable > tr > th,
.wikitable > * > tr > th {
  background: rgba(15, 101, 132, 0.54) !important;
  color: #ffffff !important;
}

.wikitable > tr > td,
.wikitable > * > tr > td {
  border-color: rgba(178, 235, 246, 0.16) !important;
}

pre,
code {
  background: rgba(9, 45, 62, 0.58) !important;
  color: #ebfbff !important;
  border: 1px solid rgba(178, 235, 246, 0.25) !important;
  border-radius: 8px;
}

/* ===== 通用玻璃卡片 ===== */
.feature-card,
.hot-card,
.stat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 10px 22px rgba(21, 72, 96, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.feature-card::before,
.hot-card::before,
.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 48%);
  pointer-events: none;
}

.feature-card {
  padding: 18px 14px;
  border-radius: 14px;
  text-align: center;
  font-weight: bold;
  border-bottom: 3px solid;
}

.hot-card {
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  border-bottom: 3px solid;
}

.stat-card {
  padding: 20px 16px;
  border-radius: 14px;
  text-align: center;
  font-weight: 800;
  border-bottom: 3px solid;
}

.feature-card-blue,
.hot-card-cyan,
.stat-card-blue {
  background: rgba(57, 166, 229, 0.34);
  color: #effcff;
  border-bottom-color: var(--jzy-sky);
}

.feature-card-green,
.hot-card-green,
.stat-card-green {
  background: rgba(90, 184, 120, 0.34);
  color: #eefff4;
  border-bottom-color: #76d79a;
}

.feature-card-orange,
.hot-card-orange {
  background: rgba(250, 229, 189, 0.26);
  color: #fff5da;
  border-bottom-color: var(--jzy-sand);
}

.feature-card-red,
.hot-card-red {
  background: rgba(232, 111, 158, 0.30);
  color: #ffe6f0;
  border-bottom-color: var(--jzy-rose);
}

.divider {
  border: 0;
  height: 3px;
  margin: 24px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--jzy-sky), var(--jzy-teal), var(--jzy-sand));
  opacity: 0.96;
}

/* ===== 游戏资讯模块:官网海岛色系 ===== */
.jzy-game-info {
  background:
    radial-gradient(circle at 12% 8%, rgba(250, 229, 189, 0.18), transparent 30%),
    radial-gradient(circle at 86% 16%, rgba(107, 193, 240, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(11, 63, 85, 0.46), rgba(57, 166, 229, 0.24) 46%, rgba(90, 184, 120, 0.26)) !important;
  border: 1px solid rgba(178, 235, 246, 0.30) !important;
  border-radius: 18px !important;
  box-shadow:
    0 12px 26px rgba(21, 72, 96, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(3px) saturate(116%);
  -webkit-backdrop-filter: blur(3px) saturate(116%);
}

.jzy-tabs {
  background: rgba(9, 66, 91, 0.38) !important;
  border: 1px solid rgba(178, 235, 246, 0.28) !important;
}

.jzy-tab {
  color: #d8f6ff !important;
}

.jzy-tab:hover {
  color: var(--jzy-sand) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.jzy-tab.is-active {
  background: linear-gradient(180deg, rgba(107, 193, 240, 0.30), rgba(250, 229, 189, 0.16)) !important;
  color: #ffffff !important;
  box-shadow: inset 0 -3px 0 var(--jzy-sand) !important;
}

.jzy-heading {
  background: rgba(9, 45, 62, 0.30) !important;
  border-color: rgba(178, 235, 246, 0.28) !important;
  color: #ffffff !important;
}

.jzy-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(10, 63, 85, 0.36)) !important;
  border: 1px solid rgba(178, 235, 246, 0.24) !important;
  box-shadow:
    0 7px 0 rgba(9, 66, 91, 0.46),
    0 12px 20px rgba(21, 72, 96, 0.18) !important;
}

.jzy-card:hover {
  background:
    linear-gradient(145deg, rgba(250, 229, 189, 0.18), rgba(57, 166, 229, 0.24)) !important;
  border-color: rgba(250, 229, 189, 0.64) !important;
  color: var(--jzy-sand) !important;
}

.jzy-fallback {
  background: linear-gradient(145deg, var(--jzy-sky), var(--jzy-teal)) !important;
  color: #073647 !important;
}

/* ===== 页脚:对齐官网深棕色 #534646 ===== */
#footer,
.mw-footer,
.mw-page-container-footer,
.page-footer,
footer,
.citizen-footer,
#citizen-footer,
.citizen-footer__container,
.citizen-footer__content,
.citizen-footer__siteinfo,
.citizen-footer__places,
.citizen-footer__bottom {
  background: #534646 !important;
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.46);
  border-top: 1px solid rgba(250, 229, 189, 0.32) !important;
  box-shadow: 0 -10px 24px rgba(83, 70, 70, 0.22) !important;
}

#footer *,
.mw-footer *,
.mw-page-container-footer *,
.page-footer *,
footer *,
.citizen-footer *,
#citizen-footer * {
  color: #ffffff !important;
}

#footer a,
.mw-footer a,
.mw-page-container-footer a,
.page-footer a,
footer a,
.citizen-footer a,
#citizen-footer a {
  color: #ffffff !important;
  text-decoration-color: rgba(250, 229, 189, 0.62) !important;
}

#footer a:hover,
.mw-footer a:hover,
.mw-page-container-footer a:hover,
.page-footer a:hover,
footer a:hover,
.citizen-footer a:hover,
#citizen-footer a:hover {
  color: var(--jzy-sand) !important;
}

/* ===== 移动端适配 ===== */
@media (max-width: 560px) {
  .mw-body {
    background: rgba(13, 81, 105, 0.34) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(3px) saturate(112%);
    -webkit-backdrop-filter: blur(3px) saturate(112%);
  }

  h2 {
    font-size: 1.35em !important;
  }

  h2::after {
    height: 2px;
    margin-top: 6px;
  }
}

/* ===== 首页专用修复:Citizen 悬浮操作栏 =====
   Citizen 会把此容器放在 .citizen-page-container 之后,并以悬浮方式显示。
   在首页隐藏它,避免“查看历史 / 编辑 / 讨论”横栏切断海岛背景。
*/
body.page-首页 .citizen-sticky-header-container {
  display: none !important;
}

/* Citizen 皮肤会因版本和设置把操作栏渲染为不同节点。
   这些节点只在首页隐藏,避免中间的历史/编辑/讨论栏遮挡背景。 */
body.page-首页 .citizen-page-header,
body.page-首页 .citizen-page-tools,
body.page-首页 .citizen-page-actions,
body.page-首页 #p-cactions,
body.page-首页 .mw-portlet-cactions,
body.page-首页 .vector-page-toolbar {
  display: none !important;
}

/* 首页不显示 MediaWiki 自动附加的最后修改时间与版权说明。
   Citizen 自己的深棕色网站页脚仍会保留。 */
body.page-首页 #footer-info,
body.page-首页 #footer-info-lastmod,
body.page-首页 #footer-info-copyright {
  display: none !important;
}

/* Citizen 的页面信息容器。仅移除自动生成的页面元数据,不影响站点页脚。 */
body.page-首页 #mw-data-after-content,
body.page-首页 .mw-footer-info,
body.page-首页 .citizen-page-footer__info,
body.page-首页 .citizen-page-footer .mw-footer-info {
  display: none !important;
}