MediaWiki:Common.css:修订间差异

来自夜幕之下
跳到导航跳到搜索
Rin留言 | 贡献
无编辑摘要
标签已被回退
Rin留言 | 贡献
撤销Rin讨论)的修订版本82
标签撤销
第102行: 第102行:
/* --------------------------------------------------卡面相关--------------------------------------------------- */
/* --------------------------------------------------卡面相关--------------------------------------------------- */
/** 全屏卡面 **/
/** 全屏卡面 **/
/* 全屏背景图片 */
/* 全屏背景 */
.card-fullscreen-img {
.card-fullscreen-img {
     position: fixed;
     position: fixed;
第111行: 第111行:
     z-index: 0;
     z-index: 0;
     overflow: hidden;
     overflow: hidden;
    pointer-events: none; /* 取消点击跳转 */
}
}


第127行: 第126行:
     left: 0;
     left: 0;
     width: 100%;
     width: 100%;
     height: 20vh;
     height: 20vh; /* 约占屏幕底部 20% */
     background: linear-gradient(to top, rgba(255,255,255,0.95), transparent 100%);
     background: linear-gradient(to top, rgba(255,255,255,0.95), transparent 100%);
     z-index: 1;
     z-index: 1;
     pointer-events: none;
     pointer-events: none; /* 避免遮挡滚动 */
}
}


/* 白色大背景,带中间轻微凸起弧线 */
/* 正文容器 */
.card-content-bg {
.card-content-container {
     position: relative;
     position: relative;
     z-index: 2;
     z-index: 2;
     margin-top: 80vh; /* 从屏幕底部20%出现 */
     margin-top: 80vh; /* 从屏幕底部 20% 开始显示 */
     width: 100%;
     width: 100%;
     min-height: 100vh; /* 保证足够高度 */
     max-width: 1280px; /* 可调整 */
     background: rgba(255,255,255,0.95);
     margin-left: auto;
    backdrop-filter: blur(8px);
     margin-right: auto;
     clip-path: ellipse(100% 98% at 50% 0%); /* 中间轻微凸起 */
}
 
/* 内部文章内容容器 */
.card-content-container {
    max-width: 1100px; /* 限制宽度,但比较宽 */
    margin: 0 auto;
     padding: 2rem;
     padding: 2rem;
     box-sizing: border-box;
     box-sizing: border-box;
    background: rgba(255,255,255,0.6); /* 可微调透明度 */
    backdrop-filter: blur(8px); /* 模糊背景 */
    border-radius: 16px 16px 0 0;
}
}

2026年3月2日 (一) 23:19的版本

/* 这里放置的CSS将应用于所有皮肤 */

/* 全局 */
:root {
  color-scheme: dark;

  /* 色相:暖粉 */
  --color-progressive-oklch__h: 15 !important;

  /* 正文字亮度 */
  --color-base-oklch__l: 92% !important;
  --color-base-oklch__c: 0.03 !important;

  /* 次级文字 */
  --color-subtle-oklch__l: 75% !important;
  --color-subtle-oklch__c: 0.025 !important;

  /* 强调文字 */
  --color-emphasized-oklch__l: 98% !important;
  --color-emphasized-oklch__c: 0.04 !important;
}

/* 背景相关 */
html {
  background-image: url("/images/b/b5/Banner.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment:fixed;
}

body {
	background: radial-gradient(
    circle at 50% 30%,
    rgba(0, 0, 0, 0) 35%,
    rgba(0, 0, 0, 0.4) 100%
  );
  
}

/* 遮罩 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

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

  /* 用遮罩控制模糊范围 */
  mask-image: radial-gradient(
    circle at 50% 30%,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0.6) 75%,
    rgba(0,0,0,1) 100%
  );

  -webkit-mask-image: radial-gradient(
    circle at 50% 30%,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0.6) 75%,
    rgba(0,0,0,1) 100%
  );
}

/* 修复编辑背景 */
.editor.ace_editor.ace-tm {
    background: black;
    
     /* 恢复原来的冷色调 */
  --color-progressive-oklch__h: 262.29;
  
  --color-base-oklch__l: 20%;
  --color-base-oklch__c: 0.09;

  --color-subtle-oklch__l: 35%;
  --color-subtle-oklch__c: 0.11;

  --color-emphasized-oklch__l: 5%;
  --color-emphasized-oklch__c: 0.07;

}



/* 侧边栏 */
.citizen-header {
	background-color:rgba(255,255,255,0.2);
	backdrop-filter:blur(10px);
}


/* footer  */
.citizen-footer {
	background-color:unset;
}



/* --------------------------------------------------卡面相关--------------------------------------------------- */
/** 全屏卡面 **/
/* 全屏背景 */
.card-fullscreen-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

.card-fullscreen-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 渐变遮罩,底部渐入正文 */
.card-fullscreen-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20vh; /* 约占屏幕底部 20% */
    background: linear-gradient(to top, rgba(255,255,255,0.95), transparent 100%);
    z-index: 1;
    pointer-events: none; /* 避免遮挡滚动 */
}

/* 正文容器 */
.card-content-container {
    position: relative;
    z-index: 2;
    margin-top: 80vh; /* 从屏幕底部 20% 开始显示 */
    width: 100%;
    max-width: 1280px; /* 可调整 */
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    box-sizing: border-box;
    background: rgba(255,255,255,0.6); /* 可微调透明度 */
    backdrop-filter: blur(8px); /* 模糊背景 */
    border-radius: 16px 16px 0 0;
}