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

MediaWiki:KuranokaFX.css:修订间差异

MediaWiki界面页面
无编辑摘要
无编辑摘要
第1行: 第1行:
/*
/* STORMBREAK IV — Kuranoka only. Requires JS to add kk-stormbreak-v4 class.
* KURANOKA // STORMBREAK III — Citizen / Blockland Wiki
  Does NOT change article typography, colors, font sizes, heading layouts, or Citizen components. */
* Only injected on /wiki/Kuranoka by the existing Citizen.js loader.
html.kk-stormbreak-v4 #kk4-pressure,
* The class guard is a second safety boundary. It NEVER styles wiki content.
html.kk-stormbreak-v4 #kk4-sky,
*/
html.kk-stormbreak-v4 #kk4-rain {
html.kk-stormbreak-v3 #kk-sb3-sky,
html.kk-stormbreak-v3 #kk-sb3-glass,
html.kk-stormbreak-v3 #kk-sb3-choke {
   position: fixed !important;
   position: fixed !important;
   inset: 0 !important;
   top: 0 !important;
   box-sizing: border-box;
   left: 0 !important;
   width: 100vw !important;
   width: 100vw !important;
   height: 100vh !important;
   height: 100vh !important;
第17行: 第14行:
   pointer-events: none !important;
   pointer-events: none !important;
   user-select: none !important;
   user-select: none !important;
   touch-action: none !important;
   overflow: hidden !important;
  visibility: hidden;
  transform-origin: center center;
   contain: strict;
   contain: strict;
  visibility: hidden;
}
}
html.kk-stormbreak-v3.kk-sb3-on #kk-sb3-sky,
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-v3.kk-sb3-on #kk-sb3-glass,
html.kk-stormbreak-v4 #kk4-sky {z-index: 409; will-change: transform;}
html.kk-stormbreak-v3.kk-sb3-on #kk-sb3-choke { visibility: visible; }
html.kk-stormbreak-v4 #kk4-rain {z-index: 410; will-change: transform;}
/* Above Citizen's sidebar and pagechrome, but below overlays/dialogs where possible. */
html.kk-stormbreak-v4.kk-v4-on #kk4-pressure,
html.kk-stormbreak-v3 #kk-sb3-sky { z-index: 410; opacity: 1; }
html.kk-stormbreak-v4.kk-v4-on #kk4-sky,
html.kk-stormbreak-v3 #kk-sb3-glass { z-index: 411; opacity: 1; }
html.kk-stormbreak-v4.kk-v4-on #kk4-rain {visibility: visible;}
html.kk-stormbreak-v3 #kk-sb3-choke {
/* Protect the central copy without painting over or altering its actual text. */
   z-index: 409;
html.kk-stormbreak-v4 #kk4-sky {
  opacity: var(--kk-sb3-deep, 0);
   -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%);
  transition: opacity .24s linear;
  mask-image: radial-gradient(ellipse 62% 61% at 49% 50%, rgba(0,0,0,.12) 3%, rgba(0,0,0,.44) 55%, #000 99%);
  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(168deg, rgba(1,6,20,.48), transparent 29%, transparent 70%, rgba(3,5,18,.57));
}
}
/*
/* Defeat lingering V2/V3 visual widgets if the browser was previously caching old sheets. */
* Central reading corridor stays bright/legible, even with maximum storm.
html.kk-stormbreak-v4 #kk-stormbreak-controls,
* The mask affects FX CANVASES ONLY, never the article or Citizen CSS.
html.kk-stormbreak-v4 #kk-stormbreak-canvas,
*/
html.kk-stormbreak-v4 #kk-stormbreak-atmosphere,
html.kk-stormbreak-v3 #kk-sb3-glass,
html.kk-stormbreak-v4 #kk-sb3-sky,
html.kk-stormbreak-v3 #kk-sb3-sky {
html.kk-stormbreak-v4 #kk-sb3-glass,
  -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%);
html.kk-stormbreak-v4 #kk-sb3-choke {display:none!important;}
  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 #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 (max-width: 680px) {
@media (prefers-reduced-motion:reduce){
   html.kk-stormbreak-v3 #kk-sb3-glass,
   html.kk-stormbreak-v4 #kk4-pressure,
   html.kk-stormbreak-v3 #kk-sb3-sky {
   html.kk-stormbreak-v4 #kk4-sky,
    -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%);
  html.kk-stormbreak-v4 #kk4-rain {display:none!important;}
    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%);
  }
}
}
/* No UI, no floating controls, no font, text, image, infobox or layout overrides. */
@media print{
/* Hide old V2 surfaces if they remain from a partially refreshed page. */
   html.kk-stormbreak-v4 #kk4-pressure,
html.kk-stormbreak-v3 #kk-stormbreak-controls,
   html.kk-stormbreak-v4 #kk4-sky,
html.kk-stormbreak-v3 #kk-stormbreak-canvas,
   html.kk-stormbreak-v4 #kk4-rain {display:none!important;}
html.kk-stormbreak-v3 #kk-stormbreak-atmosphere { 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-v4 #kk4-rain {
   html.kk-stormbreak-v3 #kk-sb3-glass,
   -webkit-mask-image: radial-gradient(ellipse 64% 63% at 48% 48%, rgba(0,0,0,.30) 3%,rgba(0,0,0,.65) 58%,#000 100%);
   html.kk-stormbreak-v3 #kk-sb3-choke { display: none !important; }
   mask-image: radial-gradient(ellipse 64% 63% at 48% 48%, rgba(0,0,0,.30) 3%,rgba(0,0,0,.65) 58%,#000 100%);
}
}

2026年10月16日 (五) 13:17的版本

/* STORMBREAK IV — 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 {
  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.kk-v4-on #kk4-pressure,
html.kk-stormbreak-v4.kk-v4-on #kk4-sky,
html.kk-stormbreak-v4.kk-v4-on #kk4-rain {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 {display:none!important;}
}
@media print{
  html.kk-stormbreak-v4 #kk4-pressure,
  html.kk-stormbreak-v4 #kk4-sky,
  html.kk-stormbreak-v4 #kk4-rain {display:none!important;}
}

html.kk-stormbreak-v4 #kk4-rain {
  -webkit-mask-image: radial-gradient(ellipse 64% 63% at 48% 48%, rgba(0,0,0,.30) 3%,rgba(0,0,0,.65) 58%,#000 100%);
  mask-image: radial-gradient(ellipse 64% 63% at 48% 48%, rgba(0,0,0,.30) 3%,rgba(0,0,0,.65) 58%,#000 100%);
}