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

MediaWiki:Common.css

MediaWiki界面页面
Jzyfate留言 | 贡献2026年7月15日 (三) 11:31的版本

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
body.page-首页 #firstHeading,
body.page-首页 .mw-indicators,
body.page-首页 .mw-content-subtitle,
body.page-首页 .mw-editsection { display: none; }

body.page-首页 .mw-body-content { margin-top: 0; }

.jzy-home {
  --jzy-ink: #173a31;
  --jzy-body: #536861;
  --jzy-muted: #74867f;
  --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; }
.jzy-home a { text-decoration: none; }
.jzy-home h1, .jzy-home h2, .jzy-home h3, .jzy-home p { margin-top: 0; }

.jzy-home__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  color: #64756f;
  font-size: .82rem;
  border-bottom: 1px solid var(--jzy-line);
}

.jzy-home__topbar span { margin: 0 7px; color: #aab9b3; }
.jzy-home__topbar a { color: #416e61; }
.jzy-home__topbar a:hover, .jzy-section__head > a:hover { color: var(--jzy-jade); text-decoration: underline; }

.jzy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .84fr);
  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; }
.jzy-hero__scene a, .jzy-hero__scene .jzy-hero__image { display: block; width: 100%; height: 100%; max-width: none; margin: 0; }
.jzy-hero__scene .jzy-hero__image { object-fit: cover; object-position: center; }

.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; }
.jzy-brandline__bar { display: inline-block; width: 27px; height: 2px; background: #f0c969; }
.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%); }
.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 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  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); }
.jzy-button b { padding-left: 8px; font-size: 1rem; }
.jzy-button--primary { color: #183d33; border-color: #f0c86b; background: #f0c86b; }
.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%); }
.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%); }
.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; }
.jzy-notice__content { color: #514b3e; font-size: .9rem; }
.jzy-notice__content a, .jzy-notice__link a { color: #795210; font-weight: 750; }
.jzy-notice__content span { margin-left: 8px; color: #7e765f; }
.jzy-notice__link a { font-size: .83rem; white-space: nowrap; }

.jzy-section { margin-bottom: 62px; }
.jzy-section__head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 21px; }
.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; }
.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; }
.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; }
.jzy-quick-card:hover { border-color: #83b5a5; box-shadow: 0 6px 16px rgb(36 75 63 / 10%); transform: translateY(-2px); }
.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; }
.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; }
.jzy-start__step { display: flex; gap: 13px; min-height: 138px; padding: 21px 18px; border-right: 1px solid #d7e4de; border-bottom: 1px solid #d7e4de; }
.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; }
.jzy-start h3 { margin: 1px 0 5px; color: #254b40; font-size: .98rem; font-weight: 750; }
.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); }
.jzy-catalogue { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #d1ded8; border-left: 1px solid #d1ded8; }
.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; }
.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; }
.jzy-explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.jzy-explore { padding: 22px 24px; border-top: 3px solid #75a996; background: #f6f9f7; }
.jzy-explore h3 { margin-bottom: 12px; color: #22463c; font-size: 1rem; font-weight: 750; }
.jzy-explore ul { margin: 0 0 17px; padding: 0; list-style: none; }
.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; }
.jzy-contribute .jzy-label { color: #a9cdbf; }
.jzy-contribute h2 { margin: 7px 0 10px; color: #fff; font-size: 1.58rem; font-weight: 730; line-height: 1.35; }
.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) {
  .jzy-home { font-size: 15px; }
  .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; }
}