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

MediaWiki:Kuranoka.css:修订间差异

MediaWiki界面页面
无编辑摘要
标签:已被回退
无编辑摘要
 
(未显示同一用户的3个中间版本)
第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,
/* ==========================================
   including its Kuranoka.css background / pseudo-elements. This layer is BELOW
   Kuranoka · 世界の彼方
   all of the original XII colored atmospheric canvases (z=408–413).
  Blockland Wiki · Modern Aero UI OS26.2
   It neither adds grayscale filters to Citizen nodes nor creates layout shifts. */
 
html.kk-stormbreak-v4 #kk14-tone {
  保留全站 Citizen 的玻璃设计
  position: fixed !important;
  只定制背景、正文、标题文字
  inset: 0 !important;
  ========================================== */
  z-index: 407 !important;
 
  box-sizing: border-box !important;
 
  pointer-events: none !important;
/* ==========================================
  user-select: none !important;
   1. 页面背景
  opacity: 0;
   ========================================== */
  margin: 0 !important;
 
  padding: 0 !important;
body.skin-citizen.page-Kuranoka {
  background: transparent !important;
    background-color: #d4daff !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));
    background-image:
  transition: opacity .8s ease;
        url("https://blockland.wiki/images/0/05/%E7%A7%AF%E9%9B%A8%E4%BA%911.png") !important;
  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 {
/* ==========================================
  position: fixed !important;
  2. 页面外层透明
  inset: 0 !important;
  不修改 Citizen 的布局尺寸
  z-index: 414 !important;
  ========================================== */
  display: block;
 
  width: 100vw !important;
body.page-Kuranoka .citizen-page-container,
  height: 100vh !important;
body.page-Kuranoka .citizen-body-container {
  visibility: hidden;
    background-color: transparent !important;
  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 {
  3. 正文玻璃参数
  position: fixed !important;
   ========================================== */
  inset: 0 !important;
 
  z-index: 416 !important;
body.page-Kuranoka {
  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;
/* ==========================================
  left: 0;
  4. 正文毛玻璃
  box-sizing: border-box !important;
  只作用于 #bodyContent
  overflow: hidden !important;
  ========================================== */
  pointer-events: auto !important;
 
  touch-action: none;
body.page-Kuranoka #bodyContent.citizen-body {
  cursor: grab;
 
  user-select: none !important;
    box-sizing: border-box;
  background:
    min-width: 0;
     linear-gradient(119deg,rgba(209,238,246,.26),rgba(36,58,77,.23) 52%,rgba(193,224,242,.19)),
 
     rgba(35,69,89,.12);
    background: var(--kk-body-glass) !important;
  box-shadow: inset 0 0 1px 1px rgba(218,241,250,.50);
 
  will-change: transform;
    backdrop-filter:
        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;
/* ==========================================
  top: 0;
  6. 页面标题:白色文字
  left: 0;
  不修改标题栏背景
  width: 100vw;
  ========================================== */
  height: 100vh;
 
  overflow: visible;
body.page-Kuranoka #firstHeading,
  pointer-events: none !important;
body.page-Kuranoka #firstHeading span {
  user-select: none !important;
    color: #ffffff !important;
}
}
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone,
 
html.kk-stormbreak-v4 #kk14-peeks .kk14-peek-clone * {
/* 标题下方的小字 */
  pointer-events: none !important;
body.page-Kuranoka #siteSub {
  user-select: none !important;
    color: rgba(255, 255, 255, 0.85) !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,
  7. 目录:不修改外观
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;
/* Firefox */
  -webkit-text-fill-color: #f5f9fc !important;
 
  background: transparent !important;
body.page-Kuranoka #citizen-toc {
  background-color: transparent !important;
    scrollbar-width: none !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;
/* Chrome、Edge、Safari */
  background:transparent !important;
 
  transform:none !important;
body.page-Kuranoka
  filter:none !important;
#citizen-toc::-webkit-scrollbar {
    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. */
/* ==========================================
@supports not ((backdrop-filter: grayscale(1)) or (-webkit-backdrop-filter: grayscale(1))) {
  8. 移动端
  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 screen and (max-width: 768px) {
  }
 
    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,
/* ==========================================
  html.kk-stormbreak-v4 #kk14-peeks,
  9. 系统减少动态效果
  html.kk-stormbreak-v4 #kk14-interruption {display:none !important;}
  ========================================== */
 
@media (prefers-reduced-motion: reduce) {
 
    body.page-Kuranoka {
        background-attachment: scroll !important;
    }
 
}
}

2026年10月21日 (三) 21:31的最新版本


/* ==========================================
   Kuranoka · 世界の彼方
   Blockland Wiki · Modern Aero UI OS26.2

   保留全站 Citizen 的玻璃设计
   只定制背景、正文、标题文字
   ========================================== */


/* ==========================================
   1. 页面背景
   ========================================== */

body.skin-citizen.page-Kuranoka {
    background-color: #d4daff !important;

    background-image:
        url("https://blockland.wiki/images/0/05/%E7%A7%AF%E9%9B%A8%E4%BA%911.png") !important;

    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;

    /* 仅使页面基础表面透明 */
    --color-surface-0: transparent;
}


/* ==========================================
   2. 页面外层透明
   不修改 Citizen 的布局尺寸
   ========================================== */

body.page-Kuranoka .citizen-page-container,
body.page-Kuranoka .citizen-body-container {
    background-color: transparent !important;
}


/* ==========================================
   3. 正文玻璃参数
   ========================================== */

body.page-Kuranoka {

    /* 白天:白色玻璃
       夜晚:深灰玻璃
       自动匹配网站的主题 */

    --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);

}


/* ==========================================
   4. 正文毛玻璃
   只作用于 #bodyContent
   ========================================== */

body.page-Kuranoka #bodyContent.citizen-body {

    box-sizing: border-box;
    min-width: 0;

    background: var(--kk-body-glass) !important;

    backdrop-filter:
        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;

}


/* ==========================================
   5. 正文内部保持透明
   ========================================== */

body.page-Kuranoka #mw-content-text,
body.page-Kuranoka .mw-parser-output {
    background-color: transparent !important;
}


/* ==========================================
   6. 页面标题:白色文字
   不修改标题栏背景
   ========================================== */

body.page-Kuranoka #firstHeading,
body.page-Kuranoka #firstHeading span {
    color: #ffffff !important;
}

/* 标题下方的小字 */
body.page-Kuranoka #siteSub {
    color: rgba(255, 255, 255, 0.85) !important;
}


/* ==========================================
   7. 目录:不修改外观
   仅隐藏内部滚动条
   ========================================== */

/* Firefox */

body.page-Kuranoka #citizen-toc {
    scrollbar-width: none !important;
}

/* Chrome、Edge、Safari */

body.page-Kuranoka
#citizen-toc::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}


/* ==========================================
   8. 移动端
   ========================================== */

@media screen and (max-width: 768px) {

    body.page-Kuranoka {
        background-attachment: scroll !important;
        background-position: center top !important;
    }

    body.page-Kuranoka
    #bodyContent.citizen-body {
        padding: 12px;
        border-radius: 8px;
    }

}


/* ==========================================
   9. 系统减少动态效果
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    body.page-Kuranoka {
        background-attachment: scroll !important;
    }

}