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

MediaWiki:KuranokaFX.css:修订间差异

MediaWiki界面页面
无编辑摘要
无编辑摘要
标签:已被回退
(未显示同一用户的8个中间版本)
第1行: 第1行:
/*
/* KURANOKA / STORMBREAK XIV — RECONNECTION
* KURANOKA // STORMBREAK III — Citizen / Blockland Wiki
  ONLY add to the END of the original STORMBREAK XII CSS.
* Only injected on /wiki/Kuranoka by the existing Citizen.js loader.
  Completely remove the XIII addon first (the .kk-sb-world filter is obsolete).
* The class guard is a second safety boundary. It NEVER styles wiki content.
  MediaWiki:Kuranoka.css remains untouched. Everything is namespaced #kk14-*.
*/
*/
html.kk-stormbreak-v3 #kk-sb3-sky,
 
html.kk-stormbreak-v3 #kk-sb3-glass,
/* Backdrop filter desaturates the CURRENT COMPOSITE of the actual Wiki page,
html.kk-stormbreak-v3 #kk-sb3-choke {
  including its Kuranoka.css background / pseudo-elements. This layer is BELOW
  all of the original XII colored atmospheric canvases (z=408–413).
  It neither adds grayscale filters to Citizen nodes nor creates layout shifts. */
html.kk-stormbreak-v4 #kk14-tone {
   position: fixed !important;
   position: fixed !important;
   inset: 0 !important;
   inset: 0 !important;
   box-sizing: border-box;
  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;
   width: 100vw !important;
   height: 100vh !important;
   height: 100vh !important;
   margin: 0 !important;
   visibility: hidden;
  padding: 0 !important;
   opacity: 0;
   border: 0 !important;
   pointer-events: none !important;
   pointer-events: none !important;
   user-select: none !important;
   user-select: none !important;
  touch-action: none !important;
   contain: strict;
   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;
   visibility: hidden;
  user-select: none !important;
  contain: strict;
}
}
html.kk-stormbreak-v3.kk-sb3-on #kk-sb3-sky,
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek {
html.kk-stormbreak-v3.kk-sb3-on #kk-sb3-glass,
  position: absolute !important;
html.kk-stormbreak-v3.kk-sb3-on #kk-sb3-choke { visibility: visible; }
  top: 0;
/* Above Citizen's sidebar and pagechrome, but below overlays/dialogs where possible. */
  left: 0;
html.kk-stormbreak-v3 #kk-sb3-sky { z-index: 410; opacity: 1; }
  box-sizing: border-box !important;
html.kk-stormbreak-v3 #kk-sb3-glass { z-index: 411; opacity: 1; }
  overflow: hidden !important;
html.kk-stormbreak-v3 #kk-sb3-choke {
  pointer-events: auto !important;
   z-index: 409;
   touch-action: none;
   opacity: var(--kk-sb3-deep, 0);
   cursor: grab;
   transition: opacity .24s linear;
   user-select: none !important;
   background:
   background:
     radial-gradient(ellipse 52% 53% at 51% 49%, transparent 15%, rgba(3,8,24,.11) 45%, rgba(1,4,13,.85) 96%),
     linear-gradient(119deg,rgba(209,238,246,.26),rgba(36,58,77,.23) 52%,rgba(193,224,242,.19)),
     linear-gradient(168deg, rgba(1,6,20,.48), transparent 29%, transparent 70%, rgba(3,5,18,.57));
     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) {
* Central reading corridor stays bright/legible, even with maximum storm.
   background: linear-gradient(133deg,rgba(210,81,103,.28),rgba(48,13,28,.27),rgba(219,161,180,.18));
* The mask affects FX CANVASES ONLY, never the article or Citizen CSS.
*/
html.kk-stormbreak-v3 #kk-sb3-glass,
html.kk-stormbreak-v3 #kk-sb3-sky {
  -webkit-mask-image: radial-gradient(ellipse 62% 67% at 48% 49%, rgba(0,0,0,.10) 4%, rgba(0,0,0,.30) 42%, rgba(0,0,0,.86) 81%, #000 100%);
   mask-image: radial-gradient(ellipse 62% 67% at 48% 49%, rgba(0,0,0,.10) 4%, rgba(0,0,0,.30) 42%, rgba(0,0,0,.86) 81%, #000 100%);
}
}
@media (max-width: 680px) {
html.kk-stormbreak-v4 #kk14-peeks .kk14-dragging {cursor:grabbing;}
   html.kk-stormbreak-v3 #kk-sb3-glass,
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-mirror {
  html.kk-stormbreak-v3 #kk-sb3-sky {
  position: absolute !important;
    -webkit-mask-image: radial-gradient(ellipse 78% 71% at 47% 49%, rgba(0,0,0,.06) 5%, rgba(0,0,0,.22) 53%, rgba(0,0,0,.92) 98%);
  top: 0;
    mask-image: radial-gradient(ellipse 78% 71% at 47% 49%, rgba(0,0,0,.06) 5%, rgba(0,0,0,.22) 53%, rgba(0,0,0,.92) 98%);
  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. */
@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:has(#kk14-tone[style*="opacity: 1"]) #mw-content-text {
    filter: grayscale(.9);
   }
   }
}
}
/* No UI, no floating controls, no font, text, image, infobox or layout overrides. */
@media (prefers-reduced-motion: reduce), print {
/* Hide old V2 surfaces if they remain from a partially refreshed page. */
   html.kk-stormbreak-v4 #kk14-tone,
html.kk-stormbreak-v3 #kk-stormbreak-controls,
   html.kk-stormbreak-v4 #kk14-aftermath,
html.kk-stormbreak-v3 #kk-stormbreak-canvas,
   html.kk-stormbreak-v4 #kk14-peeks,
html.kk-stormbreak-v3 #kk-stormbreak-atmosphere { display: none !important; }
   html.kk-stormbreak-v4 #kk14-interruption {display:none !important;}
@media (prefers-reduced-motion: reduce) {
   html.kk-stormbreak-v3 #kk-sb3-sky,
   html.kk-stormbreak-v3 #kk-sb3-glass,
  html.kk-stormbreak-v3 #kk-sb3-choke { display: none !important; }
}
@media print {
  html.kk-stormbreak-v3 #kk-sb3-sky,
   html.kk-stormbreak-v3 #kk-sb3-glass,
   html.kk-stormbreak-v3 #kk-sb3-choke { display: none !important; }
}
}

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

/* KURANOKA / STORMBREAK XIV — RECONNECTION
   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. Everything is namespaced #kk14-*.
*/

/* Backdrop filter desaturates the CURRENT COMPOSITE of the actual Wiki page,
   including its Kuranoka.css background / pseudo-elements. This layer is BELOW
   all of the original XII colored atmospheric canvases (z=408–413).
   It neither adds grayscale filters to Citizen nodes nor creates layout shifts. */
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. */
@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:has(#kk14-tone[style*="opacity: 1"]) #mw-content-text {
    filter: grayscale(.9);
  }
}
@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;}
}