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

MediaWiki:Common.css:修订间差异

MediaWiki界面页面
Jzyfate留言 | 贡献
无编辑摘要
Jzyfate留言 | 贡献
无编辑摘要
第1行: 第1行:
body.page-首页 #firstHeading,
/* ===== 江中缘 Wiki 全局样式 ===== */
body.page-首页 .mw-indicators,
body.page-首页 .mw-content-subtitle,
body.page-首页 .mw-editsection { display: none; }


body.page-首页 .mw-body-content { margin-top: 0; }
/* --- 基础样式 --- */
body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background: #f0f2f5;
    color: #333;
}


.jzy-home {
/* --- 链接样式 --- */
  --jzy-ink: #173a31;
a {
  --jzy-body: #536861;
    color: #1976d2;
  --jzy-muted: #74867f;
    text-decoration: none;
  --jzy-line: #d8e4de;
  --jzy-soft: #f3f8f5;
  --jzy-jade: #176d59;
  --jzy-jade-dark: #105142;
  --jzy-gold: #d2a23d;
  max-width: 1260px;
  margin: 0 auto;
  color: var(--jzy-body);
  font-size: 16px;
  line-height: 1.6;
}
}


.jzy-home *, .jzy-home *::before, .jzy-home *::after { box-sizing: border-box; }
a:hover {
.jzy-home a { text-decoration: none; }
    color: #0d47a1;
.jzy-home h1, .jzy-home h2, .jzy-home h3, .jzy-home p { margin-top: 0; }
    text-decoration: underline;
}


.jzy-home__topbar {
/* --- 标题样式 --- */
  display: flex;
#mw-content-wrapper h1,
  align-items: center;
#mw-content-wrapper h2,
  justify-content: space-between;
#mw-content-wrapper h3,
  gap: 18px;
#mw-content-wrapper h4 {
  min-height: 42px;
    color: #1a237e;
  color: #64756f;
    border-bottom: 3px solid #1976d2;
  font-size: .82rem;
    padding-bottom: 10px;
  border-bottom: 1px solid var(--jzy-line);
}
}


.jzy-home__topbar span { margin: 0 7px; color: #aab9b3; }
#mw-content-wrapper h2::after {
.jzy-home__topbar a { color: #416e61; }
    content: "";
.jzy-home__topbar a:hover, .jzy-section__head > a:hover { color: var(--jzy-jade); text-decoration: underline; }
    display: block;
    width: 60px;
    height: 3px;
    background: #ff9800;
    margin-top: 3px;
}


.jzy-hero {
#mw-content-wrapper h3 {
  display: grid;
    border-bottom: 2px dashed #e0e0e0;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .84fr);
    padding-bottom: 8px;
  gap: 56px;
  align-items: center;
  min-height: 468px;
  padding: 62px 56px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #477e70;
  border-top: 0;
  background: #267b98;
  position: relative;
}
}


.jzy-hero::before { position: absolute; z-index: -1; inset: 0; background: rgb(12 45 37 / 48%); content: ""; }
/* --- 内容区域 --- */
.jzy-hero__scene { position: absolute; z-index: -2; inset: 0; margin: 0; }
#mw-content {
.jzy-hero__scene a, .jzy-hero__scene .jzy-hero__image { display: block; width: 100%; height: 100%; max-width: none; margin: 0; }
    background: white;
.jzy-hero__scene .jzy-hero__image { object-fit: cover; object-position: center; }
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}


.jzy-brandline, .jzy-label { color: #4c7669; font-size: .74rem; font-weight: 750; letter-spacing: .12em; line-height: 1.4; }
/* --- 表格样式 --- */
.jzy-hero .jzy-brandline { display: flex; align-items: center; gap: 10px; color: #d8eee6; }
.wikitable {
.jzy-brandline__bar { display: inline-block; width: 27px; height: 2px; background: #f0c969; }
    border-collapse: collapse;
.jzy-hero h1 { margin: 12px 0 15px; color: #fff; font-size: 3.45rem; font-weight: 760; line-height: 1.08; text-shadow: 0 2px 12px rgb(0 0 0 / 30%); }
    width: 100%;
.jzy-hero p { max-width: 660px; margin-bottom: 0; color: #f1f8f5; font-size: 1.06rem; line-height: 1.85; text-shadow: 0 1px 7px rgb(0 0 0 / 26%); }
}
.jzy-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }


.jzy-button {
.wikitable th {
  display: inline-flex;
    background: linear-gradient(135deg, #1565c0, #1976d2);
  align-items: center;
    color: white;
  justify-content: center;
    padding: 14px 18px;
  min-height: 40px;
  padding: 8px 16px;
  color: #f5fbf8;
  font-size: .91rem;
  font-weight: 700;
  border: 1px solid rgb(235 249 242 / 78%);
  border-radius: 4px;
  background: rgb(12 52 42 / 64%);
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
}


.jzy-button:hover { color: #fff; border-color: #fff; background: rgb(12 52 42 / 84%); transform: translateY(-1px); }
.wikitable td {
.jzy-button b { padding-left: 8px; font-size: 1rem; }
    padding: 12px 18px;
.jzy-button--primary { color: #183d33; border-color: #f0c86b; background: #f0c86b; }
    border-bottom: 1px solid #eee;
.jzy-button--primary:hover { color: #183d33; border-color: #ffda88; background: #ffda88; }
}


.jzy-server-card { overflow: hidden; border: 1px solid rgb(228 247 239 / 62%); border-radius: 5px; background: rgb(10 44 36 / 82%); box-shadow: 0 8px 24px rgb(0 0 0 / 20%); }
.wikitable tr:hover td {
.jzy-server-card__head { padding: 15px 20px; color: #e9f6f0; font-size: .84rem; font-weight: 750; letter-spacing: .06em; border-bottom: 1px solid rgb(230 248 239 / 22%); }
    background: #f5f7fa;
.jzy-pulse { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #efc85d; }
}
.jzy-server-card__address { display: flex; flex-direction: column; gap: 5px; padding: 18px 20px 16px; border-bottom: 1px solid rgb(230 248 239 / 18%); }
.jzy-server-card__address span, .jzy-server-card__meta span, .jzy-server-card__bottom { color: #bdd5cb; font-size: .77rem; font-weight: 650; }
.jzy-server-card__address code { color: #fff; font-family: inherit; font-size: 1.02rem; font-weight: 750; overflow-wrap: anywhere; }
.jzy-server-card__meta { display: grid; grid-template-columns: 1fr 1fr; }
.jzy-server-card__meta div { display: flex; flex-direction: column; gap: 5px; padding: 14px 20px; }
.jzy-server-card__meta div + div { border-left: 1px solid rgb(230 248 239 / 18%); }
.jzy-server-card__meta strong { color: #fff; font-size: .9rem; }
.jzy-server-card__bottom { padding: 12px 20px; border-top: 1px solid rgb(230 248 239 / 18%); }
.jzy-server-card__bottom a { color: #e6c56e; font-weight: 700; }


.jzy-notice { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin: 22px 0 56px; padding: 13px 18px; border: 1px solid #ead9b7; border-radius: 4px; background: #fffaf0; }
/* --- 目录箭头样式 --- */
.jzy-notice__flag { padding: 2px 8px; color: #875d15; font-size: .78rem; font-weight: 800; border-radius: 3px; background: #f4e5c5; }
.toclevel-1 > .toclink::before {
.jzy-notice__content { color: #514b3e; font-size: .9rem; }
    content: "▶ ";
.jzy-notice__content a, .jzy-notice__link a { color: #795210; font-weight: 750; }
    color: #1976d2;
.jzy-notice__content span { margin-left: 8px; color: #7e765f; }
}
.jzy-notice__link a { font-size: .83rem; white-space: nowrap; }


.jzy-section { margin-bottom: 62px; }
.toclevel-2 > .toclink::before {
.jzy-section__head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 21px; }
    content: "├─ ";
.jzy-section__head h2, .jzy-updates h2 { margin: 4px 0 3px; color: var(--jzy-ink); font-size: 1.68rem; font-weight: 760; line-height: 1.25; }
    color: #666;
.jzy-section__head p { margin-bottom: 0; color: var(--jzy-muted); font-size: .92rem; }
}
.jzy-section__head > a, .jzy-updates__head > a { color: var(--jzy-jade); font-size: .87rem; font-weight: 750; white-space: nowrap; }


.jzy-quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.toclevel-3 > .toclink::before {
.jzy-quick-card { display: flex; flex-direction: column; height: 100%; min-height: 216px; padding: 21px; border: 1px solid var(--jzy-line); border-radius: 5px; background: #fff; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
    content: "│  └─ ";
.jzy-quick-card:hover { border-color: #83b5a5; box-shadow: 0 6px 16px rgb(36 75 63 / 10%); transform: translateY(-2px); }
    color: #999;
.jzy-quick-card__number { width: fit-content; padding-bottom: 7px; color: var(--jzy-jade); font-size: .76rem; font-weight: 800; border-bottom: 2px solid #7db49f; }
}
.jzy-quick-card h3 { margin: 21px 0 8px; color: #1e4238; font-size: 1.1rem; font-weight: 750; }
.jzy-quick-card p { color: #687a74; font-size: .88rem; line-height: 1.68; }
.jzy-quick-card span { margin-top: auto; padding-top: 12px; color: var(--jzy-jade); font-size: .84rem; font-weight: 750; }


.jzy-about { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr); gap: 48px; align-items: center; margin: 0 0 62px; padding: 43px 44px; border-top: 3px solid #72a892; background: var(--jzy-soft); }
/* --- 隐藏页脚 --- */
.jzy-about h2 { margin: 5px 0 16px; color: var(--jzy-ink); font-size: 2rem; font-weight: 760; line-height: 1.3; }
#footer { display: none; }
.jzy-about p { margin-bottom: 12px; color: #586d66; font-size: .94rem; line-height: 1.82; }
.jzy-about p strong { color: #214b40; }
.jzy-about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; }
.jzy-about .jzy-button { color: #fff; border-color: var(--jzy-jade); background: var(--jzy-jade); }
.jzy-about .jzy-button:hover { color: #fff; background: var(--jzy-jade-dark); }
.jzy-about__qq { color: #587167; font-size: .87rem; }
.jzy-about__qq strong { color: #1b5c4c; letter-spacing: .04em; }
.jzy-fact-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #cbded6; background: #fff; }
.jzy-fact { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-height: 116px; padding: 20px; border-right: 1px solid #dce8e2; border-bottom: 1px solid #dce8e2; }
.jzy-fact:nth-child(2n) { border-right: 0; }
.jzy-fact:nth-last-child(-n + 2) { border-bottom: 0; }
.jzy-fact strong { color: var(--jzy-jade); font-size: 1.42rem; font-weight: 780; line-height: 1.2; }
.jzy-fact span { color: #71837d; font-size: .83rem; }


.jzy-start { margin: 0 0 62px; padding: 40px 42px; border: 1px solid #d7e4de; border-radius: 5px; background: #fff; }
/* --- 深色模式 --- */
.jzy-start__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #d7e4de; border-left: 1px solid #d7e4de; }
@media (prefers-color-scheme: dark) {
.jzy-start__step { display: flex; gap: 13px; min-height: 138px; padding: 21px 18px; border-right: 1px solid #d7e4de; border-bottom: 1px solid #d7e4de; }
    body {
.jzy-start__number { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 29px; height: 29px; color: #fff; font-size: .8rem; font-weight: 780; border-radius: 50%; background: #24725f; }
        background: #1a1a2e;
.jzy-start h3 { margin: 1px 0 5px; color: #254b40; font-size: .98rem; font-weight: 750; }
        color: #e0e0e0;
.jzy-start p { margin: 0; color: #71817c; font-size: .84rem; line-height: 1.65; }
    }


.jzy-section--catalogue { padding: 44px; border: 1px solid #dbe6e1; border-radius: 5px; background: var(--jzy-soft); }
    #mw-content {
.jzy-catalogue { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #d1ded8; border-left: 1px solid #d1ded8; }
        background: #16213e;
.jzy-catalogue__major { min-height: 177px; padding: 24px 26px; border-right: 1px solid #d1ded8; border-bottom: 1px solid #d1ded8; background: #f9fbfa; }
    }
.jzy-catalogue__major-top { display: flex; gap: 14px; }
.jzy-catalogue__index { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 31px; height: 31px; color: #fff; font-size: .76rem; font-weight: 800; border-radius: 50%; background: #417969; }
.jzy-catalogue h3 { margin: 0 0 3px; color: #1f463b; font-size: 1.05rem; font-weight: 750; }
.jzy-catalogue p { margin-bottom: 0; color: #71827c; font-size: .86rem; line-height: 1.55; }
.jzy-catalogue__links { margin-top: 21px; color: #abc0b7; font-size: .87rem; line-height: 1.9; }
.jzy-catalogue__links a { color: #246956; font-weight: 650; }
.jzy-catalogue__links a:hover { color: var(--jzy-jade-dark); text-decoration: underline; }


.jzy-feature-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(310px, .79fr); gap: 52px; margin-bottom: 62px; }
    a { color: #64b5f6; }
.jzy-guide-list { border-top: 1px solid var(--jzy-line); }
.jzy-guide { display: grid; grid-template-columns: 58px minmax(0, 1fr) 22px; gap: 16px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--jzy-line); transition: padding .16s ease, background .16s ease; }
.jzy-guide:hover { padding-right: 10px; padding-left: 10px; background: #f5faf7; }
.jzy-guide__tag { display: inline-flex; justify-content: center; padding: 4px 5px; color: #417968; font-size: .72rem; font-weight: 750; border: 1px solid #a9c9bc; border-radius: 3px; background: #eff7f3; }
.jzy-guide h3 { margin: 0 0 3px; color: #21463c; font-size: 1rem; font-weight: 750; }
.jzy-guide p { margin-bottom: 0; color: #73827d; font-size: .86rem; line-height: 1.5; }
.jzy-guide b { color: #35806a; font-size: 1.14rem; }
.jzy-updates { padding: 25px; border: 1px solid var(--jzy-line); border-radius: 5px; background: #fff; }
.jzy-updates__head { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding-bottom: 19px; border-bottom: 1px solid var(--jzy-line); }
.jzy-updates__head h2 { font-size: 1.38rem; }
.jzy-update { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 13px; padding: 17px 0; border-bottom: 1px solid #e0e8e4; }
.jzy-update:last-child { padding-bottom: 0; border-bottom: 0; }
.jzy-update time { color: #7a9389; font-size: .76rem; font-weight: 750; }
.jzy-update a { color: #285b4e; font-size: .91rem; font-weight: 750; }
.jzy-update p { margin: 4px 0 0; color: #71817c; font-size: .81rem; line-height: 1.55; }


.jzy-section--lower { margin-bottom: 48px; }
    #mw-content-wrapper h1,
.jzy-explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
    #mw-content-wrapper h2,
.jzy-explore { padding: 22px 24px; border-top: 3px solid #75a996; background: #f6f9f7; }
    #mw-content-wrapper h3 {
.jzy-explore h3 { margin-bottom: 12px; color: #22463c; font-size: 1rem; font-weight: 750; }
        color: #90caf9;
.jzy-explore ul { margin: 0 0 17px; padding: 0; list-style: none; }
        border-bottom-color: #1976d2;
.jzy-explore li { padding: 4px 0; font-size: .88rem; }
    }
.jzy-explore li::before { padding-right: 8px; color: #83ae9e; content: "›"; }
.jzy-explore a { color: #457165; }
.jzy-explore > div a { color: var(--jzy-jade); font-size: .84rem; font-weight: 750; }
.jzy-explore__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; }
.jzy-explore__stats li { padding: 3px 0; color: #637872; font-size: .8rem; }
.jzy-explore__stats li::before { display: none; }
.jzy-explore__stats strong { display: block; color: #1b614f; font-size: 1.25rem; line-height: 1.15; }


.jzy-contribute { display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: 41px 44px; color: #d3e3dc; background: #234a3f; }
    .toclevel-1 > .toclink::before { color: #64b5f6; }
.jzy-contribute .jzy-label { color: #a9cdbf; }
    .toclevel-2 > .toclink::before { color: #888; }
.jzy-contribute h2 { margin: 7px 0 10px; color: #fff; font-size: 1.58rem; font-weight: 730; line-height: 1.35; }
    .toclevel-3 > .toclink::before { color: #666; }
.jzy-contribute p { max-width: 690px; margin-bottom: 0; color: #c0d4cb; font-size: .91rem; line-height: 1.7; }
.jzy-contribute__actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 10px; min-width: 250px; }
.jzy-button--light { color: #183e34; border-color: #fff; background: #fff; }
.jzy-button--light:hover { color: #12362c; background: #e9f3ee; }
.jzy-button--outline { color: #e6f1ec; border-color: #a7c9bb; background: transparent; }
.jzy-button--outline:hover { color: #fff; border-color: #fff; background: rgb(255 255 255 / 10%); }
.jzy-home__footer { display: flex; justify-content: space-between; gap: 22px; padding: 22px 3px 35px; color: #7a8c85; font-size: .8rem; }
.jzy-home__footer strong { margin-right: 9px; color: #43665d; }
.jzy-home__footer a { color: #667f76; }
.jzy-home__footer span { margin: 0 6px; color: #b5c0bb; }
 
@media screen and (max-width: 1050px) {
  .jzy-hero { grid-template-columns: 1fr; gap: 36px; }
  .jzy-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .jzy-about, .jzy-feature-layout { grid-template-columns: 1fr; gap: 32px; }
  .jzy-catalogue { grid-template-columns: 1fr 1fr; }
  .jzy-start__steps { grid-template-columns: 1fr 1fr; }
}


@media screen and (max-width: 720px) {
    .wikitable td { border-bottom-color: #2a2a4a; }
  .jzy-home { font-size: 15px; }
    .wikitable tr:hover td { background: #1e2a4a; }
  .jzy-home__topbar { align-items: flex-start; flex-direction: column; gap: 3px; padding: 9px 0; }
  .jzy-hero { min-height: 0; margin: 0 -12px; padding: 36px 24px; }
  .jzy-hero h1 { font-size: 2.45rem; }
  .jzy-notice { grid-template-columns: auto 1fr; gap: 10px; margin-bottom: 39px; }
  .jzy-notice__link { grid-column: 2; }
  .jzy-notice__content span { display: block; margin: 3px 0 0; }
  .jzy-section { margin-bottom: 43px; }
  .jzy-section__head { align-items: start; flex-direction: column; gap: 8px; }
  .jzy-quick-grid, .jzy-catalogue, .jzy-explore-grid, .jzy-start__steps { grid-template-columns: 1fr; }
  .jzy-quick-card, .jzy-start__step { min-height: 0; }
  .jzy-section--catalogue, .jzy-about, .jzy-start { margin-right: -6px; margin-left: -6px; padding: 28px 20px; }
  .jzy-catalogue__major { min-height: 0; padding: 20px; }
  .jzy-about h2 { font-size: 1.65rem; }
  .jzy-contribute { align-items: start; flex-direction: column; padding: 30px 25px; }
  .jzy-contribute__actions { justify-content: start; min-width: 0; }
  .jzy-home__footer { align-items: start; flex-direction: column; gap: 8px; }
}
}

2026年7月15日 (三) 11:43的版本

/* ===== 江中缘 Wiki 全局样式 ===== */

/* --- 基础样式 --- */
body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background: #f0f2f5;
    color: #333;
}

/* --- 链接样式 --- */
a {
    color: #1976d2;
    text-decoration: none;
}

a:hover {
    color: #0d47a1;
    text-decoration: underline;
}

/* --- 标题样式 --- */
#mw-content-wrapper h1,
#mw-content-wrapper h2,
#mw-content-wrapper h3,
#mw-content-wrapper h4 {
    color: #1a237e;
    border-bottom: 3px solid #1976d2;
    padding-bottom: 10px;
}

#mw-content-wrapper h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #ff9800;
    margin-top: 3px;
}

#mw-content-wrapper h3 {
    border-bottom: 2px dashed #e0e0e0;
    padding-bottom: 8px;
}

/* --- 内容区域 --- */
#mw-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* --- 表格样式 --- */
.wikitable {
    border-collapse: collapse;
    width: 100%;
}

.wikitable th {
    background: linear-gradient(135deg, #1565c0, #1976d2);
    color: white;
    padding: 14px 18px;
}

.wikitable td {
    padding: 12px 18px;
    border-bottom: 1px solid #eee;
}

.wikitable tr:hover td {
    background: #f5f7fa;
}

/* --- 目录箭头样式 --- */
.toclevel-1 > .toclink::before {
    content: "▶ ";
    color: #1976d2;
}

.toclevel-2 > .toclink::before {
    content: "├─ ";
    color: #666;
}

.toclevel-3 > .toclink::before {
    content: "│  └─ ";
    color: #999;
}

/* --- 隐藏页脚 --- */
#footer { display: none; }

/* --- 深色模式 --- */
@media (prefers-color-scheme: dark) {
    body {
        background: #1a1a2e;
        color: #e0e0e0;
    }

    #mw-content {
        background: #16213e;
    }

    a { color: #64b5f6; }

    #mw-content-wrapper h1,
    #mw-content-wrapper h2,
    #mw-content-wrapper h3 {
        color: #90caf9;
        border-bottom-color: #1976d2;
    }

    .toclevel-1 > .toclink::before { color: #64b5f6; }
    .toclevel-2 > .toclink::before { color: #888; }
    .toclevel-3 > .toclink::before { color: #666; }

    .wikitable td { border-bottom-color: #2a2a4a; }
    .wikitable tr:hover td { background: #1e2a4a; }
}