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

MediaWiki:Kuranoka.css:修订间差异

MediaWiki界面页面
无编辑摘要
无编辑摘要
标签:已被回退
第1行: 第1行:
/* 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,
   Kuranoka · 世界の彼方
   including its Kuranoka.css background / pseudo-elements. This layer is BELOW
   Blockland Wiki · Modern Aero UI OS26.2
   all of the original XII colored atmospheric canvases (z=408–413).
 
   It neither adds grayscale filters to Citizen nodes nor creates layout shifts. */
   保留全站 Citizen 的玻璃设计
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;
  1. 页面背景
  user-select: none !important;
  ========================================== */
  opacity: 0;
 
  margin: 0 !important;
body.skin-citizen.page-Kuranoka {
  padding: 0 !important;
    background-color: #d4daff !important;
  background: transparent !important;
 
  -webkit-backdrop-filter: grayscale(var(--kk14-gray, .96)) brightness(var(--kk14-bright, .85));
    background-image:
  backdrop-filter: grayscale(var(--kk14-gray, .96)) brightness(var(--kk14-bright, .85));
        url("https://alpenverein.wien/oeav/avAssets/img/_lv-wien/verhalten/gewitter/Alarmzeichen%20Gewitterwolken_43.jpg") !important;
  transition: opacity .8s ease;
 
  contain: layout style;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
 
    /* 仅使页面基础表面透明 */
    --color-surface-0: transparent;
}
}


 
/* Stage three: very faint drifting rainfall, separate from XII's original rain. */
/* ==========================================
html.kk-stormbreak-v4 #kk14-aftermath {
  2. 页面外层透明
  position: fixed !important;
  不修改 Citizen 的布局尺寸
  inset: 0 !important;
  ========================================== */
  z-index: 414 !important;
 
  display: block;
body.page-Kuranoka .citizen-page-container,
  width: 100vw !important;
body.page-Kuranoka .citizen-body-container {
  height: 100vh !important;
    background-color: transparent !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. */
   3. 正文玻璃参数
html.kk-stormbreak-v4 #kk14-peeks {
  ========================================== */
  position: fixed !important;
 
  inset: 0 !important;
body.page-Kuranoka {
  z-index: 416 !important;
 
  overflow: hidden !important;
    /* 白天:白色玻璃
  pointer-events: none !important;
      夜晚:深灰玻璃
  visibility: hidden;
      自动匹配网站的主题 */
  user-select: none !important;
 
  contain: strict;
    --kk-body-glass: light-dark(
        rgba(255, 255, 255, 0.5),
        rgba(38, 39, 42, 0.5)
    );
 
    /* 模糊程度 */
    --kk-body-blur: 6px;
 
    /* 边框 */
    --kk-body-border: var(--bl-border);
 
}
}
 
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek {
 
  position: absolute !important;
/* ==========================================
  top: 0;
  4. 正文毛玻璃
  left: 0;
  只作用于 #bodyContent
  box-sizing: border-box !important;
  ========================================== */
  overflow: hidden !important;
 
  pointer-events: auto !important;
body.page-Kuranoka #bodyContent.citizen-body {
  touch-action: none;
 
  cursor: grab;
    box-sizing: border-box;
  user-select: none !important;
    min-width: 0;
  background:
 
     linear-gradient(119deg,rgba(209,238,246,.26),rgba(36,58,77,.23) 52%,rgba(193,224,242,.19)),
    background: var(--kk-body-glass) !important;
     rgba(35,69,89,.12);
 
  box-shadow: inset 0 0 1px 1px rgba(218,241,250,.50);
    backdrop-filter:
  will-change: transform;
        blur(var(--kk-body-blur)) !important;
 
     -webkit-backdrop-filter:
        blur(var(--kk-body-blur)) !important;
 
     border:
        1px solid var(--kk-body-border) !important;
 
    border-radius: 12px;
 
    box-shadow:
        0 6px 24px
        var(--bl-shadow-color-sm);
 
    padding: 20px;
 
}
}
 
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));
/* ==========================================
  5. 正文内部保持透明
  ========================================== */
 
body.page-Kuranoka #mw-content-text,
body.page-Kuranoka .mw-parser-output {
    background-color: transparent !important;
}
}
 
html.kk-stormbreak-v4 #kk14-peeks .kk14-dragging {cursor:grabbing;}
 
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-mirror {
/* ==========================================
  position: absolute !important;
  6. 页面标题:白色文字
  top: 0;
  不修改标题栏背景
  left: 0;
  ========================================== */
  width: 100vw;
 
  height: 100vh;
body.page-Kuranoka #firstHeading,
  overflow: visible;
body.page-Kuranoka #firstHeading span {
  pointer-events: none !important;
    color: #ffffff !important;
  user-select: none !important;
}
}
 
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone,
/* 标题下方的小字 */
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone * {
body.page-Kuranoka #siteSub {
  pointer-events: none !important;
    color: rgba(255, 255, 255, 0.85) !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 *,
  7. 目录:不修改外观
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 * {
/* Firefox */
  color: #f5f9fc !important;
 
  -webkit-text-fill-color: #f5f9fc !important;
body.page-Kuranoka #citizen-toc {
  background: transparent !important;
    scrollbar-width: none !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 {
/* Chrome、Edge、Safari */
  max-width:none !important;
 
  background:transparent !important;
body.page-Kuranoka
  transform:none !important;
#citizen-toc::-webkit-scrollbar {
  filter:none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !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. */
   8. 移动端
@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 {
@media screen and (max-width: 768px) {
    filter: grayscale(.9);
 
  }
    body.page-Kuranoka {
        background-attachment: scroll !important;
        background-position: center top !important;
    }
 
    body.page-Kuranoka
    #bodyContent.citizen-body {
        padding: 12px;
        border-radius: 8px;
    }
 
}
}
 
@media (prefers-reduced-motion: reduce), print {
 
  html.kk-stormbreak-v4 #kk14-tone,
/* ==========================================
  html.kk-stormbreak-v4 #kk14-aftermath,
  9. 系统减少动态效果
  html.kk-stormbreak-v4 #kk14-peeks,
  ========================================== */
  html.kk-stormbreak-v4 #kk14-interruption {display:none !important;}
 
@media (prefers-reduced-motion: reduce) {
 
    body.page-Kuranoka {
        background-attachment: scroll !important;
    }
 
}
}

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

/* 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;}
}