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

MediaWiki:KuranokaFX.css:修订间差异

MediaWiki界面页面
创建页面,内容为“→* KURANOKA / STORMBREAK v2 * Site-local CSS interface page: MediaWiki:KuranokaFX.css * Injected ONLY on Kuranoka, with an additional class guard. * Never changes article text, links, headings, images, or existing layout.:​ html.kk-stormbreak-enabled #kk-stormbreak-canvas { position: fixed !important; inset: 0 !important; display: block; width: 100vw; height: 100vh; pointer-events: none !important; z-index: 600; opacity: 0; transition:…”
 
无编辑摘要
标签:已被回退
(未显示同一用户的9个中间版本)
第1行: 第1行:
/*
/* KURANOKA / STORMBREAK XIV — RECONNECTION
* KURANOKA / STORMBREAK v2
  ONLY add to the END of the original STORMBREAK XII CSS.
* Site-local CSS interface page: MediaWiki:KuranokaFX.css
  Completely remove the XIII addon first (the .kk-sb-world filter is obsolete).
* Injected ONLY on Kuranoka, with an additional class guard.
  MediaWiki:Kuranoka.css remains untouched. Everything is namespaced #kk14-*.
* Never changes article text, links, headings, images, or existing layout.
*/
*/
 
html.kk-stormbreak-enabled #kk-stormbreak-canvas {
/* 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;
   position: fixed !important;
   inset: 0 !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;
   display: block;
   width: 100vw;
   width: 100vw !important;
   height: 100vh;
   height: 100vh !important;
  visibility: hidden;
  opacity: 0;
   pointer-events: none !important;
   pointer-events: none !important;
   z-index: 600;
   user-select: none !important;
  opacity: 0;
  transition: opacity .75s ease;
   contain: strict;
   contain: strict;
}
}
html.kk-stormbreak-enabled.kk-stormbreak-active #kk-stormbreak-canvas { opacity: 1; }


/* The vignette draws on top of the skin; no filter is applied to its content. */
/* Interactive shards. Keep the original XII canvas fractures AS THEY WERE.
html.kk-stormbreak-enabled #kk-stormbreak-atmosphere {
  These are just a few extra tiny translucent reading windows. */
html.kk-stormbreak-v4 #kk14-peeks {
   position: fixed !important;
   position: fixed !important;
   inset: 0 !important;
   inset: 0 !important;
   z-index: 599;
   z-index: 416 !important;
  overflow: hidden !important;
   pointer-events: none !important;
   pointer-events: none !important;
   opacity: 0;
   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:
   background:
     radial-gradient(ellipse 60% 68% at 50% 50%, transparent 19%, rgba(4,10,30,.34) 56%, rgba(3,5,21,.87) 86%, rgba(1,2,12,.98) 100%),
     linear-gradient(119deg,rgba(209,238,246,.26),rgba(36,58,77,.23) 52%,rgba(193,224,242,.19)),
     radial-gradient(ellipse 75% 65% at 85% 5%, rgba(37,25,112,.30), transparent 74%),
     rgba(35,69,89,.12);
    conic-gradient(from 195deg at 50% 55%, rgba(79,6,64,.24), transparent 32%, rgba(11,62,137,.23) 60%, rgba(31,3,50,.23));
  box-shadow: inset 0 0 1px 1px rgba(218,241,250,.50);
  transition: opacity 1s ease;
  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-enabled.kk-stormbreak-active #kk-stormbreak-atmosphere { opacity: var(--kk-atmosphere, .7); }
html.kk-stormbreak-v4 #kk14-peeks .kk14-dragging {cursor:grabbing;}
 
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-mirror {
/* UI only: anchored outside article prose; never edits the article DOM content. */
   position: absolute !important;
html.kk-stormbreak-enabled #kk-stormbreak-controls {
   top: 0;
   position: fixed;
   left: 0;
   right: max(14px, env(safe-area-inset-right));
   width: 100vw;
   bottom: max(14px, env(safe-area-inset-bottom));
   height: 100vh;
   z-index: 602;
   overflow: visible;
   display: none;
   pointer-events: none !important;
   gap: 8px;
   user-select: none !important;
   align-items: center;
}
   font: 600 12px/1.25 system-ui, sans-serif;
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone,
   color: #ecf8ff;
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone * {
   background: rgba(7,16,34,.91);
   pointer-events: none !important;
   border: 1px solid rgba(133,205,241,.56);
   user-select: none !important;
   border-radius: 7px;
}
   padding: 8px 10px;
/* This unlocks text inside a shard CLONE only; original {{黑幕}} stays opaque. */
   box-shadow: 0 10px 36px rgba(0,0,0,.32);
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone .heimu,
   backdrop-filter: blur(10px);
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-enabled.kk-stormbreak-inchapter #kk-stormbreak-controls { display: flex; }
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone {
html.kk-stormbreak-enabled #kk-stormbreak-controls button {
   max-width:none !important;
   font: inherit;
   background:transparent !important;
  color: inherit;
   transform:none !important;
   background: #172b47;
   filter:none !important;
   padding: 7px 10px;
  border: 1px solid #6789ab;
  border-radius: 5px;
   cursor: pointer;
}
}
html.kk-stormbreak-enabled #kk-stormbreak-controls button:focus-visible,
html.kk-stormbreak-enabled #kk-stormbreak-controls input:focus-visible { outline: 2px solid #98e2ff; outline-offset: 3px; }
html.kk-stormbreak-enabled #kk-stormbreak-controls input[type="range"] { width: 66px; accent-color: #6fe4ff; }
html.kk-stormbreak-enabled #kk-stormbreak-controls label { white-space: nowrap; }
html.kk-stormbreak-enabled #kk-stormbreak-controls button[aria-pressed="true"] { background: #36577a; }


/* Position markers are zero-height; no typography, content, or layout alterations. */
/* Isolated narrative pause is a Shadow DOM component created by JS.
html.kk-stormbreak-enabled .kk-fx-marker { display: block; height: 0; margin: 0; padding: 0; overflow: hidden; }
  Page CSS rules for h2, buttons, infoboxes or Citizen do not enter it. */
@media (max-width: 600px) {
@supports not ((backdrop-filter: grayscale(1)) or (-webkit-backdrop-filter: grayscale(1))) {
   html.kk-stormbreak-enabled #kk-stormbreak-controls { right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); padding: 6px; }
   html.kk-stormbreak-v4 #kk14-tone {background: rgba(5,8,12,.12) !important;}
   html.kk-stormbreak-enabled #kk-stormbreak-controls input[type="range"] { width: 50px; }
   html.kk-stormbreak-v4:has(#kk14-tone[style*="opacity: 1"]) #mw-content-text {
  html.kk-stormbreak-enabled #kk-stormbreak-controls label { display: none; }
    filter: grayscale(.9);
  }
}
}
@media (prefers-reduced-motion: reduce) {
@media (prefers-reduced-motion: reduce), print {
   html.kk-stormbreak-enabled #kk-stormbreak-canvas,
   html.kk-stormbreak-v4 #kk14-tone,
   html.kk-stormbreak-enabled #kk-stormbreak-atmosphere { transition: none; }
  html.kk-stormbreak-v4 #kk14-aftermath,
   html.kk-stormbreak-v4 #kk14-peeks,
  html.kk-stormbreak-v4 #kk14-interruption {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;}
}