跳转到内容
打开/关闭菜单
  • 450 条目
  • 804 文件
  • 22 用户
  • 9044 编辑
Blockland Wiki
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

MediaWiki:KuranokaFX.css:修订间差异

MediaWiki界面页面
无编辑摘要
标签:已被回退
无编辑摘要
标签:已被回退
第1行: 第1行:
/* KURANOKA / STORMBREAK XIV — RECONNECTION
/* KURANOKA / STORMBREAK XIV.1 — RECONNECTION / MODERN AERO UI OS26.2
   ONLY add to the END of the original STORMBREAK XII CSS.
   ONLY add to the END of the original STORMBREAK XII CSS.
   Completely remove the XIII addon first (the .kk-sb-world filter is obsolete).
   Completely remove the XIII addon first (the .kk-sb-world filter is obsolete).
   MediaWiki:Kuranoka.css remains untouched. Everything is namespaced #kk14-*.
   MediaWiki:Kuranoka.css remains untouched: specifically preserving:
  - body.skin-citizen.page-Kuranoka fixed thunderstorm photo (desktop) / scroll (mobile)
  - #bodyContent glass variable + blur(6px), translucent surface, padding, borders
  - #firstHeading / #siteSub white text
  - #citizen-toc presentation / hidden scrollbar
  Everything is namespaced #kk14-* and never overrides those selectors.
*/
*/


/* Backdrop filter desaturates the CURRENT COMPOSITE of the actual Wiki page,
/* Glass compatibility:
   including its Kuranoka.css background / pseudo-elements. This layer is BELOW
  The original #bodyContent uses backdrop-filter: blur(6px) !important.
   all of the original XII colored atmospheric canvases (z=408–413).
  Do not put filter:grayscale(...) on that node, #mw-content-text, body, or
   It neither adds grayscale filters to Citizen nodes nor creates layout shifts. */
   .citizen-body-container: those would recolor WebGL overlays or introduce
  new stacking/containing blocks. The full-viewport, pointer-transparent
   overlay BELOW storm canvases (z 408–413) works over the fixed photo and
  the article glass in Chromium, preserving colorful storm/rain/shards.
   CSS used here does not change title, TOC, text, or glass settings. */
html.kk-stormbreak-v4 #kk14-tone {
html.kk-stormbreak-v4 #kk14-tone {
   position: fixed !important;
   position: fixed !important;
第112行: 第121行:
/* Isolated narrative pause is a Shadow DOM component created by JS.
/* Isolated narrative pause is a Shadow DOM component created by JS.
   Page CSS rules for h2, buttons, infoboxes or Citizen do not enter it. */
   Page CSS rules for h2, buttons, infoboxes or Citizen do not enter it. */
/* Older browsers without backdrop-filter receive a quiet dimming layer.
  It deliberately does not filter or restyle any Citizen content. */
@supports not ((backdrop-filter: grayscale(1)) or (-webkit-backdrop-filter: grayscale(1))) {
@supports not ((backdrop-filter: grayscale(1)) or (-webkit-backdrop-filter: grayscale(1))) {
   html.kk-stormbreak-v4 #kk14-tone {background: rgba(5,8,12,.12) !important;}
   html.kk-stormbreak-v4 #kk14-tone {
  html.kk-stormbreak-v4:has(#kk14-tone[style*="opacity: 1"]) #mw-content-text {
    background: rgba(9, 14, 20, .22) !important;
    filter: grayscale(.9);
   }
   }
}
}

2026年10月21日 (三) 20:26的版本

/* KURANOKA / STORMBREAK XIV.1 — RECONNECTION / MODERN AERO UI OS26.2
   ONLY add to the END of the original STORMBREAK XII CSS.
   Completely remove the XIII addon first (the .kk-sb-world filter is obsolete).
   MediaWiki:Kuranoka.css remains untouched: specifically preserving:
   - body.skin-citizen.page-Kuranoka fixed thunderstorm photo (desktop) / scroll (mobile)
   - #bodyContent glass variable + blur(6px), translucent surface, padding, borders
   - #firstHeading / #siteSub white text
   - #citizen-toc presentation / hidden scrollbar
   Everything is namespaced #kk14-* and never overrides those selectors.
*/

/* Glass compatibility:
   The original #bodyContent uses backdrop-filter: blur(6px) !important.
   Do not put filter:grayscale(...) on that node, #mw-content-text, body, or
   .citizen-body-container: those would recolor WebGL overlays or introduce
   new stacking/containing blocks. The full-viewport, pointer-transparent
   overlay BELOW storm canvases (z 408–413) works over the fixed photo and
   the article glass in Chromium, preserving colorful storm/rain/shards.
   CSS used here does not change title, TOC, text, or glass settings. */
html.kk-stormbreak-v4 #kk14-tone {
  position: fixed !important;
  inset: 0 !important;
  z-index: 407 !important;
  box-sizing: border-box !important;
  pointer-events: none !important;
  user-select: none !important;
  opacity: 0;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  -webkit-backdrop-filter: grayscale(var(--kk14-gray, .96)) brightness(var(--kk14-bright, .85));
  backdrop-filter: grayscale(var(--kk14-gray, .96)) brightness(var(--kk14-bright, .85));
  transition: opacity .8s ease;
  contain: layout style;
}

/* Stage three: very faint drifting rainfall, separate from XII's original rain. */
html.kk-stormbreak-v4 #kk14-aftermath {
  position: fixed !important;
  inset: 0 !important;
  z-index: 414 !important;
  display: block;
  width: 100vw !important;
  height: 100vh !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none !important;
  user-select: none !important;
  contain: strict;
}

/* Interactive shards. Keep the original XII canvas fractures AS THEY WERE.
   These are just a few extra tiny translucent reading windows. */
html.kk-stormbreak-v4 #kk14-peeks {
  position: fixed !important;
  inset: 0 !important;
  z-index: 416 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  visibility: hidden;
  user-select: none !important;
  contain: strict;
}
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek {
  position: absolute !important;
  top: 0;
  left: 0;
  box-sizing: border-box !important;
  overflow: hidden !important;
  pointer-events: auto !important;
  touch-action: none;
  cursor: grab;
  user-select: none !important;
  background:
    linear-gradient(119deg,rgba(209,238,246,.26),rgba(36,58,77,.23) 52%,rgba(193,224,242,.19)),
    rgba(35,69,89,.12);
  box-shadow: inset 0 0 1px 1px rgba(218,241,250,.50);
  will-change: transform;
}
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek:nth-child(4n) {
  background: linear-gradient(133deg,rgba(210,81,103,.28),rgba(48,13,28,.27),rgba(219,161,180,.18));
}
html.kk-stormbreak-v4 #kk14-peeks .kk14-dragging {cursor:grabbing;}
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-mirror {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: visible;
  pointer-events: none !important;
  user-select: none !important;
}
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone,
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone * {
  pointer-events: none !important;
  user-select: none !important;
}
/* This unlocks text inside a shard CLONE only; original {{黑幕}} stays opaque. */
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone .heimu,
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone .heimu *,
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone .blackout,
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone .blackout *,
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone .spoiler,
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone .spoiler * {
  color: #f5f9fc !important;
  -webkit-text-fill-color: #f5f9fc !important;
  background: transparent !important;
  background-color: transparent !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.70) !important;
  opacity: 1 !important;
  filter: none !important;
}
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone {
  max-width:none !important;
  background:transparent !important;
  transform:none !important;
  filter:none !important;
}

/* Isolated narrative pause is a Shadow DOM component created by JS.
   Page CSS rules for h2, buttons, infoboxes or Citizen do not enter it. */
/* Older browsers without backdrop-filter receive a quiet dimming layer.
   It deliberately does not filter or restyle any Citizen content. */
@supports not ((backdrop-filter: grayscale(1)) or (-webkit-backdrop-filter: grayscale(1))) {
  html.kk-stormbreak-v4 #kk14-tone {
    background: rgba(9, 14, 20, .22) !important;
  }
}
@media (prefers-reduced-motion: reduce), print {
  html.kk-stormbreak-v4 #kk14-tone,
  html.kk-stormbreak-v4 #kk14-aftermath,
  html.kk-stormbreak-v4 #kk14-peeks,
  html.kk-stormbreak-v4 #kk14-interruption {display:none !important;}
}