打开/关闭搜索
搜索
打开/关闭菜单
5
6
1
403
夜幕之下
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
上传文件
打开/关闭外观设置菜单
通知
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
创建账号
登录
查看“︁MediaWiki:Common.css”︁的源代码
MediaWiki界面页面
查看
阅读
查看源代码
查看历史
associated-pages
系统消息
讨论
更多操作
←
MediaWiki:Common.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
管理员
此页面为本wiki上的软件提供界面文本,并受到保护以防止滥用。 如欲修改所有wiki的翻译,请访问
translatewiki.net
上的MediaWiki本地化项目。
您无权编辑此CSS页面,因为编辑此页面可能会影响所有访问者。
您可以查看和复制此页面的源代码。
/* 这里放置的CSS将应用于所有皮肤 */ /* 全局 */ /* 字体 */ /* Regular */ @font-face { font-family: 'AlibabaPuHuiTi'; src: url('/resources/assets/fonts/AlibabaPuHuiTi-3-55-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; } /* Bold */ @font-face { font-family: 'AlibabaPuHuiTi'; src: url('/resources/assets/fonts/AlibabaPuHuiTi-3-85-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; } :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% ); font-family: 'AlibabaPuHuiTi', sans-serif; } /* 遮罩 */ 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% ); } /* 去掉主题便宜 */ .citizen-page-container { padding-inline:unset!important; } /* 修复编辑背景 */ .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: 105%; height: 105%; object-fit: cover; display: block; transform: translateY(0px) scale(1); transition: transform 0.8s cubic-bezier(.22,.61,.36,1); } .card_fullscreen-img.scrolled img { transform: translateY(-10px) scale(1.015); } /* 暗角 */ .card_fullscreen-img::after{ content:""; position:absolute; inset:0; pointer-events:none; background: radial-gradient( ellipse at center, rgba(0,0,0,0.2) 35%, rgba(0,0,0,0.65) 100% ); opacity: 0; /* 默认没有 */ transition: opacity 0.8s cubic-bezier(.22,.61,.36,1); } .card_fullscreen-img.scrolled::after{ opacity: 1; } /* 正文背景*/ .card_content-background { position: relative; padding: 120px 240px; width: 100%; background: linear-gradient(to bottom, rgba(255, 255, 255, 0.66) 0%, rgba(255, 255, 255, 0.62) 35%, rgba(255, 255, 255, 0.54) 100%); backdrop-filter: blur(15px) saturate(155%); -webkit-backdrop-filter: blur(22px) saturate(155%); border-radius: 100vw 100vw 0 0 / 2.4em 2.4em 0 0; border-top: thin solid rgb(255 235 240 / 68%); box-shadow: 0 -40px 80px -45px rgba(0, 0, 0, 0.25), 0 -2px 6px rgb(255 255 255 / 13%), 0 -4px 14px rgba(255, 180, 200, 0.18), inset 0 1px 0 rgb(255 255 255 / 0%), inset 0 -30px 60px rgba(0, 0, 0, 0.04); } .card_content-background::before{ content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background: radial-gradient( 120% 70% at 50% -18%, rgba(255,255,255,0.95) 0%, rgba(255,230,235,0.65) 18%, rgba(255,200,215,0.35) 30%, rgba(255,200,215,0.15) 40%, rgba(255,200,215,0) 55% ); mix-blend-mode: screen; opacity: 0.6; } .card_content-background::after{ content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; box-shadow: 0 -1px 0 rgba(255,255,255,0.95), /* 主亮线 */ 0 -2px 4px rgba(255,220,230,0.6), /* 柔粉扩散 */ 0 -4px 10px rgba(255,180,200,0.25); /* 外围粉光 */ opacity: 0.7; } .card_content{ color:#1a1a1f; margin:0; } /* 卡面名&信息 */ .card_content_name-icon img { background:black; } /* 情报 */ .card_content_info{ display: flex; align-items: center; /* 垂直居中 */ width:100%; gap:18px; margin-left:2px; } .card_content_info-item{ display: flex; flex-direction: column; position: relative; } /* 给除了最后一个以外的 item 加竖线 */ .card_content_info-item:not(:last-child)::after{ content: ""; position: absolute; left:40px; top: 50%; transform: translateY(-50%); width: 1px; height: 60%; /* 控制线的高度 */ background: linear-gradient( to bottom, rgba(0,0,0,0), rgba(0,0,0,0.25), rgba(0,0,0,0) ); }
返回
MediaWiki:Common.css
。
查看“︁MediaWiki:Common.css”︁的源代码
MediaWiki界面页面