MediaWiki:Common.css:修订间差异
MediaWiki界面页面
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第108行: | 第108行: | ||
.card_fullscreen-img { | .card_fullscreen-img { | ||
position: fixed; | position: fixed; | ||
inset: 0; | |||
z-index: 0; | z-index: 0; | ||
overflow: hidden; | overflow: hidden; | ||
pointer-events:none; | pointer-events: none; | ||
} | } | ||
.card_fullscreen-img img { | .card_fullscreen-img img { | ||
width: | width: 110%; /* 放大一点,防止边缘露白 */ | ||
height: | height: 110%; | ||
object-fit: cover; | object-fit: cover; | ||
display: block; | display: block; | ||
transform: translateY(var(--bg-offset, 0px)) | |||
scale(var(--bg-scale, 1)); | |||
transition: transform 0.1s linear; | |||
} | } | ||
2026年3月3日 (二) 18:14的版本
/* 这里放置的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;
}
.mw-body-content .CodeMirror {
background-color:var(--color-surface-0);
}
/* 侧边栏 */
.citizen-header {
background-color:rgba(255,255,255,0.2);
backdrop-filter:blur(10px);
}
/* footer */
.citizen-footer {
background-color:unset;
}
/* --------------------------------------------------卡面界面相关--------------------------------------------------- */
/** card_ **/
/* 全屏卡面 */
.card_fullscreen-img {
position: fixed;
inset: 0;
z-index: 0;
overflow: hidden;
pointer-events: none;
}
.card_fullscreen-img img {
width: 110%; /* 放大一点,防止边缘露白 */
height: 110%;
object-fit: cover;
display: block;
transform: translateY(var(--bg-offset, 0px))
scale(var(--bg-scale, 1));
transition: transform 0.1s linear;
}