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

MediaWiki:Kuranoka.css:修订间差异

MediaWiki界面页面
无编辑摘要
无编辑摘要
第1行: 第1行:


/* =============================================
/* ============================================
   Kuranoka · Beyond the Sky
   Kuranoka · 世界の彼方
  Transparent Glass Edition
   Blockland Wiki / Citizen Skin
   Blockland Wiki / Citizen
  Sky Glass Theme
   ============================================= */
   ============================================ */


/* ---------- 1. 背景:不加任何遮罩 ---------- */
/* ===== 1. 主题参数 ===== */


body.skin-citizen {
body.skin-citizen.page-Kuranoka {
     background-color: #777eb5 !important;
     --kk-glass-bg: rgba(22, 29, 65, 0.38);
    --kk-glass-blur: 3px;
    --kk-glass-border: rgba(215, 225, 255, 0.13);


     background-image:
    --kk-text: #f2f5ff;
         url("https://i.postimg.cc/VL43HCvj/72af46ed-af75-4059-b45d-1123d712f39b.png") !important;
    --kk-heading: #ffffff;
    --kk-link: #a9cfff;
    --kk-link-visited: #c5baff;
 
    --color-surface-0: transparent;
}
 
/* ===== 2. 页面背景 ===== */
 
body.skin-citizen.page-Kuranoka {
    background-color: #313b76 !important;
 
     background-image: url(
         "https://i.postimg.cc/VL43HCvj/72af46ed-af75-4059-b45d-1123d712f39b.png"
    ) !important;


     background-position: center center !important;
     background-position: center center !important;
第18行: 第34行:
     background-repeat: no-repeat !important;
     background-repeat: no-repeat !important;
     background-attachment: fixed !important;
     background-attachment: fixed !important;
}
/* ===== 3. Citizen 外层透明 ===== */
body.page-Kuranoka .citizen-page-container,
body.page-Kuranoka .citizen-body-container,
body.page-Kuranoka main.mw-body {
    background: transparent !important;


     --color-surface-0: transparent;
     border: none !important;
    box-shadow: none !important;


     --color-primary: #729adb;
     backdrop-filter: none !important;
     --color-link: #477fbf;
     -webkit-backdrop-filter: none !important;
    --color-link--visited: #837bc4;
}
}


/* ---------- 2. 外围完全透明 ---------- */
/* ===== 4. 正文独立玻璃 ===== */


body.page-Kuranoka #bodyContent.citizen-body {
    box-sizing: border-box;
    min-width: 0;


/* ---------- 3. 正文:轻薄毛玻璃 ---------- */
    background: var(--kk-glass-bg) !important;


    backdrop-filter: blur(var(--kk-glass-blur));
    -webkit-backdrop-filter: blur(var(--kk-glass-blur));


    border: 1px solid var(--kk-glass-border);
    border-radius: 12px;


/* ---------- 4. 正文内部透明 ---------- */
    box-shadow:
        0 8px 30px rgba(8, 12, 45, 0.10);


body.skin-citizen .mw-parser-output {
    padding: 20px;
 
    color: var(--kk-text);
 
    --color-base: var(--kk-text);
    --color-emphasized: #ffffff;
    --color-subtle: #c5cde5;
 
    --color-link: var(--kk-link);
    --color-link--visited: var(--kk-link-visited);
}
 
/* ===== 5. 正文内部透明 ===== */
 
body.page-Kuranoka #mw-content-text,
body.page-Kuranoka .mw-parser-output {
     background: transparent !important;
     background: transparent !important;
}
}


/* ---------- 5. 标题颜色 ---------- */
/* ===== 6. 正文标题统一白色 ===== */


body.skin-citizen .mw-body h1,
body.page-Kuranoka #bodyContent .mw-heading h2,
body.skin-citizen .mw-body h2,
body.page-Kuranoka #bodyContent .mw-heading h3,
body.skin-citizen .mw-body h3,
body.page-Kuranoka #bodyContent .mw-heading h4,
body.skin-citizen .mw-body h4 {
body.page-Kuranoka #bodyContent .mw-heading h5,
     color: #304b72;
body.page-Kuranoka #bodyContent .mw-heading h6 {
     color: var(--kk-heading) !important;
}
}


/* ---------- 6. 顶部导航:轻薄玻璃 ---------- */
/* ===== 7. 正文文字 ===== */


body.skin-citizen .citizen-header {
body.page-Kuranoka #mw-content-text {
     background: rgba(255, 255, 255, 0.35) !important;
     color: var(--kk-text);
}


    backdrop-filter: blur(5px);
body.page-Kuranoka #mw-content-text p,
    -webkit-backdrop-filter: blur(5px);
body.page-Kuranoka #mw-content-text li {
    color: inherit;
}


     border-bottom:
/* 链接使用浅蓝色 */
        1px solid rgba(255, 255, 255, 0.20);
body.page-Kuranoka #mw-content-text a:not(.new) {
     --color-link: var(--kk-link);
    --color-link--visited: var(--kk-link-visited);
}
}


/* ---------- 7. 目录:更加通透 ---------- */
/* ===== 8. 页面顶部标题 ===== */


body.skin-citizen .citizen-toc {
body.page-Kuranoka #citizen-page-header {
     background: rgba(255, 255, 255, 0.38) !important;
     background: rgba(16, 24, 60, 0.30) !important;


     backdrop-filter: blur(4px);
     backdrop-filter: blur(4px);
     -webkit-backdrop-filter: blur(4px);
     -webkit-backdrop-filter: blur(4px);


     border: 1px solid rgba(255, 255, 255, 0.22);
     border-bottom: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;


     box-shadow:
     --color-base: #ffffff;
        0 5px 22px rgba(32, 44, 88, 0.07);
    --color-emphasized: #ffffff;
    --color-subtle: #d3ddf5;
}
}


/* ---------- 8. 深色模式 ---------- */
/* Kuranoka 主标题 */
body.page-Kuranoka #firstHeading,
body.page-Kuranoka #firstHeading span,
body.page-Kuranoka #siteSub {
    color: #ffffff !important;
}


html.skin-theme-clientpref-night
/* ===== 9. 右侧目录 ===== */
body.skin-citizen {
    --color-surface-0: transparent;


    --color-primary: #a5b9f0;
body.page-Kuranoka #citizen-toc {
    --color-link: #a1c6ff;
     background: rgba(20, 28, 65, 0.30) !important;
     --color-link--visited: #c2b2ff;
}


html.skin-theme-clientpref-night
    backdrop-filter: blur(3px);
body.skin-citizen .mw-body {
    -webkit-backdrop-filter: blur(3px);
    background: rgba(19, 25, 49, 0.48) !important;


     color: #eef3ff;
     border: 1px solid rgba(220,230,255,0.12);
    border-radius: 12px;


     border-color: rgba(205, 215, 255, 0.20);
     box-shadow:
}
        0 6px 24px rgba(10, 15, 50, 0.08);


html.skin-theme-clientpref-night
     color: #eef3ff;
body.skin-citizen .mw-body h1,
html.skin-theme-clientpref-night
body.skin-citizen .mw-body h2,
html.skin-theme-clientpref-night
body.skin-citizen .mw-body h3,
html.skin-theme-clientpref-night
body.skin-citizen .mw-body h4 {
     color: #e0eaff;
}


html.skin-theme-clientpref-night
    --color-base: #eef3ff;
body.skin-citizen .citizen-header,
    --color-emphasized: #ffffff;
html.skin-theme-clientpref-night
    --color-subtle: #c5cde5;
body.skin-citizen .citizen-toc {
    --color-link: #b5d5ff;
    background: rgba(20, 28, 53, 0.38) !important;
     --color-link--visited: #c5baff;
     border-color: rgba(200, 215, 255, 0.16);
}
}


/* ---------- 9. 移动端 ---------- */
/* ===== 10. 信息框维持正常可读性 ===== */
 
@media (max-width: 768px) {
 
    body.skin-citizen {
        background-attachment: scroll !important;
        background-position: center top !important;
    }
 
    body.skin-citizen .mw-body {
        padding: 14px;
        border-radius: 9px;


        background: rgba(255, 255, 255, 0.64) !important;
/* 你的信息框本来就是浅蓝、白色设计,
  所以不强制改成深色。 */


        backdrop-filter: blur(3px);
body.page-Kuranoka .mw-parser-output .infobox {
        -webkit-backdrop-filter: blur(3px);
    color: #253650;
    }
}
}


/* ---------- 10. 减少动态效果 ---------- */
body.page-Kuranoka .mw-parser-output .infobox a {
 
    --color-link: #347ac0;
@media (prefers-reduced-motion: reduce) {
    --color-link--visited: #706cba;
    body.skin-citizen {
        background-attachment: scroll !important;
    }
}
}


/* ===== 11. 深色模式 ===== */


/* ==========================================
/* 深色模式沿用蓝紫玻璃,不再变成白色 */
  Kuranoka · 正文范围修复
html.skin-theme-clientpref-night
  基于实际 Citizen HTML 结构
body.page-Kuranoka {
  ========================================== */
    --kk-glass-bg: rgba(16, 22, 55, 0.46);


/* 1. 页面外层:完全透明 */
    --kk-text: #f2f5ff;
body.skin-citizen .citizen-page-container,
     --kk-heading: #ffffff;
body.skin-citizen .mw-body,
body.skin-citizen .citizen-body-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
     -webkit-backdrop-filter: none !important;
}


/* 2. 恢复主容器原有间距 */
    --kk-link: #b2d5ff;
body.skin-citizen .mw-body {
     --kk-link-visited: #cebdff;
     padding: 0 !important;
}
}


/* 3. 仅文章正文:轻薄玻璃 */
/* ===== 12. 浅色模式 ===== */
body.skin-citizen #bodyContent.citizen-body {
    box-sizing: border-box;


    background: rgba(255,255,255,0.75) !important;
/* 浅色模式保持清透玻璃,
backdrop-filter: blur(3px);
  使用深色文字保证对比度。 */
-webkit-backdrop-filter: blur(3px);


     border: 1px solid rgba(255, 255, 255, 0.20);
html:not(.skin-theme-clientpref-night)
    border-radius: 16px;
body.page-Kuranoka {
     --kk-glass-bg: rgba(246, 248, 255, 0.48);


     box-shadow: 0 5px 24px rgba(25, 40, 85, 0.06);
     --kk-text: #263750;
    --kk-heading: #ffffff;


     padding: 20px;
     --kk-link: #337cbd;
     min-width: 0;
     --kk-link-visited: #7568b3;
}
}


/* 4. 正文内部不要重复叠加背景 */
/* 浅色模式的正文标题改成深蓝,
body.skin-citizen #mw-content-text,
  避免在浅色玻璃上看不清。 */
body.skin-citizen .mw-parser-output {
 
     background: transparent !important;
html:not(.skin-theme-clientpref-night)
body.page-Kuranoka #bodyContent .mw-heading h2,
html:not(.skin-theme-clientpref-night)
body.page-Kuranoka #bodyContent .mw-heading h3,
html:not(.skin-theme-clientpref-night)
body.page-Kuranoka #bodyContent .mw-heading h4 {
     color: #294c79 !important;
}
}


/* 5. 目录独立显示 */
/* ===== 13. 移动端 ===== */
body.skin-citizen #citizen-toc {
    background: rgba(255, 255, 255, 0.35) !important;


    backdrop-filter: blur(3px);
@media (max-width: 768px) {
     -webkit-backdrop-filter: blur(3px);
     body.page-Kuranoka {
        background-attachment: scroll !important;
        background-position: center top !important;
    }


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


/* 6. 手机端 */
/* ===== 14. 减少动态效果 ===== */
@media (max-width: 768px) {
 
     body.skin-citizen #bodyContent.citizen-body {
@media (prefers-reduced-motion: reduce) {
         padding: 12px;
     body.page-Kuranoka {
        border-radius: 8px;
         background-attachment: scroll !important;
        background: rgba(255, 255, 255, 0.55) !important;
     }
     }
}
}

2026年10月20日 (二) 00:10的版本


/* ============================================
   Kuranoka · 世界の彼方
   Blockland Wiki / Citizen Skin
   Sky Glass Theme
   ============================================ */

/* ===== 1. 主题参数 ===== */

body.skin-citizen.page-Kuranoka {
    --kk-glass-bg: rgba(22, 29, 65, 0.38);
    --kk-glass-blur: 3px;
    --kk-glass-border: rgba(215, 225, 255, 0.13);

    --kk-text: #f2f5ff;
    --kk-heading: #ffffff;
    --kk-link: #a9cfff;
    --kk-link-visited: #c5baff;

    --color-surface-0: transparent;
}

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

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

    background-image: url(
        "https://i.postimg.cc/VL43HCvj/72af46ed-af75-4059-b45d-1123d712f39b.png"
    ) !important;

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

/* ===== 3. Citizen 外层透明 ===== */

body.page-Kuranoka .citizen-page-container,
body.page-Kuranoka .citizen-body-container,
body.page-Kuranoka main.mw-body {
    background: transparent !important;

    border: none !important;
    box-shadow: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* ===== 4. 正文独立玻璃 ===== */

body.page-Kuranoka #bodyContent.citizen-body {
    box-sizing: border-box;
    min-width: 0;

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

    backdrop-filter: blur(var(--kk-glass-blur));
    -webkit-backdrop-filter: blur(var(--kk-glass-blur));

    border: 1px solid var(--kk-glass-border);
    border-radius: 12px;

    box-shadow:
        0 8px 30px rgba(8, 12, 45, 0.10);

    padding: 20px;

    color: var(--kk-text);

    --color-base: var(--kk-text);
    --color-emphasized: #ffffff;
    --color-subtle: #c5cde5;

    --color-link: var(--kk-link);
    --color-link--visited: var(--kk-link-visited);
}

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

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

/* ===== 6. 正文标题统一白色 ===== */

body.page-Kuranoka #bodyContent .mw-heading h2,
body.page-Kuranoka #bodyContent .mw-heading h3,
body.page-Kuranoka #bodyContent .mw-heading h4,
body.page-Kuranoka #bodyContent .mw-heading h5,
body.page-Kuranoka #bodyContent .mw-heading h6 {
    color: var(--kk-heading) !important;
}

/* ===== 7. 正文文字 ===== */

body.page-Kuranoka #mw-content-text {
    color: var(--kk-text);
}

body.page-Kuranoka #mw-content-text p,
body.page-Kuranoka #mw-content-text li {
    color: inherit;
}

/* 链接使用浅蓝色 */
body.page-Kuranoka #mw-content-text a:not(.new) {
    --color-link: var(--kk-link);
    --color-link--visited: var(--kk-link-visited);
}

/* ===== 8. 页面顶部标题 ===== */

body.page-Kuranoka #citizen-page-header {
    background: rgba(16, 24, 60, 0.30) !important;

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    border-bottom: 1px solid rgba(255,255,255,0.12);

    --color-base: #ffffff;
    --color-emphasized: #ffffff;
    --color-subtle: #d3ddf5;
}

/* Kuranoka 主标题 */
body.page-Kuranoka #firstHeading,
body.page-Kuranoka #firstHeading span,
body.page-Kuranoka #siteSub {
    color: #ffffff !important;
}

/* ===== 9. 右侧目录 ===== */

body.page-Kuranoka #citizen-toc {
    background: rgba(20, 28, 65, 0.30) !important;

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    border: 1px solid rgba(220,230,255,0.12);
    border-radius: 12px;

    box-shadow:
        0 6px 24px rgba(10, 15, 50, 0.08);

    color: #eef3ff;

    --color-base: #eef3ff;
    --color-emphasized: #ffffff;
    --color-subtle: #c5cde5;
    --color-link: #b5d5ff;
    --color-link--visited: #c5baff;
}

/* ===== 10. 信息框维持正常可读性 ===== */

/* 你的信息框本来就是浅蓝、白色设计,
   所以不强制改成深色。 */

body.page-Kuranoka .mw-parser-output .infobox {
    color: #253650;
}

body.page-Kuranoka .mw-parser-output .infobox a {
    --color-link: #347ac0;
    --color-link--visited: #706cba;
}

/* ===== 11. 深色模式 ===== */

/* 深色模式沿用蓝紫玻璃,不再变成白色 */
html.skin-theme-clientpref-night
body.page-Kuranoka {
    --kk-glass-bg: rgba(16, 22, 55, 0.46);

    --kk-text: #f2f5ff;
    --kk-heading: #ffffff;

    --kk-link: #b2d5ff;
    --kk-link-visited: #cebdff;
}

/* ===== 12. 浅色模式 ===== */

/* 浅色模式保持清透玻璃,
   使用深色文字保证对比度。 */

html:not(.skin-theme-clientpref-night)
body.page-Kuranoka {
    --kk-glass-bg: rgba(246, 248, 255, 0.48);

    --kk-text: #263750;
    --kk-heading: #ffffff;

    --kk-link: #337cbd;
    --kk-link-visited: #7568b3;
}

/* 浅色模式的正文标题改成深蓝,
   避免在浅色玻璃上看不清。 */

html:not(.skin-theme-clientpref-night)
body.page-Kuranoka #bodyContent .mw-heading h2,
html:not(.skin-theme-clientpref-night)
body.page-Kuranoka #bodyContent .mw-heading h3,
html:not(.skin-theme-clientpref-night)
body.page-Kuranoka #bodyContent .mw-heading h4 {
    color: #294c79 !important;
}

/* ===== 13. 移动端 ===== */

@media (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;
    }
}

/* ===== 14. 减少动态效果 ===== */

@media (prefers-reduced-motion: reduce) {
    body.page-Kuranoka {
        background-attachment: scroll !important;
    }
}