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

MediaWiki:KuranokaFX.css:修订间差异

MediaWiki界面页面
无编辑摘要
标签:已被回退
无编辑摘要
标签:已被回退
(未显示同一用户的1个中间版本)
第1行: 第1行:
/* ================================================================
/* KURANOKA / STORMBREAK XIV — RECONNECTION
  KURANOKA / STORMBREAK XIII — LOST CONNECTION
   ONLY add to the END of the original STORMBREAK XII CSS.
   Append to the END of existing Kuranoka Stormbreak XII CSS.
   Completely remove the XIII addon first (the .kk-sb-world filter is obsolete).
   Keep the original storm styles. Scope: html.kk-stormbreak-v4 only.
   MediaWiki:Kuranoka.css remains untouched. Everything is namespaced #kk14-*.
   ================================================================ */
*/


/* Gray out the page as a collection of existing site-root nodes,
/* Backdrop filter desaturates the CURRENT COMPOSITE of the actual Wiki page,
   NOT the body element (the colored Canvas layers are body siblings). */
   including its Kuranoka.css background / pseudo-elements. This layer is BELOW
html.kk-stormbreak-v4.kk-sb-afterlink .kk-sb-world {
  all of the original XII colored atmospheric canvases (z=408–413).
  filter: grayscale(var(--kk-sb-gray, 1)) brightness(var(--kk-sb-dim, .72)) contrast(1.06);
  It neither adds grayscale filters to Citizen nodes nor creates layout shifts. */
  transition: filter .7s ease;
html.kk-stormbreak-v4 #kk14-tone {
}
 
/* The interruption is a deliberate, click-to-continue scene, not a timer. */
html.kk-stormbreak-v4 #kk-sb-gate {
   position: fixed !important;
   position: fixed !important;
   inset: 0 !important;
   inset: 0 !important;
   z-index: 2147482950 !important;
   z-index: 407 !important;
   display: grid;
   box-sizing: border-box !important;
   place-items: center;
   pointer-events: none !important;
  user-select: none !important;
  opacity: 0;
   margin: 0 !important;
   margin: 0 !important;
  padding: 24px !important;
  box-sizing: border-box;
  color: #e8eff7;
  background:
    radial-gradient(ellipse 72% 75% at 50% 47%, rgba(17,30,49,.92), rgba(1,4,12,.985) 82%),
    #02050a;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  text-align: center;
  isolation: isolate;
}
html.kk-stormbreak-v4 #kk-sb-gate[hidden] {display:none !important;}
html.kk-stormbreak-v4 #kk-sb-gate::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .19;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(182,210,229,.16) 0 1px, transparent 1px 7px);
  mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
}
html.kk-stormbreak-v4 .kk-sb-gate-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 540px);
  box-sizing: border-box;
  padding: clamp(22px,5vw,48px);
  border: 1px solid rgba(175,208,231,.23);
  border-radius: 4px;
  background: rgba(2,8,19,.55);
  box-shadow: 0 0 100px rgba(30,83,110,.16), inset 0 0 1px rgba(236,249,255,.25);
}
html.kk-stormbreak-v4 .kk-sb-gate-icon {
  display: block;
  margin-bottom: 22px;
  font-size: 23px;
  letter-spacing: .24em;
  color: #a2e8f2;
}
html.kk-stormbreak-v4 .kk-sb-gate-code {
  font: 500 12px/1.8 ui-monospace, 'Consolas', monospace;
  color: #7fa4b5;
  letter-spacing: .21em;
}
html.kk-stormbreak-v4 #kk-sb-gate h2 {
  margin: 12px 0 23px !important;
   padding: 0 !important;
   padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #f0f7fa !important;
  font: 750 clamp(25px,5.6vw,42px)/1.13 ui-monospace, 'Consolas', monospace !important;
  letter-spacing: .07em;
  overflow-wrap: anywhere;
}
html.kk-stormbreak-v4 #kk-sb-gate p {
  margin: 0 auto 10px !important;
  color: #d4e0e9 !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}
html.kk-stormbreak-v4 #kk-sb-gate .kk-sb-gate-sub {
  margin: 14px auto 27px !important;
  color: #9daebb !important;
  font-size: 12px !important;
}
html.kk-stormbreak-v4 .kk-sb-gate-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
html.kk-stormbreak-v4 #kk-sb-gate button {
  border-radius: 3px !important;
  padding: 12px 19px !important;
  min-height: 44px;
  border: 1px solid rgba(169,214,232,.5) !important;
  background: rgba(34,82,100,.27) !important;
  color: #e3f8ff !important;
  font: 500 14px/1.3 system-ui, sans-serif !important;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
html.kk-stormbreak-v4 #kk-sb-gate button:hover,
html.kk-stormbreak-v4 #kk-sb-gate button:focus-visible {
  background: rgba(70,139,162,.43) !important;
  border-color: #d6f8ff !important;
  outline: 2px solid #7ecbe1;
  outline-offset: 3px;
}
html.kk-stormbreak-v4 #kk-sb-gate .kk-sb-skip {
  color: #a2b0bc !important;
   background: transparent !important;
   background: transparent !important;
   border-color: rgba(153,169,185,.18) !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;
}
}


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


/* Drifting, freely draggable shards. Only their clipped polygons intercept
/* Interactive shards. Keep the original XII canvas fractures AS THEY WERE.
   pointer events; the rest of the wiki is still scrollable/selectable. */
   These are just a few extra tiny translucent reading windows. */
html.kk-stormbreak-v4 #kk-sb-peeks {
html.kk-stormbreak-v4 #kk14-peeks {
   position: fixed !important;
   position: fixed !important;
   inset: 0 !important;
   inset: 0 !important;
   z-index: 416 !important;
   z-index: 416 !important;
   width: 100vw !important;
   overflow: hidden !important;
  height: 100vh !important;
  overflow: hidden;
   pointer-events: none !important;
   pointer-events: none !important;
   visibility: hidden;
   visibility: hidden;
   user-select: none;
   user-select: none !important;
   contain: strict;
   contain: strict;
}
}
html.kk-stormbreak-v4 .kk-sb-peek {
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek {
   position: absolute;
   position: absolute !important;
   top: 0;
   top: 0;
   left: 0;
   left: 0;
   box-sizing: border-box;
   box-sizing: border-box !important;
   overflow: hidden;
   overflow: hidden !important;
   pointer-events: auto !important;
   pointer-events: auto !important;
   touch-action: none;
   touch-action: none;
第153行: 第64行:
   user-select: none !important;
   user-select: none !important;
   background:
   background:
     linear-gradient(126deg, rgba(193,229,244,.39), rgba(14,37,53,.65) 36%, rgba(69,111,144,.47) 74%, rgba(225,239,250,.46)),
     linear-gradient(119deg,rgba(209,238,246,.26),rgba(36,58,77,.23) 52%,rgba(193,224,242,.19)),
     rgba(26,43,62,.43);
     rgba(35,69,89,.12);
   box-shadow: inset 0 0 2px 1px rgba(204,236,255,.64), inset 0 0 36px rgba(60,125,151,.34);
   box-shadow: inset 0 0 1px 1px rgba(218,241,250,.50);
   will-change: transform;
   will-change: transform;
}
}
html.kk-stormbreak-v4 .kk-sb-peek:nth-child(4n) {
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek:nth-child(4n) {
   background:
   background: linear-gradient(133deg,rgba(210,81,103,.28),rgba(48,13,28,.27),rgba(219,161,180,.18));
    linear-gradient(130deg, rgba(242,191,210,.35), rgba(65,11,26,.72) 43%, rgba(149,43,67,.45)),
    rgba(49,12,23,.5);
}
}
html.kk-stormbreak-v4 .kk-sb-peek-grabbed {cursor: grabbing;}
html.kk-stormbreak-v4 #kk14-peeks .kk14-dragging {cursor:grabbing;}
html.kk-stormbreak-v4 .kk-sb-peek-mirror {
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-mirror {
   position: absolute !important;
   position: absolute !important;
   top: 0;
   top: 0;
第170行: 第79行:
   width: 100vw;
   width: 100vw;
   height: 100vh;
   height: 100vh;
  box-sizing: border-box;
   overflow: visible;
   overflow: visible;
   pointer-events: none !important;
   pointer-events: none !important;
   user-select: none !important;
   user-select: none !important;
}
}
html.kk-stormbreak-v4 .kk-sb-peek-clone,
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone,
html.kk-stormbreak-v4 .kk-sb-peek-clone * {
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone * {
   pointer-events: none !important;
   pointer-events: none !important;
   user-select: none !important;
   user-select: none !important;
  text-decoration-color: currentColor;
}
}
/* This is the genuine template black curtain: don't reveal the DOM behind
/* This unlocks text inside a shard CLONE only; original {{黑幕}} stays opaque. */
  it globally; reveal an accurate local copy *inside shard windows only*. */
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone .heimu,
html.kk-stormbreak-v4 #kk-sb-peeks .kk-sb-peek-clone .heimu,
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone .heimu *,
html.kk-stormbreak-v4 #kk-sb-peeks .kk-sb-peek-clone .heimu *,
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone .blackout,
html.kk-stormbreak-v4 #kk-sb-peeks .kk-sb-peek-clone .blackout,
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone .blackout *,
html.kk-stormbreak-v4 #kk-sb-peeks .kk-sb-peek-clone .blackout *,
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone .spoiler,
html.kk-stormbreak-v4 #kk-sb-peeks .kk-sb-peek-clone .spoiler,
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone .spoiler * {
html.kk-stormbreak-v4 #kk-sb-peeks .kk-sb-peek-clone .spoiler * {
   color: #f5f9fc !important;
   color: #f4fbff !important;
  -webkit-text-fill-color: #f5f9fc !important;
   background: transparent !important;
   background: transparent !important;
   text-shadow: 0 1px 2px rgba(0,0,0,.75) !important;
  background-color: transparent !important;
   text-shadow: 0 1px 2px rgba(0,0,0,.70) !important;
   opacity: 1 !important;
   opacity: 1 !important;
   -webkit-text-fill-color: #f4fbff !important;
   filter: none !important;
}
}
html.kk-stormbreak-v4 #kk-sb-peeks .kk-sb-peek-clone {
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone {
   background: transparent !important;
   max-width:none !important;
   max-width: none !important;
   background:transparent !important;
   transform: none !important;
   transform:none !important;
   filter: none !important;
   filter:none !important;
}
}


@media (max-width:680px) {
/* Isolated narrative pause is a Shadow DOM component created by JS.
  html.kk-stormbreak-v4 #kk-sb-gate {padding: 15px !important;}
  Page CSS rules for h2, buttons, infoboxes or Citizen do not enter it. */
  html.kk-stormbreak-v4 .kk-sb-gate-actions {flex-direction:column;}
@supports not ((backdrop-filter: grayscale(1)) or (-webkit-backdrop-filter: grayscale(1))) {
   html.kk-stormbreak-v4 .kk-sb-gate-actions button {width:100%;}
   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 {
@media (prefers-reduced-motion:reduce) {
    filter: grayscale(.9);
  html.kk-stormbreak-v4 #kk-sb-gate,
  }
  html.kk-stormbreak-v4 #kk13-aftermath,
  html.kk-stormbreak-v4 #kk-sb-peeks {display:none !important;}
   html.kk-stormbreak-v4.kk-sb-afterlink .kk-sb-world {filter:none !important;}
}
}
@media print {
@media (prefers-reduced-motion: reduce), print {
   html.kk-stormbreak-v4 #kk-sb-gate,
   html.kk-stormbreak-v4 #kk14-tone,
   html.kk-stormbreak-v4 #kk13-aftermath,
   html.kk-stormbreak-v4 #kk14-aftermath,
   html.kk-stormbreak-v4 #kk-sb-peeks {display:none !important;}
   html.kk-stormbreak-v4 #kk14-peeks,
   html.kk-stormbreak-v4.kk-sb-afterlink .kk-sb-world {filter:none !important;}
   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;}
}