跳转到内容
打开/关闭菜单
  • 451 条目
  • 802 文件
  • 22 用户
  • 9001 编辑
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:…”
 
无编辑摘要
 
(未显示同一用户的6个中间版本)
第1行: 第1行:
/*
/* STORMBREAK XII — Kuranoka only. Requires JS to add kk-stormbreak-v4 class.
* KURANOKA / STORMBREAK v2
  Does NOT change article typography, colors, font sizes, heading layouts, or Citizen components. */
* Site-local CSS interface page: MediaWiki:KuranokaFX.css
html.kk-stormbreak-v4 #kk4-pressure,
* Injected ONLY on Kuranoka, with an additional class guard.
html.kk-stormbreak-v4 #kk4-sky,
* Never changes article text, links, headings, images, or existing layout.
html.kk-stormbreak-v4 #kk4-rain,
*/
html.kk-stormbreak-v4 #kk6-fracture {
html.kk-stormbreak-enabled #kk-stormbreak-canvas {
   position: fixed !important;
   position: fixed !important;
   inset: 0 !important;
   top: 0 !important;
   display: block;
   left: 0 !important;
   width: 100vw;
   width: 100vw !important;
   height: 100vh;
   height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
   pointer-events: none !important;
   pointer-events: none !important;
   z-index: 600;
   user-select: none !important;
   opacity: 0;
   overflow: hidden !important;
   transition: opacity .75s ease;
   visibility: hidden;
  transform-origin: center center;
   contain: strict;
   contain: strict;
}
}
html.kk-stormbreak-enabled.kk-stormbreak-active #kk-stormbreak-canvas { opacity: 1; }
html.kk-stormbreak-v4 #kk4-pressure {z-index: 408; background: radial-gradient(ellipse 81% 78% at 51% 47%, transparent 27%, rgba(1,6,15,.17) 49%, rgba(0,2,8,.86) 96%), linear-gradient(180deg,rgba(0,5,18,.9),rgba(7,15,29,.07) 56%,rgba(1,5,14,.76));}
html.kk-stormbreak-v4 #kk4-sky {z-index: 409; will-change: transform;}
html.kk-stormbreak-v4 #kk4-rain {z-index: 410; will-change: transform;}
html.kk-stormbreak-v4 #kk6-fracture {z-index: 411; will-change: transform; opacity:.95;}
html.kk-stormbreak-v4.kk-v4-on #kk4-pressure,
html.kk-stormbreak-v4.kk-v4-on #kk4-sky,
html.kk-stormbreak-v4.kk-v4-on #kk4-rain,
html.kk-stormbreak-v4.kk-v4-on #kk6-fracture {visibility: visible;}
/* Protect the central copy without painting over or altering its actual text. */
html.kk-stormbreak-v4 #kk4-sky {
  -webkit-mask-image: radial-gradient(ellipse 62% 61% at 49% 50%, rgba(0,0,0,.12) 3%, rgba(0,0,0,.44) 55%, #000 99%);
  mask-image: radial-gradient(ellipse 62% 61% at 49% 50%, rgba(0,0,0,.12) 3%, rgba(0,0,0,.44) 55%, #000 99%);
}
/* Defeat lingering V2/V3 visual widgets if the browser was previously caching old sheets. */
html.kk-stormbreak-v4 #kk-stormbreak-controls,
html.kk-stormbreak-v4 #kk-stormbreak-canvas,
html.kk-stormbreak-v4 #kk-stormbreak-atmosphere,
html.kk-stormbreak-v4 #kk-sb3-sky,
html.kk-stormbreak-v4 #kk-sb3-glass,
html.kk-stormbreak-v4 #kk-sb3-choke {display:none!important;}
@media (max-width:680px){
  html.kk-stormbreak-v4 #kk4-sky {
    -webkit-mask-image:radial-gradient(ellipse 70% 68% at 49% 49%,rgba(0,0,0,.12) 5%,rgba(0,0,0,.43) 58%,#000 100%);
    mask-image:radial-gradient(ellipse 70% 68% at 49% 49%,rgba(0,0,0,.12) 5%,rgba(0,0,0,.43) 58%,#000 100%);
  }
}
@media (prefers-reduced-motion:reduce){
  html.kk-stormbreak-v4 #kk4-pressure,
  html.kk-stormbreak-v4 #kk4-sky,
  html.kk-stormbreak-v4 #kk4-rain,
  html.kk-stormbreak-v4 #kk6-fracture {display:none!important;}
}
@media print{
  html.kk-stormbreak-v4 #kk4-pressure,
  html.kk-stormbreak-v4 #kk4-sky,
  html.kk-stormbreak-v4 #kk4-rain,
  html.kk-stormbreak-v4 #kk6-fracture {display:none!important;}
}


/* The vignette draws on top of the skin; no filter is applied to its content. */
html.kk-stormbreak-v4 #kk4-rain {
html.kk-stormbreak-enabled #kk-stormbreak-atmosphere {
   /* Uniform full-width rainfall, with only a slight central readability cutout. */
   position: fixed !important;
   -webkit-mask-image:radial-gradient(ellipse 95% 83% at 50% 48%,rgba(0,0,0,.83),#000 95%);
   inset: 0 !important;
  mask-image:radial-gradient(ellipse 95% 83% at 50% 48%,rgba(0,0,0,.83),#000 95%);
  z-index: 599;
  pointer-events: none !important;
  opacity: 0;
  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%),
    radial-gradient(ellipse 75% 65% at 85% 5%, rgba(37,25,112,.30), transparent 74%),
    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));
  transition: opacity 1s ease;
}
}
html.kk-stormbreak-enabled.kk-stormbreak-active #kk-stormbreak-atmosphere { opacity: var(--kk-atmosphere, .7); }


/* UI only: anchored outside article prose; never edits the article DOM content. */
/* Fragment layer is separate from article text; no text or Citizen styles changed. */
html.kk-stormbreak-enabled #kk-stormbreak-controls {
html.kk-stormbreak-v4 #kk6-fracture {mix-blend-mode:normal;}
  position: fixed;
 
  right: max(14px, env(safe-area-inset-right));
/* Persistent local faults; no global attack envelope. Real viewport fragments. Never intercept selection, links, or scrolling. */
  bottom: max(14px, env(safe-area-inset-bottom));
html.kk-stormbreak-v4 #kk7-replicas {
  z-index: 602;
position:fixed!important;inset:0!important;z-index:412;pointer-events:none!important;
  display: none;
overflow:hidden;contain:strict;visibility:hidden;user-select:none;
  gap: 8px;
  align-items: center;
  font: 600 12px/1.25 system-ui, sans-serif;
  color: #ecf8ff;
  background: rgba(7,16,34,.91);
  border: 1px solid rgba(133,205,241,.56);
  border-radius: 7px;
  padding: 8px 10px;
  box-shadow: 0 10px 36px rgba(0,0,0,.32);
  backdrop-filter: blur(10px);
}
}
html.kk-stormbreak-enabled.kk-stormbreak-inchapter #kk-stormbreak-controls { display: flex; }
html.kk-stormbreak-v4 .kk7-plate {
html.kk-stormbreak-enabled #kk-stormbreak-controls button {
position:absolute;inset:0;pointer-events:none!important;transform-origin:50% 50%;
  font: inherit;
contain:strict;will-change:transform;overflow:hidden;
  color: inherit;
  background: #172b47;
  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-v4 .kk7-copy {position:absolute;inset:0;pointer-events:none!important;}
html.kk-stormbreak-enabled #kk-stormbreak-controls input:focus-visible { outline: 2px solid #98e2ff; outline-offset: 3px; }
html.kk-stormbreak-v4 #kk7-replicas * {pointer-events:none!important;user-select:none!important;}
html.kk-stormbreak-enabled #kk-stormbreak-controls input[type="range"] { width: 66px; accent-color: #6fe4ff; }
@media(prefers-reduced-motion:reduce){html.kk-stormbreak-v4 #kk7-replicas{display:none!important;}}
html.kk-stormbreak-enabled #kk-stormbreak-controls label { white-space: nowrap; }
@media print{html.kk-stormbreak-v4 #kk7-replicas{display:none!important;}}
html.kk-stormbreak-enabled #kk-stormbreak-controls button[aria-pressed="true"] { background: #36577a; }
 
/* Floating shards use an independent Canvas. */
 
/* Small moving mirror faces invert the real page underneath, only inside each shard. */
html.kk-stormbreak-v4 #kk10-negative {
position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;
pointer-events:none!important;user-select:none!important;z-index:413;
margin:0!important;padding:0!important;border:0!important;
visibility:hidden;mix-blend-mode:difference;contain:strict;
}
@media(prefers-reduced-motion:reduce){html.kk-stormbreak-v4 #kk10-negative{display:none!important;}}
@media print{html.kk-stormbreak-v4 #kk10-negative{display:none!important;}}
 
/* Optional narrative anchor only; adds no visible control or layout height. */
html.kk-stormbreak-v4 .kk-fx-outburst {display:inline-block;width:0;height:0;overflow:hidden;}


/* Position markers are zero-height; no typography, content, or layout alterations. */
/* Pixel overscan is sized from the maximum camera displacement, including narrow screens. */
html.kk-stormbreak-enabled .kk-fx-marker { display: block; height: 0; margin: 0; padding: 0; overflow: hidden; }
html.kk-stormbreak-v4 #kk4-sky,
@media (max-width: 600px) {
html.kk-stormbreak-v4 #kk4-rain,
  html.kk-stormbreak-enabled #kk-stormbreak-controls { right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); padding: 6px; }
html.kk-stormbreak-v4 #kk6-fracture,
  html.kk-stormbreak-enabled #kk-stormbreak-controls input[type="range"] { width: 50px; }
html.kk-stormbreak-v4 #kk10-negative {
  html.kk-stormbreak-enabled #kk-stormbreak-controls label { display: none; }
top:calc(-1 * var(--kk-bleed,96px))!important;
left:calc(-1 * var(--kk-bleed,96px))!important;
right:auto!important;bottom:auto!important;
width:calc(100vw + 2 * var(--kk-bleed,96px))!important;
height:calc(100vh + 2 * var(--kk-bleed,96px))!important;
}
}
@media (prefers-reduced-motion: reduce) {
html.kk-stormbreak-v4 #kk12-inversion {
  html.kk-stormbreak-enabled #kk-stormbreak-canvas,
position:fixed!important;inset:0!important;z-index:2147483000;
  html.kk-stormbreak-enabled #kk-stormbreak-atmosphere { transition: none; }
pointer-events:none!important;user-select:none!important;
background:#fff!important;mix-blend-mode:difference;
margin:0!important;border:0!important;padding:0!important;
opacity:0;will-change:opacity;
}
}
@media(prefers-reduced-motion:reduce){html.kk-stormbreak-v4 #kk12-inversion{display:none!important;}}
@media print{html.kk-stormbreak-v4 #kk12-inversion{display:none!important;}}

2026年10月16日 (五) 15:06的最新版本

/* STORMBREAK XII — Kuranoka only. Requires JS to add kk-stormbreak-v4 class.
   Does NOT change article typography, colors, font sizes, heading layouts, or Citizen components. */
html.kk-stormbreak-v4 #kk4-pressure,
html.kk-stormbreak-v4 #kk4-sky,
html.kk-stormbreak-v4 #kk4-rain,
html.kk-stormbreak-v4 #kk6-fracture {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
  user-select: none !important;
  overflow: hidden !important;
  visibility: hidden;
  transform-origin: center center;
  contain: strict;
}
html.kk-stormbreak-v4 #kk4-pressure {z-index: 408; background: radial-gradient(ellipse 81% 78% at 51% 47%, transparent 27%, rgba(1,6,15,.17) 49%, rgba(0,2,8,.86) 96%), linear-gradient(180deg,rgba(0,5,18,.9),rgba(7,15,29,.07) 56%,rgba(1,5,14,.76));}
html.kk-stormbreak-v4 #kk4-sky {z-index: 409; will-change: transform;}
html.kk-stormbreak-v4 #kk4-rain {z-index: 410; will-change: transform;}
html.kk-stormbreak-v4 #kk6-fracture {z-index: 411; will-change: transform; opacity:.95;}
html.kk-stormbreak-v4.kk-v4-on #kk4-pressure,
html.kk-stormbreak-v4.kk-v4-on #kk4-sky,
html.kk-stormbreak-v4.kk-v4-on #kk4-rain,
html.kk-stormbreak-v4.kk-v4-on #kk6-fracture {visibility: visible;}
/* Protect the central copy without painting over or altering its actual text. */
html.kk-stormbreak-v4 #kk4-sky {
  -webkit-mask-image: radial-gradient(ellipse 62% 61% at 49% 50%, rgba(0,0,0,.12) 3%, rgba(0,0,0,.44) 55%, #000 99%);
  mask-image: radial-gradient(ellipse 62% 61% at 49% 50%, rgba(0,0,0,.12) 3%, rgba(0,0,0,.44) 55%, #000 99%);
}
/* Defeat lingering V2/V3 visual widgets if the browser was previously caching old sheets. */
html.kk-stormbreak-v4 #kk-stormbreak-controls,
html.kk-stormbreak-v4 #kk-stormbreak-canvas,
html.kk-stormbreak-v4 #kk-stormbreak-atmosphere,
html.kk-stormbreak-v4 #kk-sb3-sky,
html.kk-stormbreak-v4 #kk-sb3-glass,
html.kk-stormbreak-v4 #kk-sb3-choke {display:none!important;}
@media (max-width:680px){
  html.kk-stormbreak-v4 #kk4-sky {
    -webkit-mask-image:radial-gradient(ellipse 70% 68% at 49% 49%,rgba(0,0,0,.12) 5%,rgba(0,0,0,.43) 58%,#000 100%);
    mask-image:radial-gradient(ellipse 70% 68% at 49% 49%,rgba(0,0,0,.12) 5%,rgba(0,0,0,.43) 58%,#000 100%);
  }
}
@media (prefers-reduced-motion:reduce){
  html.kk-stormbreak-v4 #kk4-pressure,
  html.kk-stormbreak-v4 #kk4-sky,
  html.kk-stormbreak-v4 #kk4-rain,
  html.kk-stormbreak-v4 #kk6-fracture {display:none!important;}
}
@media print{
  html.kk-stormbreak-v4 #kk4-pressure,
  html.kk-stormbreak-v4 #kk4-sky,
  html.kk-stormbreak-v4 #kk4-rain,
  html.kk-stormbreak-v4 #kk6-fracture {display:none!important;}
}

html.kk-stormbreak-v4 #kk4-rain {
  /* Uniform full-width rainfall, with only a slight central readability cutout. */
  -webkit-mask-image:radial-gradient(ellipse 95% 83% at 50% 48%,rgba(0,0,0,.83),#000 95%);
  mask-image:radial-gradient(ellipse 95% 83% at 50% 48%,rgba(0,0,0,.83),#000 95%);
}

/* Fragment layer is separate from article text; no text or Citizen styles changed. */
html.kk-stormbreak-v4 #kk6-fracture {mix-blend-mode:normal;}

/* Persistent local faults; no global attack envelope. Real viewport fragments. Never intercept selection, links, or scrolling. */
html.kk-stormbreak-v4 #kk7-replicas {
 position:fixed!important;inset:0!important;z-index:412;pointer-events:none!important;
 overflow:hidden;contain:strict;visibility:hidden;user-select:none;
}
html.kk-stormbreak-v4 .kk7-plate {
 position:absolute;inset:0;pointer-events:none!important;transform-origin:50% 50%;
 contain:strict;will-change:transform;overflow:hidden;
}
html.kk-stormbreak-v4 .kk7-copy {position:absolute;inset:0;pointer-events:none!important;}
html.kk-stormbreak-v4 #kk7-replicas * {pointer-events:none!important;user-select:none!important;}
@media(prefers-reduced-motion:reduce){html.kk-stormbreak-v4 #kk7-replicas{display:none!important;}}
@media print{html.kk-stormbreak-v4 #kk7-replicas{display:none!important;}}

/* Floating shards use an independent Canvas. */

/* Small moving mirror faces invert the real page underneath, only inside each shard. */
html.kk-stormbreak-v4 #kk10-negative {
 position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;
 pointer-events:none!important;user-select:none!important;z-index:413;
 margin:0!important;padding:0!important;border:0!important;
 visibility:hidden;mix-blend-mode:difference;contain:strict;
}
@media(prefers-reduced-motion:reduce){html.kk-stormbreak-v4 #kk10-negative{display:none!important;}}
@media print{html.kk-stormbreak-v4 #kk10-negative{display:none!important;}}

/* Optional narrative anchor only; adds no visible control or layout height. */
html.kk-stormbreak-v4 .kk-fx-outburst {display:inline-block;width:0;height:0;overflow:hidden;}

/* Pixel overscan is sized from the maximum camera displacement, including narrow screens. */
html.kk-stormbreak-v4 #kk4-sky,
html.kk-stormbreak-v4 #kk4-rain,
html.kk-stormbreak-v4 #kk6-fracture,
html.kk-stormbreak-v4 #kk10-negative {
 top:calc(-1 * var(--kk-bleed,96px))!important;
 left:calc(-1 * var(--kk-bleed,96px))!important;
 right:auto!important;bottom:auto!important;
 width:calc(100vw + 2 * var(--kk-bleed,96px))!important;
 height:calc(100vh + 2 * var(--kk-bleed,96px))!important;
}
html.kk-stormbreak-v4 #kk12-inversion {
 position:fixed!important;inset:0!important;z-index:2147483000;
 pointer-events:none!important;user-select:none!important;
 background:#fff!important;mix-blend-mode:difference;
 margin:0!important;border:0!important;padding:0!important;
 opacity:0;will-change:opacity;
}
@media(prefers-reduced-motion:reduce){html.kk-stormbreak-v4 #kk12-inversion{display:none!important;}}
@media print{html.kk-stormbreak-v4 #kk12-inversion{display:none!important;}}