MediaWiki:Citizen.css:修订间差异
MediaWiki界面页面
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第71行: | 第71行: | ||
.page-actions-more__card, | .page-actions-more__card, | ||
.citizen-dropdown .citizen-menu__card { | .citizen-dropdown .citizen-menu__card { | ||
background-color: rgba(255, 255, 255, 0. | background-color: rgba(255, 255, 255, 0.35) !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
-webkit-backdrop-filter: blur(14px) saturate(100%) !important; | -webkit-backdrop-filter: blur(14px) saturate(100%) !important; | ||
| 第82行: | 第82行: | ||
html.skin-theme-clientpref-night .citizen-command-palette, | html.skin-theme-clientpref-night .citizen-command-palette, | ||
html.skin-theme-clientpref-night .page-actions-more__card { | html.skin-theme-clientpref-night .page-actions-more__card { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
border: 1px solid rgba(255, 255, 255, 0.1) !important; | border: 1px solid rgba(255, 255, 255, 0.1) !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
| 第95行: | 第95行: | ||
html.skin-theme-clientpref-os #citizen-sidebar-lastmod, | html.skin-theme-clientpref-os #citizen-sidebar-lastmod, | ||
html.skin-theme-clientpref-os #mw-panel-toc { | html.skin-theme-clientpref-os #mw-panel-toc { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
color: #ffffff !important; | color: #ffffff !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
| 第118行: | 第118行: | ||
border: none !important; | border: none !important; | ||
border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important; | border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important; | ||
background-color: rgba(255, 255, 255, 0. | background-color: rgba(255, 255, 255, 0.35) !important; | ||
background-image: none !important; | background-image: none !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
| 第125行: | 第125行: | ||
html.skin-theme-clientpref-night .citizen-sticky-header-background { | html.skin-theme-clientpref-night .citizen-sticky-header-background { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
background-image: none !important; | background-image: none !important; | ||
border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; | border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; | ||
| 第155行: | 第155行: | ||
z-index: 10000 !important; | z-index: 10000 !important; | ||
isolation: isolate !important; | isolation: isolate !important; | ||
background-color: rgba(255, 255, 255, 0. | background-color: rgba(255, 255, 255, 0.35) !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
-webkit-backdrop-filter: blur(14px) saturate(100%) !important; | -webkit-backdrop-filter: blur(14px) saturate(100%) !important; | ||
| 第469行: | 第469行: | ||
position: relative !important; | position: relative !important; | ||
z-index: 10 !important; | z-index: 10 !important; | ||
background: rgba(255, 255, 255, 0. | background: rgba(255, 255, 255, 0.35) !important; | ||
background-image: none !important; | background-image: none !important; | ||
color: var(--color-base-0) !important; | color: var(--color-base-0) !important; | ||
| 第589行: | 第589行: | ||
html.skin-theme-clientpref-night .infobox { | html.skin-theme-clientpref-night .infobox { | ||
background: rgba(20, 20, 20, 0. | background: rgba(20, 20, 20, 0.55) !important; | ||
border: 1px solid rgba(255, 255, 255, 0.1) !important; | border: 1px solid rgba(255, 255, 255, 0.1) !important; | ||
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important; | box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important; | ||
| 第671行: | 第671行: | ||
} | } | ||
html.skin-theme-clientpref-os .infobox { | html.skin-theme-clientpref-os .infobox { | ||
background: rgba(20, 20, 20, 0. | background: rgba(20, 20, 20, 0.55) !important; | ||
border: 1px solid rgba(255, 255, 255, 0.1) !important; | border: 1px solid rgba(255, 255, 255, 0.1) !important; | ||
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important; | box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important; | ||
| 第777行: | 第777行: | ||
.infobox.ve-infobox-country { | .infobox.ve-infobox-country { | ||
background: rgba(255, 255, 255, 0. | background: rgba(255, 255, 255, 0.35) !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
-webkit-backdrop-filter: blur(14px) saturate(100%) !important; | -webkit-backdrop-filter: blur(14px) saturate(100%) !important; | ||
| 第827行: | 第827行: | ||
html.skin-theme-clientpref-night .infobox.ve-infobox-country { | html.skin-theme-clientpref-night .infobox.ve-infobox-country { | ||
background: rgba(20, 20, 20, 0. | background: rgba(20, 20, 20, 0.55) !important; | ||
border: 1px solid rgba(255, 255, 255, 0.1) !important; | border: 1px solid rgba(255, 255, 255, 0.1) !important; | ||
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important; | box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important; | ||
| 第895行: | 第895行: | ||
html.skin-theme-clientpref-os .infobox.vcard, | html.skin-theme-clientpref-os .infobox.vcard, | ||
html.skin-theme-clientpref-os .infobox.ve-infobox-country { | html.skin-theme-clientpref-os .infobox.ve-infobox-country { | ||
background: rgba(20, 20, 20, 0. | background: rgba(20, 20, 20, 0.55) !important; | ||
border: 1px solid rgba(255, 255, 255, 0.1) !important; | border: 1px solid rgba(255, 255, 255, 0.1) !important; | ||
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important; | box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important; | ||
| 第964行: | 第964行: | ||
/* 图表外层容器 — 使用 .infobox-country-chart class 匹配 */ | /* 图表外层容器 — 使用 .infobox-country-chart class 匹配 */ | ||
.infobox.ve-infobox-country .infobox-country-chart { | .infobox.ve-infobox-country .infobox-country-chart { | ||
background: rgba(255, 255, 255, 0. | background: rgba(255, 255, 255, 0.35) !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
-webkit-backdrop-filter: blur(14px) saturate(100%) !important; | -webkit-backdrop-filter: blur(14px) saturate(100%) !important; | ||
| 第1,130行: | 第1,130行: | ||
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup { | .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup { | ||
background-color: rgba(255, 255, 255, 0. | background-color: rgba(255, 255, 255, 0.35) !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
-webkit-backdrop-filter: blur(14px) saturate(100%) !important; | -webkit-backdrop-filter: blur(14px) saturate(100%) !important; | ||
| 第1,210行: | 第1,210行: | ||
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup { | html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
border: 1px solid rgba(255, 255, 255, 0.1) !important; | border: 1px solid rgba(255, 255, 255, 0.1) !important; | ||
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important; | box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important; | ||
| 第1,244行: | 第1,244行: | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup { | html.skin-theme-clientpref-os .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
border: 1px solid rgba(255, 255, 255, 0.1) !important; | border: 1px solid rgba(255, 255, 255, 0.1) !important; | ||
} | } | ||
| 第1,302行: | 第1,302行: | ||
-webkit-clip-path: none !important; | -webkit-clip-path: none !important; | ||
position: relative !important; | position: relative !important; | ||
background-color: rgba(255, 255, 255, 0. | background-color: rgba(255, 255, 255, 0.35) !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
-webkit-backdrop-filter: blur(14px) saturate(100%) !important; | -webkit-backdrop-filter: blur(14px) saturate(100%) !important; | ||
| 第1,364行: | 第1,364行: | ||
.mwe-popups.mwe-popups-type-generic .mwe-popups-container { | .mwe-popups.mwe-popups-type-generic .mwe-popups-container { | ||
background-color: rgba(255, 255, 255, 0. | background-color: rgba(255, 255, 255, 0.35) !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
-webkit-backdrop-filter: blur(14px) saturate(100%) !important; | -webkit-backdrop-filter: blur(14px) saturate(100%) !important; | ||
| 第1,370行: | 第1,370行: | ||
html.skin-theme-clientpref-night .mwe-popups .mwe-popups-container { | html.skin-theme-clientpref-night .mwe-popups .mwe-popups-container { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
border: 1px solid rgba(255, 255, 255, 0.1) !important; | border: 1px solid rgba(255, 255, 255, 0.1) !important; | ||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2) !important; | box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2) !important; | ||
| 第1,389行: | 第1,389行: | ||
html.skin-theme-clientpref-night .mwe-popups.mwe-popups-type-generic .mwe-popups-container { | html.skin-theme-clientpref-night .mwe-popups.mwe-popups-type-generic .mwe-popups-container { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
} | } | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os .mwe-popups .mwe-popups-container { | html.skin-theme-clientpref-os .mwe-popups .mwe-popups-container { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
border: 1px solid rgba(255, 255, 255, 0.1) !important; | border: 1px solid rgba(255, 255, 255, 0.1) !important; | ||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2) !important; | box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2) !important; | ||
| 第1,409行: | 第1,409行: | ||
} | } | ||
html.skin-theme-clientpref-os .mwe-popups.mwe-popups-type-generic .mwe-popups-container { | html.skin-theme-clientpref-os .mwe-popups.mwe-popups-type-generic .mwe-popups-container { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
} | } | ||
} | } | ||
| 第1,461行: | 第1,461行: | ||
html.skin-theme-clientpref-night .navbox-inner { | html.skin-theme-clientpref-night .navbox-inner { | ||
background: rgba(20, 20, 20, 0. | background: rgba(20, 20, 20, 0.55) !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
} | } | ||
| 第1,475行: | 第1,475行: | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os .navbox-inner { background: rgba(20, 20, 20, 0. | html.skin-theme-clientpref-os .navbox-inner { background: rgba(20, 20, 20, 0.55) !important; backdrop-filter: blur(14px) saturate(100%) !important; } | ||
html.skin-theme-clientpref-os .navbox-title { background: rgba(54, 121, 204, 0.3) !important; color: #ffffff !important; } | html.skin-theme-clientpref-os .navbox-title { background: rgba(54, 121, 204, 0.3) !important; color: #ffffff !important; } | ||
html.skin-theme-clientpref-os .navbox-group { background: rgba(54, 121, 204, 0.15) !important; color: #ffffff !important; } | html.skin-theme-clientpref-os .navbox-group { background: rgba(54, 121, 204, 0.15) !important; color: #ffffff !important; } | ||
| 第1,496行: | 第1,496行: | ||
z-index: 100 !important; | z-index: 100 !important; | ||
overflow: hidden !important; | overflow: hidden !important; | ||
background-color: rgba(255, 255, 255, 0. | background-color: rgba(255, 255, 255, 0.35) !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
-webkit-backdrop-filter: blur(14px) saturate(100%) !important; | -webkit-backdrop-filter: blur(14px) saturate(100%) !important; | ||
| 第1,555行: | 第1,555行: | ||
html.skin-theme-clientpref-night table.ambox { | html.skin-theme-clientpref-night table.ambox { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
border-style: solid !important; | border-style: solid !important; | ||
border-width: 1px !important; | border-width: 1px !important; | ||
| 第1,569行: | 第1,569行: | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os table.ambox { | html.skin-theme-clientpref-os table.ambox { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
border-style: solid !important; | border-style: solid !important; | ||
border-width: 1px !important; | border-width: 1px !important; | ||
| 第1,630行: | 第1,630行: | ||
.mw-parser-output table.wikitable { | .mw-parser-output table.wikitable { | ||
background-color: rgba(255, 255, 255, 0. | background-color: rgba(255, 255, 255, 0.35) !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
-webkit-backdrop-filter: blur(14px) saturate(100%) !important; | -webkit-backdrop-filter: blur(14px) saturate(100%) !important; | ||
| 第1,673行: | 第1,673行: | ||
html.skin-theme-clientpref-night .mw-parser-output table.wikitable { | html.skin-theme-clientpref-night .mw-parser-output table.wikitable { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
border-color: rgba(255, 255, 255, 0.1) !important; | border-color: rgba(255, 255, 255, 0.1) !important; | ||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important; | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important; | ||
| 第1,690行: | 第1,690行: | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os .mw-parser-output table.wikitable { | html.skin-theme-clientpref-os .mw-parser-output table.wikitable { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
border-color: rgba(255, 255, 255, 0.1) !important; | border-color: rgba(255, 255, 255, 0.1) !important; | ||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important; | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important; | ||
| 第1,798行: | 第1,798行: | ||
html:not(.ve-active) .mw-parser-output .thumbinner { | html:not(.ve-active) .mw-parser-output .thumbinner { | ||
width: min-content !important; | width: min-content !important; | ||
background-color: rgba(255, 255, 255, 0. | background-color: rgba(255, 255, 255, 0.35) !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
-webkit-backdrop-filter: blur(14px) saturate(100%) !important; | -webkit-backdrop-filter: blur(14px) saturate(100%) !important; | ||
| 第1,835行: | 第1,835行: | ||
html.skin-theme-clientpref-night:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"], | html.skin-theme-clientpref-night:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"], | ||
html.skin-theme-clientpref-night:not(.ve-active) .mw-parser-output .thumbinner { | html.skin-theme-clientpref-night:not(.ve-active) .mw-parser-output .thumbinner { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
border-color: rgba(255, 255, 255, 0.1) !important; | border-color: rgba(255, 255, 255, 0.1) !important; | ||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important; | box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important; | ||
| 第1,850行: | 第1,850行: | ||
html.skin-theme-clientpref-os:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"], | html.skin-theme-clientpref-os:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"], | ||
html.skin-theme-clientpref-os:not(.ve-active) .mw-parser-output .thumbinner { | html.skin-theme-clientpref-os:not(.ve-active) .mw-parser-output .thumbinner { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
border-color: rgba(255, 255, 255, 0.1) !important; | border-color: rgba(255, 255, 255, 0.1) !important; | ||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important; | box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important; | ||
| 第1,909行: | 第1,909行: | ||
margin: 16px 0 !important; | margin: 16px 0 !important; | ||
border-radius: 12px !important; | border-radius: 12px !important; | ||
background-color: rgba(255, 255, 255, 0. | background-color: rgba(255, 255, 255, 0.35) !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
-webkit-backdrop-filter: blur(14px) saturate(100%) !important; | -webkit-backdrop-filter: blur(14px) saturate(100%) !important; | ||
| 第1,954行: | 第1,954行: | ||
html.skin-theme-clientpref-night .voy-box { | html.skin-theme-clientpref-night .voy-box { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
border: 1px solid rgba(255, 255, 255, 0.1) !important; | border: 1px solid rgba(255, 255, 255, 0.1) !important; | ||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important; | box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important; | ||
| 第1,968行: | 第1,968行: | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os .voy-box { background-color: rgba(20, 20, 20, 0. | html.skin-theme-clientpref-os .voy-box { background-color: rgba(20, 20, 20, 0.55) !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important; } | ||
html.skin-theme-clientpref-os .voy-box.warning { background-color: rgba(102, 77, 30, 0.4) !important; border-left: 4px solid #f0ad4e !important; } | html.skin-theme-clientpref-os .voy-box.warning { background-color: rgba(102, 77, 30, 0.4) !important; border-left: 4px solid #f0ad4e !important; } | ||
html.skin-theme-clientpref-os .voy-box-icon { color: #ffc107 !important; } | html.skin-theme-clientpref-os .voy-box-icon { color: #ffc107 !important; } | ||
| 第2,190行: | 第2,190行: | ||
html.skin-theme-clientpref-night #mw-panel-toc, | html.skin-theme-clientpref-night #mw-panel-toc, | ||
html.skin-theme-clientpref-night .citizen-menu__card { | html.skin-theme-clientpref-night .citizen-menu__card { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
} | } | ||
| 第2,214行: | 第2,214行: | ||
position: relative; | position: relative; | ||
overflow: hidden; | overflow: hidden; | ||
background: rgba(255, 255, 255, 0. | background: rgba(255, 255, 255, 0.35) !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
border: 1px solid rgba(128, 128, 128, 0.2); | border: 1px solid rgba(128, 128, 128, 0.2); | ||
| 第2,222行: | 第2,222行: | ||
html.skin-theme-clientpref-night #citizen-sidebar-lastmod { | html.skin-theme-clientpref-night #citizen-sidebar-lastmod { | ||
background: rgba(20, 20, 20, 0. | background: rgba(20, 20, 20, 0.55) !important; | ||
border: 1px solid rgba(255, 255, 255, 0.1) !important; | border: 1px solid rgba(255, 255, 255, 0.1) !important; | ||
} | } | ||
| 第2,303行: | 第2,303行: | ||
#citizen-sidebar-lastmod.citizen-menu { | #citizen-sidebar-lastmod.citizen-menu { | ||
background-color: rgba(255, 255, 255, 0. | background-color: rgba(255, 255, 255, 0.35) !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
-webkit-backdrop-filter: blur(14px) saturate(100%) !important; | -webkit-backdrop-filter: blur(14px) saturate(100%) !important; | ||
| 第2,315行: | 第2,315行: | ||
html.skin-theme-clientpref-night #citizen-sidebar-lastmod.citizen-menu { | html.skin-theme-clientpref-night #citizen-sidebar-lastmod.citizen-menu { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
border: 1px solid rgba(255, 255, 255, 0.1) !important; | border: 1px solid rgba(255, 255, 255, 0.1) !important; | ||
} | } | ||
| 第2,478行: | 第2,478行: | ||
.aero-news-box { | .aero-news-box { | ||
position: relative; | position: relative; | ||
background-color: rgba(255, 255, 255, 0. | background-color: rgba(255, 255, 255, 0.35) !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
-webkit-backdrop-filter: blur(14px) saturate(100%) !important; | -webkit-backdrop-filter: blur(14px) saturate(100%) !important; | ||
| 第2,525行: | 第2,525行: | ||
} | } | ||
html.skin-theme-clientpref-night .aero-news-box { | html.skin-theme-clientpref-night .aero-news-box { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
border-color: rgba(255, 255, 255, 0.1) !important; | border-color: rgba(255, 255, 255, 0.1) !important; | ||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important; | box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important; | ||
| 第2,533行: | 第2,533行: | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os .aero-news-box { background-color: rgba(20, 20, 20, 0. | html.skin-theme-clientpref-os .aero-news-box { background-color: rgba(20, 20, 20, 0.55) !important; border-color: rgba(255, 255, 255, 0.1) !important; } | ||
html.skin-theme-clientpref-os .aero-news-box-header { border-bottom-color: rgba(255, 255, 255, 0.1); } | html.skin-theme-clientpref-os .aero-news-box-header { border-bottom-color: rgba(255, 255, 255, 0.1); } | ||
html.skin-theme-clientpref-os .aero-news-box::after { background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08) 0%, transparent 70%) !important; } | html.skin-theme-clientpref-os .aero-news-box::after { background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08) 0%, transparent 70%) !important; } | ||
| 第2,595行: | 第2,595行: | ||
width: var(--citizen-width-sidebar, 70px); | width: var(--citizen-width-sidebar, 70px); | ||
height: 100vh; | height: 100vh; | ||
background-color: rgba(255, 255, 255, 0. | background-color: rgba(255, 255, 255, 0.35); | ||
background-image: radial-gradient( | background-image: radial-gradient( | ||
600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), | 600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), | ||
| 第2,628行: | 第2,628行: | ||
} | } | ||
html.skin-theme-clientpref-night .citizen-header::after { | html.skin-theme-clientpref-night .citizen-header::after { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
background-image: radial-gradient( | background-image: radial-gradient( | ||
600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), | 600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), | ||
| 第2,643行: | 第2,643行: | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os .citizen-header::after { | html.skin-theme-clientpref-os .citizen-header::after { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
background-image: radial-gradient( | background-image: radial-gradient( | ||
600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), | 600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), | ||
| 第2,945行: | 第2,945行: | ||
/* ----- 亮色模式(默认)----- */ | /* ----- 亮色模式(默认)----- */ | ||
.bl-hero { | .bl-hero { | ||
background-color: rgba(255, 255, 255, 0. | background-color: rgba(255, 255, 255, 0.35) !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
-webkit-backdrop-filter: blur(14px) saturate(100%) !important; | -webkit-backdrop-filter: blur(14px) saturate(100%) !important; | ||
| 第2,994行: | 第2,994行: | ||
/* ----- 手动深色模式 ----- */ | /* ----- 手动深色模式 ----- */ | ||
html.skin-theme-clientpref-night .bl-hero { | html.skin-theme-clientpref-night .bl-hero { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
border: 1px solid #3a3a3a !important; /* 深灰色边框 */ | border: 1px solid #3a3a3a !important; /* 深灰色边框 */ | ||
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important; | box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important; | ||
| 第3,020行: | 第3,020行: | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os .bl-hero { | html.skin-theme-clientpref-os .bl-hero { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
border: 1px solid #3a3a3a !important; | border: 1px solid #3a3a3a !important; | ||
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important; | box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important; | ||
| 第3,181行: | 第3,181行: | ||
margin: 0.5em 0 1em 1em !important; | margin: 0.5em 0 1em 1em !important; | ||
width: 312px !important; | width: 312px !important; | ||
background-color: rgba(255, 255, 255, 0. | background-color: rgba(255, 255, 255, 0.35) !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
-webkit-backdrop-filter: blur(14px) saturate(100%) !important; | -webkit-backdrop-filter: blur(14px) saturate(100%) !important; | ||
| 第3,215行: | 第3,215行: | ||
html.skin-theme-clientpref-night .weather-box-chart { | html.skin-theme-clientpref-night .weather-box-chart { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
border-color: rgba(255, 255, 255, 0.08) !important; | border-color: rgba(255, 255, 255, 0.08) !important; | ||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important; | box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important; | ||
| 第3,230行: | 第3,230行: | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os .weather-box-chart { | html.skin-theme-clientpref-os .weather-box-chart { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
border-color: rgba(255, 255, 255, 0.08) !important; | border-color: rgba(255, 255, 255, 0.08) !important; | ||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important; | box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important; | ||
| 第3,489行: | 第3,489行: | ||
/* 3. 半透明背景、边框、圆角、阴影 */ | /* 3. 半透明背景、边框、圆角、阴影 */ | ||
background-color: rgba(255, 255, 255, 0. | background-color: rgba(255, 255, 255, 0.35) !important; | ||
border-radius: 12px !important; | border-radius: 12px !important; | ||
border: 1px solid rgba(128, 128, 128, 0.15) !important; | border: 1px solid rgba(128, 128, 128, 0.15) !important; | ||
| 第3,513行: | 第3,513行: | ||
/* --- 手动暗色模式 --- */ | /* --- 手动暗色模式 --- */ | ||
html.skin-theme-clientpref-night .oo-ui-popupWidget { | html.skin-theme-clientpref-night .oo-ui-popupWidget { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
-webkit-backdrop-filter: blur(14px) saturate(100%) !important; | -webkit-backdrop-filter: blur(14px) saturate(100%) !important; | ||
| 第3,523行: | 第3,523行: | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os .oo-ui-popupWidget { | html.skin-theme-clientpref-os .oo-ui-popupWidget { | ||
background-color: rgba(20, 20, 20, 0. | background-color: rgba(20, 20, 20, 0.55) !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
-webkit-backdrop-filter: blur(14px) saturate(100%) !important; | -webkit-backdrop-filter: blur(14px) saturate(100%) !important; | ||
| 第3,560行: | 第3,560行: | ||
border-radius: 14px; | border-radius: 14px; | ||
border: 1px solid rgba(128, 128, 128, 0.15); | border: 1px solid rgba(128, 128, 128, 0.15); | ||
background: rgba(255, 255, 255, 0. | background: rgba(255, 255, 255, 0.35); | ||
backdrop-filter: blur(14px) saturate(100%); | backdrop-filter: blur(14px) saturate(100%); | ||
-webkit-backdrop-filter: blur(14px) saturate(100%); | -webkit-backdrop-filter: blur(14px) saturate(100%); | ||
| 第3,568行: | 第3,568行: | ||
/* ----- 手动暗色模式 (night) ----- */ | /* ----- 手动暗色模式 (night) ----- */ | ||
html.skin-theme-clientpref-night .cs-stream { | html.skin-theme-clientpref-night .cs-stream { | ||
background: rgba(20, 20, 20, 0. | background: rgba(20, 20, 20, 0.55); | ||
border-color: rgba(255, 255, 255, 0.08); | border-color: rgba(255, 255, 255, 0.08); | ||
} | } | ||
| 第3,575行: | 第3,575行: | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os .cs-stream { | html.skin-theme-clientpref-os .cs-stream { | ||
background: rgba(20, 20, 20, 0. | background: rgba(20, 20, 20, 0.55); | ||
border-color: rgba(255, 255, 255, 0.08); | border-color: rgba(255, 255, 255, 0.08); | ||
} | } | ||
| 第3,686行: | 第3,686行: | ||
padding: 0 16px; | padding: 0 16px; | ||
border-radius: 8px; | border-radius: 8px; | ||
background: rgba(255, 255, 255, 0. | background: rgba(255, 255, 255, 0.35); | ||
backdrop-filter: blur(14px) saturate(100%); | backdrop-filter: blur(14px) saturate(100%); | ||
-webkit-backdrop-filter: blur(14px) saturate(100%); | -webkit-backdrop-filter: blur(14px) saturate(100%); | ||
| 第3,753行: | 第3,753行: | ||
padding: 8px 12px; | padding: 8px 12px; | ||
border-radius: 12px; | border-radius: 12px; | ||
background: rgba(255, 255, 255, 0. | background: rgba(255, 255, 255, 0.35); | ||
border: 1px solid rgba(128, 128, 128, 0.1); | border: 1px solid rgba(128, 128, 128, 0.1); | ||
backdrop-filter: blur(14px) saturate(100%); | backdrop-filter: blur(14px) saturate(100%); | ||
| 第3,759行: | 第3,759行: | ||
} | } | ||
html.skin-theme-clientpref-night .cs-reply-comment { | html.skin-theme-clientpref-night .cs-reply-comment { | ||
background: rgba(20, 20, 20, 0. | background: rgba(20, 20, 20, 0.55); | ||
border-color: rgba(255, 255, 255, 0.06); | border-color: rgba(255, 255, 255, 0.06); | ||
} | } | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os .cs-reply-comment { | html.skin-theme-clientpref-os .cs-reply-comment { | ||
background: rgba(20, 20, 20, 0. | background: rgba(20, 20, 20, 0.55); | ||
border-color: rgba(255, 255, 255, 0.06); | border-color: rgba(255, 255, 255, 0.06); | ||
} | } | ||
| 第3,774行: | 第3,774行: | ||
.oo-ui-popupWidget-popup, | .oo-ui-popupWidget-popup, | ||
.oo-ui-menuSelectWidget { | .oo-ui-menuSelectWidget { | ||
background: rgba(255, 255, 255, 0. | background: rgba(255, 255, 255, 0.35) !important; | ||
backdrop-filter: blur(14px) saturate(100%) !important; | backdrop-filter: blur(14px) saturate(100%) !important; | ||
-webkit-backdrop-filter: blur(14px) saturate(100%) !important; | -webkit-backdrop-filter: blur(14px) saturate(100%) !important; | ||
| 第3,783行: | 第3,783行: | ||
html.skin-theme-clientpref-night .oo-ui-popupWidget-popup, | html.skin-theme-clientpref-night .oo-ui-popupWidget-popup, | ||
html.skin-theme-clientpref-night .oo-ui-menuSelectWidget { | html.skin-theme-clientpref-night .oo-ui-menuSelectWidget { | ||
background: rgba(20, 20, 20, 0. | background: rgba(20, 20, 20, 0.55) !important; | ||
border-color: rgba(255, 255, 255, 0.08) !important; | border-color: rgba(255, 255, 255, 0.08) !important; | ||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important; | box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important; | ||
| 第3,790行: | 第3,790行: | ||
html.skin-theme-clientpref-os .oo-ui-popupWidget-popup, | html.skin-theme-clientpref-os .oo-ui-popupWidget-popup, | ||
html.skin-theme-clientpref-os .oo-ui-menuSelectWidget { | html.skin-theme-clientpref-os .oo-ui-menuSelectWidget { | ||
background: rgba(20, 20, 20, 0. | background: rgba(20, 20, 20, 0.55) !important; | ||
border-color: rgba(255, 255, 255, 0.08) !important; | border-color: rgba(255, 255, 255, 0.08) !important; | ||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important; | box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important; | ||
2026年6月27日 (六) 19:46的版本
/**
* Blockland Wiki Modern Aero UI OS26.2
* 风格:Acrylic/Aero/Basic
* 修改:全局毛玻璃,全局光线追踪,UI全面现代化。
* 版本:26.2
*/
/* Fuck mediawiki编译器 */
/* ============================= */
/* --- 全局变量与主体背景 --- */
/* ============================= */
:root {
--color-surface-0: #fafafa;
--color-surface-1: #ffffff;
--color-base-0: #202122;
--color-heading: #000000;
}
html.skin-theme-clientpref-night {
--color-surface-0: #1a1b1c !important;
--color-surface-1: #202122 !important;
--color-surface-2: #2d2e2f !important;
--color-surface-3: #373839 !important;
--color-base-0: #eaecf0 !important;
--color-base-10: #f8f9fa !important;
--color-base-20: #ffffff !important;
--color-heading: #ffffff !important;
background-color: #1a1b1c !important;
}
html.skin-theme-clientpref-night body { background-color: #1a1b1c !important; }
html.skin-theme-clientpref-day body { background-color: #fafafa !important; }
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os {
--color-surface-0: #1a1b1c !important;
--color-surface-1: #242526 !important;
--color-surface-2: #2d2e2f !important;
--color-surface-3: #373839 !important;
--color-base-0: #eaecf0 !important;
--color-base-10: #f8f9fa !important;
--color-base-20: #ffffff !important;
--color-heading: #ffffff !important;
background-color: #1a1b1c !important;
}
html.skin-theme-clientpref-os body { background-color: #1a1b1c !important; }
}
/* ==================== */
/* --- 关键帧动画 --- */
/* ==================== */
@keyframes citizen-pop-in {
0% { opacity: 0; transform: translate(-50%, -45%) scale(0.85); }
100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes citizen-fade-in {
from { opacity: 0; }
to { opacity: 1; }
}
/* =========================== */
/* --- 通用毛玻璃面板 --- */
/* =========================== */
.citizen-menu__card,
#citizen-preferences__card,
.citizen-sticky-header-background,
.page-actions-more__card,
.citizen-dropdown .citizen-menu__card {
background-color: rgba(255, 255, 255, 0.35) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
border: 1px solid rgba(128, 128, 128, 0.1) !important;
border-radius: 12px !important;
}
html.skin-theme-clientpref-night .citizen-menu__card,
html.skin-theme-clientpref-night #citizen-preferences__card,
html.skin-theme-clientpref-night .citizen-command-palette,
html.skin-theme-clientpref-night .page-actions-more__card {
background-color: rgba(20, 20, 20, 0.55) !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .citizen-menu__card,
html.skin-theme-clientpref-os #citizen-preferences__card,
html.skin-theme-clientpref-os .citizen-sticky-header-background,
html.skin-theme-clientpref-os .citizen-command-palette,
html.skin-theme-clientpref-os #citizen-sidebar-lastmod,
html.skin-theme-clientpref-os #mw-panel-toc {
background-color: rgba(20, 20, 20, 0.55) !important;
color: #ffffff !important;
backdrop-filter: blur(14px) saturate(100%) !important;
}
}
/* ========================= */
/* --- 顶栏 Sticky Header --- */
/* ========================= */
.citizen-sticky-header {
border-radius: 0 !important;
background: transparent !important;
}
.citizen-sticky-header-background {
border-radius: 0 !important;
left: 0 !important;
right: 0 !important;
width: 100% !important;
top: 0 !important;
border: none !important;
border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
background-color: rgba(255, 255, 255, 0.35) !important;
background-image: none !important;
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
}
html.skin-theme-clientpref-night .citizen-sticky-header-background {
background-color: rgba(20, 20, 20, 0.55) !important;
background-image: none !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
}
html.skin-theme-clientpref-night .citizen-sticky-header .cdx-button--weight-quiet { color: #eaecf0 !important; }
html.skin-theme-clientpref-night .citizen-sticky-header-page-title,
html.skin-theme-clientpref-night .citizen-sticky-header-page-tagline { color: #ffffff !important; }
/* ================================ */
/* --- 搜索面板 Command Palette --- */
/* ================================ */
.citizen-command-palette-backdrop {
background-color: rgba(0, 0, 0, 0.2) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
z-index: 9999 !important;
animation: citizen-fade-in 0.3s ease forwards;
}
.citizen-command-palette {
position: fixed !important;
width: 1000px !important;
max-width: 92vw !important;
top: 50% !important;
left: 50% !important;
z-index: 10000 !important;
isolation: isolate !important;
background-color: rgba(255, 255, 255, 0.35) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
border-radius: 24px !important;
border: 1px solid rgba(255, 255, 255, 0.5) !important;
box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25) !important;
animation: citizen-pop-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
transform-origin: center center !important;
}
.citizen-command-palette__search,
.citizen-command-palette__results,
.citizen-command-palette__footer,
.cdx-text-input__input {
background: transparent !important;
border: none !important;
box-shadow: none !important;
}
.citizen-command-palette-list { padding: 8px 0 !important; }
.citizen-command-palette-list-item {
margin: 0 12px 6px 12px !important;
border-radius: 12px !important;
overflow: hidden !important;
border: none !important;
display: block !important;
transition: background-color 0.2s ease !important;
}
.citizen-command-palette-list-item__content {
display: flex !important;
padding: 12px 16px !important;
width: 100% !important;
box-sizing: border-box !important;
background: transparent !important;
color: #202122 !important;
}
.citizen-command-palette-list-item__metadata { display: none !important; }
.citizen-command-palette-list-item:hover,
.citizen-command-palette-list-item[aria-selected="true"] {
background-color: rgba(0, 0, 0, 0.05) !important;
}
.citizen-command-palette-list-item__actions,
.citizen-command-palette-list-item__action {
background: transparent !important;
background-color: transparent !important;
border: none !important;
box-shadow: none !important;
min-width: 32px !important;
display: flex !important;
justify-content: center !important;
align-items: center !important;
margin-left: auto !important;
}
.citizen-command-palette-list-item__action svg {
fill: #202122 !important;
opacity: 0.85 !important;
transition: all 0.2s ease !important;
}
.citizen-command-palette-list-item__action:hover {
background-color: rgba(255, 192, 203, 0.6) !important;
border-radius: 8px !important;
}
.citizen-command-palette-list-item__action:hover svg {
fill: #d33 !important;
opacity: 1 !important;
transform: scale(1.15) !important;
}
html.skin-theme-clientpref-night .citizen-command-palette-list-item:hover,
html.skin-theme-clientpref-night .citizen-command-palette-list-item[aria-selected="true"] {
background-color: rgba(255, 255, 255, 0.1) !important;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .citizen-command-palette__input input,
html.skin-theme-clientpref-os .citizen-command-palette-list-item__text__label,
html.skin-theme-clientpref-os .citizen-command-palette-list-item__text__description bdi {
color: #ffffff !important;
}
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette {
background-color: #1e1f20 !important;
color: #ffffff !important;
border: 1px solid #3c3d3e !important;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette__input {
background-color: #2c2c2c !important;
border-bottom: 1px solid #3c3d3e !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette__input input { color: #ffffff !important; }
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette-list-item__text__label,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette-list-item__text__description bdi {
color: #eeeeee !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette-list-item[aria-selected="true"] {
background-color: #363738 !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette__footer {
background-color: #161718 !important;
color: #888888 !important;
border-top: 1px solid #3c3d3e !important;
}
@media (prefers-color-scheme: dark) {
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-command-palette {
background-color: #1e1f20 !important;
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
border: 1px solid #3c3d3e !important;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-command-palette__input {
background-color: #2c2c2c !important;
border-bottom: 1px solid #3c3d3e !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-command-palette-list-item__text__label {
color: #ffffff !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-command-palette__footer {
background-color: #161718 !important;
backdrop-filter: none !important;
border-top: 1px solid #3c3d3e !important;
}
}
/* ==================== */
/* --- 设置菜单 --- */
/* ==================== */
#citizen-preferences-content {
display: flex !important;
flex-direction: column !important;
}
#skin-client-prefs-citizen-feature-custom-font-size { order: 1 !important; }
#skin-client-prefs-citizen-feature-custom-width { order: 2 !important; }
#skin-client-prefs-citizen-feature-pure-black { order: 3 !important; }
#skin-client-prefs-skin-theme { order: 4 !important; }
#skin-client-prefs-citizen-feature-autohide-navigation { order: 5 !important; }
#skin-client-prefs-citizen-feature-performance-mode { order: 6 !important; }
label[for="skin-client-pref-citizen-feature-performance-mode-value-1"],
label[for="skin-client-pref-citizen-feature-performance-mode-value-0"] {
color: transparent !important;
position: relative !important;
min-width: 80px !important;
text-align: center !important;
}
label[for="skin-client-pref-citizen-feature-performance-mode-value-0"]::after {
content: "Aero" !important;
position: absolute !important;
left: 50% !important;
top: 50% !important;
transform: translate(-50%, -50%) !important;
color: var(--color-base-0) !important;
font-size: 0.9rem !important;
font-weight: bold !important;
visibility: visible !important;
}
label[for="skin-client-pref-citizen-feature-performance-mode-value-1"]::after {
content: "Basic" !important;
position: absolute !important;
left: 50% !important;
top: 50% !important;
transform: translate(-50%, -50%) !important;
color: var(--color-base-0) !important;
font-size: 0.9rem !important;
font-weight: bold !important;
visibility: visible !important;
}
#citizen-preferences__card .mw-portlet.mw-portlet-performance-mode-group .citizen-menu__heading,
#citizen-preferences__card .citizen-menu:nth-last-child(1) .citizen-menu__heading {
font-size: 0 !important;
}
#citizen-preferences__card .mw-portlet.mw-portlet-performance-mode-group .citizen-menu__heading::before,
#citizen-preferences__card .citizen-menu:nth-last-child(1) .citizen-menu__heading::before {
content: "主题" !important;
font-size: 0.85rem !important;
font-weight: 500 !important;
letter-spacing: 0.1em !important;
text-transform: uppercase !important;
color: var(--color-primary) !important;
visibility: visible !important;
}
@media (prefers-color-scheme: dark) {
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os #citizen-preferences__card,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-menu__card,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-menu__card-content {
background-color: #1e1f20 !important;
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
box-shadow: none !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-client-prefs-radio__icon {
background-color: #333333 !important;
border-color: #555555 !important;
}
}
/* ====================== */
/* --- 首页 Banner --- */
/* ====================== */
.page-首页 .banner-image {
--banner-image-url: url("https://cdn.jsdelivr.net/gh/KKBlockE/BlocklandPicturebed@main/main/d49dd42343ab1bfcf4efa67f62f4ecf8.png");
--banner-image-height: 70vh;
background-image: linear-gradient(to top, var(--color-surface-0) 15%, transparent 150%), var(--banner-image-url);
background-size: cover;
background-position: top;
height: var(--banner-image-height);
margin-bottom: calc(-1 * var(--banner-image-height));
}
.full-width-banner {
width: 100vw;
position: relative;
left: 50%;
right: 50%;
margin-left: -50vw;
margin-right: -50vw;
overflow: hidden;
height: 400px;
background-size: cover;
background-position: center;
display: flex;
align-items: center;
justify-content: center;
color: white;
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
z-index: 1;
background-repeat: no-repeat;
background-color: #2a2a2a;
}
.banner-content {
max-width: 1200px;
padding: 20px;
text-align: center;
}
/* ======================== */
/* --- 搜索页面优化 --- */
/* ======================== */
.page-特殊_搜索 .oo-ui-layout.oo-ui-labelElement.oo-ui-actionFieldLayout,
.page-特殊_搜索 .oo-ui-fieldLayout.oo-ui-labelElement,
.page-特殊_搜索 .mw-widgets-titleInputWidget,
.page-特殊_搜索 .mw-widget-searchInputWidget {
max-width: none !important;
width: 100% !important;
display: flex !important;
}
.page-特殊_搜索 .mw-search-form-wrapper,
.page-特殊_搜索 #mw-search-top-table,
.page-特殊_搜索 .oo-ui-fieldLayout-field {
width: 100% !important;
max-width: none !important;
}
.page-特殊_搜索 .oo-ui-actionFieldLayout-input {
flex: 1 1 auto !important;
width: 100% !important;
}
.page-特殊_搜索 .oo-ui-actionFieldLayout-input .oo-ui-inputWidget-input {
height: 48px !important;
width: 100% !important;
padding-left: 45px !important;
border-radius: 12px 0 0 12px !important;
box-sizing: border-box !important;
}
.page-特殊_搜索 .oo-ui-actionFieldLayout-button {
flex: 0 0 auto !important;
width: auto !important;
}
.page-特殊_搜索 .oo-ui-actionFieldLayout-button .oo-ui-buttonElement-button {
height: 48px !important;
min-width: 120px !important;
padding: 0 30px !important;
border-radius: 0 12px 12px 0 !important;
box-sizing: border-box !important;
}
/* =============================== */
/* --- Infobox 信息框系统 --- */
/* =============================== */
.infobox {
display: table !important;
position: relative !important;
z-index: 10 !important;
background: rgba(255, 255, 255, 0.35) !important;
background-image: none !important;
color: var(--color-base-0) !important;
font-size: 0.925rem !important;
border: 1px solid rgba(255, 255, 255, 0.3) !important;
border-radius: 16px !important;
border-collapse: separate !important;
border-spacing: 0 !important;
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15) !important;
backdrop-filter: blur(14px) saturate(100%);
-webkit-backdrop-filter: blur(14px) saturate(100%);
overflow: hidden !important;
opacity: 1 !important;
float: right !important;
clear: right !important;
margin: 0.5em 0 0.5em 1em !important;
width: 22em !important;
}
.infobox th:not(.infobox-above),
.infobox td:not(.infobox-above) {
background-color: transparent !important;
color: var(--color-base-0) !important;
padding: 8px 5px !important;
line-height: 1.4 !important;
border-top: none !important;
}
.infobox tr:not(:last-child) th,
.infobox tr:not(:last-child) td {
border-bottom: 1px solid rgba(128, 128, 128, 0.15) !important;
}
html.skin-theme-clientpref-night .infobox tr:not(:last-child) th,
html.skin-theme-clientpref-night .infobox tr:not(:last-child) td {
border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.infobox th[colspan="2"] {
background-color: var(--color-primary-opacity-10, rgba(54, 121, 204, 0.1));
color: var(--color-primary, #36c);
}
.infobox .mw-file-description img { background: transparent !important; }
.infobox .infobox-title {
display: block !important;
width: 100% !important;
box-sizing: border-box !important;
margin: 0 0 12px 0 !important;
padding: 16px 12px !important;
border-radius: 12px !important;
overflow: hidden !important;
border: 1px solid rgba(128, 128, 128, 0.3) !important;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
text-shadow: none !important;
text-align: center !important;
line-height: 1.5 !important;
font-size: 1.2rem !important;
}
caption.infobox-title { caption-side: top !important; }
.infobox tbody {
display: table !important;
width: 100% !important;
border: 1px solid rgba(128, 128, 128, 0.3) !important;
border-radius: 12px !important;
overflow: hidden !important;
background: rgba(255, 255, 255, 0.4) !important;
}
.infobox .infobox-above {
text-shadow: none !important;
font-weight: bold !important;
text-align: center !important;
padding: 8px 5px !important;
border-bottom: 1px solid rgba(128, 128, 128, 0.15) !important;
border-top-left-radius: 12px !important;
border-top-right-radius: 12px !important;
}
.infobox tr:first-child th,
.infobox tr:first-child td {
border-top-left-radius: 12px !important;
border-top-right-radius: 12px !important;
}
.infobox tr:last-child td,
.infobox tr:last-child th {
border-bottom-left-radius: 12px !important;
border-bottom-right-radius: 12px !important;
}
.infobox .infobox-header {
background-color: rgba(54, 121, 204, 0.1) !important;
color: var(--color-primary, #36c) !important;
font-weight: bold !important;
text-align: center !important;
text-transform: uppercase;
letter-spacing: 1.5px;
border-top: 1px solid rgba(128, 128, 128, 0.1) !important;
border-bottom: 1px solid rgba(128, 128, 128, 0.1) !important;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}
.infobox-player-header {
background: linear-gradient(90deg, rgba(54, 121, 204, 0.1), transparent) !important;
border-radius: 8px;
padding: 5px !important;
margin-bottom: 5px !important;
}
html.skin-theme-clientpref-night .infobox .infobox-title {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
text-shadow: none !important;
filter: none !important;
}
html.skin-theme-clientpref-night .infobox {
background: rgba(20, 20, 20, 0.55) !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important;
}
html.skin-theme-clientpref-night .infobox tbody {
background: rgba(255, 255, 255, 0.06) !important;
}
html.skin-theme-clientpref-night .infobox .infobox-header {
background-color: rgba(54, 121, 204, 0.1) !important;
color: #ffffff !important;
border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
background: var(--color-surface-1, #ffffff) !important;
border: 1px solid rgba(128, 128, 128, 0.3) !important;
box-shadow: none !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox tbody {
background: var(--color-surface-1, #ffffff) !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox .infobox-header {
background-color: #F3F3F3 !important;
color: var(--color-base-0) !important;
border-top: 1px solid #ddd !important;
border-bottom: 1px solid #ddd !important;
backdrop-filter: none !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox .infobox-title {
box-shadow: none !important;
text-shadow: none !important;
border: 1px solid rgba(128, 128, 128, 0.3) !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox .infobox-title {
filter: none !important;
background-color: #2a2a2a !important;
color: #eaecf0 !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
background-color: #242526 !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox tbody {
background-color: #242526 !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox .infobox-header {
background-color: #2a2a2a !important;
color: #eaecf0 !important;
border-top: 1px solid rgba(0, 0, 0, 0.3) !important;
border-bottom: 1px solid rgba(0, 0, 0, 0.3) !important;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox .infobox-title {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
text-shadow: none !important;
filter: none !important;
}
html.skin-theme-clientpref-os .infobox-title,
html.skin-theme-clientpref-os .infobox caption,
html.skin-theme-clientpref-os .infobox th[style*="background"] {
background-color: rgba(26, 58, 90, 0.4);
color: #ffffff;
background-image: none !important;
filter: none !important;
}
html.skin-theme-clientpref-os .infobox {
background: rgba(20, 20, 20, 0.55) !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important;
}
html.skin-theme-clientpref-os .infobox tbody {
background: rgba(255, 255, 255, 0.06) !important;
}
html.skin-theme-clientpref-os .infobox .infobox-header {
background-color: rgba(60, 60, 60, 0.5) !important;
color: #ffffff !important;
border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
html.skin-theme-clientpref-os .infobox th,
html.skin-theme-clientpref-os .infobox td {
border-color: rgba(255, 255, 255, 0.1) !important;
}
html.skin-theme-clientpref-os .infobox .infobox-header {
border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .infobox,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .infobox-title,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os caption.infobox-title {
background-color: #2c2c2c;
color: #ffffff;
}
html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox .infobox-header,
html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox th[style*="background-color: #F3F3F3"],
html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox th[style*="background-color:#F3F3F3"],
html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox th[style*="background:#F3F3F3"] {
background-color: #333333;
color: #eeeeee;
border-color: #444444 !important;
text-shadow: none !important;
}
html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox th.infobox-label {
border-color: rgba(255, 255, 255, 0.1) !important;
color: #cccccc;
}
}
/* --- Caption 全模式透明清理 --- */
.infobox caption,
.mw-parser-output .infobox caption,
table.infobox caption {
background: transparent !important;
background-color: transparent !important;
border: none !important;
box-shadow: none !important;
filter: none !important;
text-shadow: none !important;
outline: none !important;
}
html.skin-theme-clientpref-night .infobox caption,
html.skin-theme-clientpref-night .infobox caption b,
html.skin-theme-clientpref-night table.infobox caption,
html.skin-theme-clientpref-night table.infobox caption b {
background: transparent !important;
border: none !important;
box-shadow: none !important;
filter: none !important;
color: #eaecf0 !important;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox caption,
html.skin-theme-clientpref-os .infobox caption b,
html.skin-theme-clientpref-os table.infobox caption,
html.skin-theme-clientpref-os table.infobox caption b {
background: transparent !important;
border: none !important;
box-shadow: none !important;
filter: none !important;
color: #eaecf0 !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox caption,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox caption b,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os caption.infobox-title {
background: transparent !important;
border: none !important;
color: #eaecf0 !important;
}
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox caption,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox caption b {
background: transparent !important;
border: none !important;
color: #eaecf0 !important;
}
/* --- Country / Geography / Vcard Infobox --- */
.infobox.ve-infobox-country,
.infobox.ve-infobox-country tbody,
.infobox.ve-infobox-country tr,
.infobox.ve-infobox-country th,
.infobox.ve-infobox-country td {
background-color: transparent !important;
border-color: rgba(128, 128, 128, 0.1) !important;
}
.infobox.ve-infobox-country {
background: rgba(255, 255, 255, 0.35) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
border: 1px solid rgba(255, 255, 255, 0.4) !important;
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15) !important;
border-radius: 16px !important;
overflow: hidden;
padding: 0 !important;
border-collapse: separate !important;
border-spacing: 0 !important;
}
.infobox.ve-infobox-country tbody { background-color: transparent !important; border: none !important; }
.infobox.ve-infobox-country .infobox-above {
text-shadow: none !important;
font-weight: bold !important;
text-align: center !important;
padding: 8px 5px !important;
border-bottom: 1px solid rgba(128, 128, 128, 0.15) !important;
border-top-left-radius: 12px !important;
border-top-right-radius: 12px !important;
margin: 0 !important;
display: table-cell !important;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
}
.infobox.ve-infobox-country tr:first-child th,
.infobox.ve-infobox-country tr:first-child td { border-top: none !important; }
.infobox.ve-infobox-country .infobox-header {
background-color: rgba(54, 121, 204, 0.1);
color: var(--color-primary, #36c);
backdrop-filter: blur(14px) saturate(100%);
-webkit-backdrop-filter: blur(14px) saturate(100%);
font-weight: bold !important;
text-align: center !important;
text-transform: uppercase;
letter-spacing: 1.5px;
font-size: 0.85rem;
border-top: 1px solid rgba(128, 128, 128, 0.1) !important;
border-bottom: 1px solid rgba(128, 128, 128, 0.1) !important;
}
.infobox.ve-infobox-country .infobox-image img {
background: transparent !important;
filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}
html.skin-theme-clientpref-night .infobox.ve-infobox-country {
background: rgba(20, 20, 20, 0.55) !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important;
}
html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-above {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
text-shadow: none !important;
}
html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-header {
background-color: rgba(54, 121, 204, 0.1);
color: #ffffff;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
background-color: var(--color-surface-1, #ffffff) !important;
border: 1px solid rgba(128, 128, 128, 0.3) !important;
box-shadow: none !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country .infobox-above {
text-shadow: none !important;
box-shadow: none !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country .infobox-header {
background-color: #F3F3F3;
color: var(--color-base-0);
backdrop-filter: none !important;
border-top: 1px solid #ddd !important;
border-bottom: 1px solid #ddd !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country {
background-color: #242526 !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-header {
background-color: #2a2a2a;
color: #eaecf0;
border-top: 1px solid rgba(0, 0, 0, 0.3) !important;
border-bottom: 1px solid rgba(0, 0, 0, 0.3) !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country tr th,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country tr td {
border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country tr:last-child th,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country tr:last-child td {
border-bottom: none !important;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-above {
color: #ffffff;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
text-shadow: none !important;
}
html.skin-theme-clientpref-os .infobox.geography,
html.skin-theme-clientpref-os .infobox.vcard,
html.skin-theme-clientpref-os .infobox.ve-infobox-country {
background: rgba(20, 20, 20, 0.55) !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important;
}
html.skin-theme-clientpref-os .infobox.geography .infobox-above,
html.skin-theme-clientpref-os .infobox.geography th.fn.org,
html.skin-theme-clientpref-os .infobox.vcard .infobox-above,
html.skin-theme-clientpref-os .infobox.vcard th.fn.org {
border-color: rgba(255, 255, 255, 0.1) !important;
}
html.skin-theme-clientpref-os .infobox.geography .infobox-subheader,
html.skin-theme-clientpref-os .infobox.vcard .infobox-subheader {
background-color: rgba(54, 121, 204, 0.3);
color: #ffffff;
border-color: rgba(255, 255, 255, 0.1) !important;
}
html.skin-theme-clientpref-os .infobox.geography .infobox-header,
html.skin-theme-clientpref-os .infobox.vcard .infobox-header {
background-color: rgba(60, 60, 60, 0.5);
color: #ffffff;
border-color: rgba(255, 255, 255, 0.1) !important;
}
html.skin-theme-clientpref-os .infobox.geography th.infobox-label,
html.skin-theme-clientpref-os .infobox.geography td.infobox-data,
html.skin-theme-clientpref-os .infobox.vcard th.infobox-label,
html.skin-theme-clientpref-os .infobox.vcard td.infobox-data {
background-color: transparent;
color: #eaecf0;
border-color: rgba(255, 255, 255, 0.08) !important;
}
html.skin-theme-clientpref-os .infobox.geography::after,
html.skin-theme-clientpref-os .infobox.vcard::after,
html.skin-theme-clientpref-os .infobox.ve-infobox-country::after {
background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 70%) !important;
}
html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country .infobox-above {
text-shadow: none !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.ve-infobox-country {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
background-color: #242526 !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
box-shadow: none !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography .infobox-subheader,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard .infobox-subheader {
background-color: #2a4a6a;
color: #ffffff;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography .infobox-header,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard .infobox-header {
background-color: #2a2a2a;
color: #eaecf0;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography::before,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography::after,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard::before,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard::after {
display: none !important;
}
}
/* --- Infobox country 图表区域(产业结构 / 电力结构) --- */
/* 图表外层容器 — 使用 .infobox-country-chart class 匹配 */
.infobox.ve-infobox-country .infobox-country-chart {
background: rgba(255, 255, 255, 0.35) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
border: 1px solid rgba(128, 128, 128, 0.25) !important;
border-radius: 12px !important;
overflow: hidden !important;
margin: 6px 0 !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}
/* 图表标题栏 */
.infobox.ve-infobox-country .infobox-country-chart > div:first-child {
background: rgba(54, 121, 204, 0.12) !important;
color: var(--color-primary, #36c) !important;
font-weight: bold !important;
font-size: 0.85rem !important;
letter-spacing: 1px !important;
text-transform: uppercase !important;
padding: 4px 0 !important;
border-bottom: 1px solid rgba(128, 128, 128, 0.1) !important;
}
/* 图表内部表格 */
.infobox.ve-infobox-country .infobox-country-chart > table {
background: transparent !important;
border: none !important;
margin: 4px 0 !important;
}
.infobox.ve-infobox-country .infobox-country-chart > table tr {
background: transparent !important;
border: none !important;
}
.infobox.ve-infobox-country .infobox-country-chart > table td {
background: transparent !important;
border: none !important;
padding: 4px 6px !important;
font-size: 0.9rem !important;
color: var(--color-base-0) !important;
}
/* 图表标签列 */
.infobox.ve-infobox-country .infobox-country-chart > table td:first-child {
font-weight: 500 !important;
white-space: nowrap !important;
width: 4.2em !important;
}
/* 图表数值列 */
.infobox.ve-infobox-country .infobox-country-chart > table td:nth-child(2) {
text-align: right !important;
width: 4.5em !important;
font-variant-numeric: tabular-nums !important;
}
/* 图标进度条容器 — 不覆盖内联背景色,让模板颜色正常穿透 */
.infobox.ve-infobox-country .infobox-country-chart > table td:last-child > div {
border-radius: 7px !important;
height: 14px !important;
overflow: hidden !important;
}
/* 图表进度条本体 — 保留内联颜色,仅加圆角和光泽效果 */
.infobox.ve-infobox-country .infobox-country-chart > table td:last-child > div > div {
border-radius: 7px !important;
height: 14px !important;
min-width: 2px !important;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
transition: width 0.3s ease !important;
}
/* --- Night 模式 --- */
html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-country-chart {
background: rgba(40, 40, 50, 0.5) !important;
border: 1px solid rgba(255, 255, 255, 0.12) !important;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4) !important;
}
html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-country-chart > div:first-child {
background: rgba(54, 121, 204, 0.2) !important;
color: #8ab8ff !important;
}
html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-country-chart > table td {
color: #eaecf0 !important;
}
html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-country-chart > table td:last-child > div {
background: rgba(255, 255, 255, 0.12) !important;
}
/* --- 性能模式 (Basic) --- */
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country .infobox-country-chart {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
background: var(--color-surface-2, #f5f5f5) !important;
border: 1px solid rgba(128, 128, 128, 0.2) !important;
box-shadow: none !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country .infobox-country-chart > div:first-child {
background: #e8f0fe !important;
color: #1a5a9e !important;
}
/* 性能模式 + Night */
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-country-chart {
background: #2a2a2a !important;
border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-country-chart > div:first-child {
background: #1a3050 !important;
color: #8ab8ff !important;
}
/* --- 系统偏好暗色 (OS) --- */
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-country-chart {
background: rgba(40, 40, 50, 0.5) !important;
border: 1px solid rgba(255, 255, 255, 0.12) !important;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4) !important;
}
html.skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-country-chart > div:first-child {
background: rgba(54, 121, 204, 0.2) !important;
color: #8ab8ff !important;
}
html.skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-country-chart > table td {
color: #eaecf0 !important;
}
html.skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-country-chart > table td:last-child > div {
background: rgba(255, 255, 255, 0.12) !important;
}
/* 性能模式 + OS */
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-country-chart {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
background: #2a2a2a !important;
border: 1px solid rgba(255, 255, 255, 0.08) !important;
box-shadow: none !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-country-chart > div:first-child {
background: #1a3050 !important;
color: #8ab8ff !important;
}
}
/* ======================== */
/* --- 通知中心 --- */
/* ======================== */
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup {
animation: none !important;
filter: none !important;
background: transparent !important;
border: none !important;
box-shadow: none !important;
overflow: visible !important;
}
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
background-color: rgba(255, 255, 255, 0.35) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
border: 1px solid rgba(128, 128, 128, 0.1) !important;
border-radius: 16px !important;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.05) !important;
position: relative !important;
transition: none !important;
will-change: opacity, transform;
backface-visibility: hidden;
}
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::before {
content: "" !important;
display: block !important;
position: absolute !important;
inset: -1px !important;
border: 2px solid transparent !important;
border-radius: 17px !important;
background: radial-gradient(180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 1.0) 0%, rgba(255, 255, 255, 0.4) 40%, transparent 80%) border-box !important;
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) !important;
-webkit-mask-clip: content-box, border-box !important;
-webkit-mask-composite: source-out !important;
mask-composite: subtract !important;
mix-blend-mode: screen !important;
z-index: 10 !important;
pointer-events: none !important;
}
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::after {
content: "" !important;
display: block !important;
position: absolute !important;
inset: 0 !important;
border-radius: 16px !important;
background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.35) 0%, transparent 70%) !important;
mix-blend-mode: soft-light !important;
z-index: 1 !important;
pointer-events: none !important;
}
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-head,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-body,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-footer,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-clippableElement-clippable,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .mw-echo-ui-notificationsListWidget,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .mw-echo-ui-placeholderItemWidget {
background: transparent !important;
background-color: transparent !important;
border-color: rgba(0, 0, 0, 0.05) !important;
}
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-body,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-clippableElement-clippable {
overflow-y: auto !important;
overflow-x: hidden !important;
}
.mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button {
background-color: rgba(255, 255, 255, 0.3) !important;
border: 1px solid rgba(0, 0, 0, 0.08) !important;
border-radius: 8px !important;
transition: background-color 0.2s ease, box-shadow 0.2s ease !important;
}
.mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button:hover {
background-color: rgba(255, 255, 255, 0.5) !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}
.mw-echo-ui-notificationItemWidget {
background: transparent !important;
transition: background-color 0.2s ease !important;
}
.mw-echo-ui-notificationItemWidget:hover { background-color: rgba(0, 0, 0, 0.03) !important; }
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-anchor { display: none !important; }
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
background-color: rgba(20, 20, 20, 0.55) !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
}
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::after {
background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 70%) !important;
}
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::before {
background: radial-gradient(180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, transparent 80%) border-box !important;
}
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button {
background-color: rgba(255, 255, 255, 0.1) !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button:hover {
background-color: rgba(255, 255, 255, 0.2) !important;
border-color: rgba(255, 255, 255, 0.3) !important;
}
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-labelElement-label,
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-iconElement-icon {
color: #eaecf0 !important;
}
html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget:hover {
background-color: rgba(255, 255, 255, 0.05) !important;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
background-color: rgba(20, 20, 20, 0.55) !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
html.skin-theme-clientpref-os .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::after {
background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 70%) !important;
}
html.skin-theme-clientpref-os .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button {
background-color: rgba(255, 255, 255, 0.1) !important;
}
html.skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget:hover {
background-color: rgba(255, 255, 255, 0.05) !important;
}
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
background-color: var(--color-surface-1) !important;
border: 1px solid var(--border-color-base) !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::before,
html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::after {
display: none !important;
}
/* ================================ */
/* --- 弹出预览 Page Preview --- */
/* ================================ */
.mwe-popups,
.mwe-popups.mwe-popups-fade-in-up,
.mwe-popups.mwe-popups-fade-in-down,
.mwe-popups.mwe-popups-fade-out-up,
.mwe-popups.mwe-popups-fade-out-down {
animation: none !important;
transition: none !important;
}
.mwe-popups::before,
.mwe-popups::after {
animation: none !important;
transition: none !important;
display: none !important;
}
.mwe-popups {
background: transparent !important;
border: none !important;
box-shadow: none !important;
isolation: auto !important;
}
.mwe-popups .mwe-popups-container {
overflow: hidden !important;
clip-path: none !important;
-webkit-clip-path: none !important;
position: relative !important;
background-color: rgba(255, 255, 255, 0.35) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
background-image: none !important;
border-radius: 12px !important;
border: 1px solid rgba(128, 128, 128, 0.1) !important;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}
.mwe-popups .mwe-popups-container::before {
content: "" !important;
display: block !important;
position: absolute !important;
inset: -1px !important;
border: 2px solid transparent !important;
border-radius: 13px !important;
background: radial-gradient(180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 1.0) 0%, rgba(255, 255, 255, 0.4) 40%, transparent 80%) border-box !important;
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) !important;
-webkit-mask-clip: content-box, border-box !important;
-webkit-mask-composite: source-out !important;
mask-composite: subtract !important;
mix-blend-mode: screen !important;
z-index: 10 !important;
pointer-events: none !important;
}
.mwe-popups .mwe-popups-container::after {
content: "" !important;
display: block !important;
position: absolute !important;
inset: 0 !important;
border-radius: 12px !important;
background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.35) 0%, transparent 70%) !important;
mix-blend-mode: soft-light !important;
z-index: 1 !important;
pointer-events: none !important;
}
.mwe-popups .mwe-popups-extract,
.mwe-popups .mwe-popups-scroll {
background: transparent !important;
overflow: hidden !important;
}
.mwe-popups .mwe-popups-extract::after { display: none !important; }
.mwe-popups footer {
background: rgba(255, 255, 255, 0.1) !important;
border-top: 1px solid rgba(128, 128, 128, 0.08) !important;
}
.mwe-popups .mwe-popups-extract,
.mwe-popups .mwe-popups-title,
.mwe-popups footer a { color: var(--color-base) !important; }
.mwe-popups-is-tall .mwe-popups-container,
.mwe-popups:not(.mwe-popups-no-image-pointer) .mwe-popups-container { clip-path: none !important; }
.mwe-popups .mwe-popups-discreet { background: transparent !important; }
.mwe-popups .mwe-popups-thumbnail { border-radius: 12px 12px 0 0 !important; }
.mwe-popups.mwe-popups-type-generic .mwe-popups-container {
background-color: rgba(255, 255, 255, 0.35) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
}
html.skin-theme-clientpref-night .mwe-popups .mwe-popups-container {
background-color: rgba(20, 20, 20, 0.55) !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}
html.skin-theme-clientpref-night .mwe-popups .mwe-popups-container::after {
background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 70%) !important;
}
html.skin-theme-clientpref-night .mwe-popups .mwe-popups-container::before {
background: radial-gradient(180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, transparent 80%) border-box !important;
}
html.skin-theme-clientpref-night .mwe-popups footer {
background: rgba(0, 0, 0, 0.15) !important;
border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}
html.skin-theme-clientpref-night .mwe-popups.mwe-popups-type-generic .mwe-popups-container {
background-color: rgba(20, 20, 20, 0.55) !important;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .mwe-popups .mwe-popups-container {
background-color: rgba(20, 20, 20, 0.55) !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}
html.skin-theme-clientpref-os .mwe-popups .mwe-popups-container::after {
background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 70%) !important;
}
html.skin-theme-clientpref-os .mwe-popups .mwe-popups-container::before {
background: radial-gradient(180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, transparent 80%) border-box !important;
}
html.skin-theme-clientpref-os .mwe-popups footer {
background: rgba(0, 0, 0, 0.15) !important;
border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}
html.skin-theme-clientpref-os .mwe-popups.mwe-popups-type-generic .mwe-popups-container {
background-color: rgba(20, 20, 20, 0.55) !important;
}
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups .mwe-popups-container {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
background-color: var(--color-surface-1) !important;
border: 1px solid var(--border-color-base) !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups .mwe-popups-container::before,
html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups .mwe-popups-container::after {
display: none !important;
content: none !important;
visibility: hidden !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups footer { background: var(--color-surface-2) !important; }
html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups.mwe-popups-type-generic .mwe-popups-container { background-color: var(--color-surface-1) !important; }
/* ========================= */
/* --- Navbox 导航框 --- */
/* ========================= */
.navbox, .navbox-inner, .navbox-subgroup {
background: transparent !important;
border: none !important;
border-collapse: separate !important;
border-spacing: 0 !important;
border-radius: 16px !important;
}
.navbox {
overflow: hidden !important;
margin: 1.5em 0 !important;
box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08) !important;
}
.navbox-title {
background: rgba(204, 238, 255, 0.5) !important;
color: #004466 !important;
font-weight: bold !important;
}
.navbox-group {
background: rgba(54, 121, 204, 0.1) !important;
color: #3366cc !important;
font-weight: bold !important;
}
html.skin-theme-clientpref-night .navbox-inner {
background: rgba(20, 20, 20, 0.55) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
}
html.skin-theme-clientpref-night .navbox-title { background: rgba(54, 121, 204, 0.3) !important; color: #ffffff !important; }
html.skin-theme-clientpref-night .navbox-group { background: rgba(54, 121, 204, 0.15) !important; color: #ffffff !important; }
html.skin-theme-clientpref-night .navbox-list,
html.skin-theme-clientpref-night .navbox-list > div { background: transparent !important; color: #eeeeee !important; }
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .navbox { box-shadow: none !important; }
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .navbox-inner { background-color: #1a1b1c !important; backdrop-filter: none !important; }
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .navbox-inner { background: rgba(20, 20, 20, 0.55) !important; backdrop-filter: blur(14px) saturate(100%) !important; }
html.skin-theme-clientpref-os .navbox-title { background: rgba(54, 121, 204, 0.3) !important; color: #ffffff !important; }
html.skin-theme-clientpref-os .navbox-group { background: rgba(54, 121, 204, 0.15) !important; color: #ffffff !important; }
html.skin-theme-clientpref-os .navbox-list { background: transparent !important; color: #eeeeee !important; }
html.skin-theme-clientpref-os .navbox { box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.3) !important; }
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox { box-shadow: none !important; padding: 0 !important; border: 1px solid #3c3d3e !important; }
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox-inner { background-color: #1a1b1c !important; backdrop-filter: none !important; border-collapse: collapse !important; }
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox-title { background-color: #004466 !important; padding: 2px 8px !important; }
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox-group { background-color: #242526 !important; padding: 2px 8px !important; border: 1px solid #3c3d3e !important; }
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox-list { padding: 0 !important; border: 1px solid #3c3d3e !important; }
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox-list > div { padding: 2px 6px !important; line-height: 1.2 !important; }
}
/* ========================= */
/* --- Ambox 消息框 --- */
/* ========================= */
table.ambox {
position: relative !important;
z-index: 100 !important;
overflow: hidden !important;
background-color: rgba(255, 255, 255, 0.35) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
border-style: solid !important;
border-width: 1px !important;
border-color: rgba(255, 255, 255, 0.4) !important;
border-left-width: 8px !important;
border-radius: 12px !important;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
margin: 10px 0 !important;
width: auto !important;
clear: both !important;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
table.ambox:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}
table.ambox td.ambox-text { color: var(--color-base-0) !important; }
/* Ambox 左侧色条颜色 (覆盖所有模式) */
table.ambox-notice { border-left-color: #1e90ff !important; }
table.ambox-delete { border-left-color: #b22222 !important; }
table.ambox-content { border-left-color: #f28500 !important; }
table.ambox-style { border-left-color: #f4c430 !important; }
table.ambox-good { border-left-color: #66cc66 !important; }
table.ambox-move { border-left-color: #9932cc !important; }
table.ambox-speedy { border-left-color: #b32424 !important; }
table.ambox-protection { border-left-color: #a2a9b1 !important; }
table.ambox-funny { border-left-color: #FF69B4 !important; }
table.ambox::before {
content: "" !important;
position: absolute;
inset: -1px;
border: 2px solid transparent;
background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.2) 40%, transparent 80%) border-box !important;
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
-webkit-mask-clip: content-box, border-box;
-webkit-mask-composite: source-out;
mask-composite: subtract;
mix-blend-mode: overlay;
z-index: 10;
pointer-events: none;
}
table.ambox::after {
content: "" !important;
position: absolute;
inset: 0;
background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.2) 0%, transparent 70%) !important;
mix-blend-mode: soft-light;
z-index: 1;
pointer-events: none;
}
html.skin-theme-clientpref-night table.ambox {
background-color: rgba(20, 20, 20, 0.55) !important;
border-style: solid !important;
border-width: 1px !important;
border-color: rgba(255, 255, 255, 0.1) !important;
border-left-width: 8px !important;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}
html.skin-theme-clientpref-night table.ambox::after {
background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08) 0%, transparent 70%) !important;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os table.ambox {
background-color: rgba(20, 20, 20, 0.55) !important;
border-style: solid !important;
border-width: 1px !important;
border-color: rgba(255, 255, 255, 0.1) !important;
border-left-width: 8px !important;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}
html.skin-theme-clientpref-os table.ambox::after {
background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08) 0%, transparent 70%) !important;
}
html.skin-theme-clientpref-os table.ambox td.ambox-text,
html.skin-theme-clientpref-os table.ambox td.ambox-text b,
html.skin-theme-clientpref-os table.ambox td.ambox-text small { color: #eaecf0 !important; }
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os table.ambox {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
background-color: #1e1f20 !important;
box-shadow: none !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os table.ambox::before,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os table.ambox::after { display: none !important; }
}
html[class*="citizen-feature-performance-mode-clientpref-1"] table.ambox {
backdrop-filter: none !important;
background-color: var(--color-surface-2) !important;
border-style: solid !important;
border-width: 1px !important;
border-color: var(--border-color-base) !important;
border-left-width: 8px !important;
box-shadow: none !important;
transform: none !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"] table.ambox::before,
html[class*="citizen-feature-performance-mode-clientpref-1"] table.ambox::after { display: none !important; }
/* ======================== */
/* --- Wikitable 表格 --- */
/* ======================== */
.citizen-table-wrapper,
.citizen-overflow-wrapper,
.citizen-overflow-content {
background: transparent !important;
border: none !important;
box-shadow: none !important;
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
padding: 15px !important;
margin: 1em -15px !important;
}
.citizen-overflow-content {
padding: 0 !important;
margin: 0 !important;
}
.citizen-overflow-content > table.wikitable { margin: 0 !important; }
.mw-parser-output table.wikitable {
background-color: rgba(255, 255, 255, 0.35) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
border: 1px solid rgba(128, 128, 128, 0.2) !important;
border-radius: 12px !important;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
border-collapse: separate !important;
border-spacing: 0 !important;
width: 100% !important;
margin: 1.5em 0 !important;
}
.citizen-table-wrapper > table.wikitable { margin: 0 !important; }
.mw-parser-output table.wikitable th:not(.notheme),
.mw-parser-output table.wikitable td:not(.notheme) {
border: 1px solid rgba(128, 128, 128, 0.15) !important;
padding: 10px 16px !important;
}
.mw-parser-output table.wikitable th:not(.notheme) {
background-color: transparent !important;
color: var(--color-base-0) !important;
}
.mw-parser-output table.wikitable tr:first-child th,
.mw-parser-output table.wikitable tr:first-child td { border-top: none !important; }
.mw-parser-output table.wikitable tr:last-child th,
.mw-parser-output table.wikitable tr:last-child td { border-bottom: none !important; }
.mw-parser-output table.wikitable tr th:first-child,
.mw-parser-output table.wikitable tr td:first-child { border-left: none !important; }
.mw-parser-output table.wikitable tr th:last-child,
.mw-parser-output table.wikitable tr td:last-child { border-right: none !important; }
.mw-parser-output table.wikitable tr:first-child th:first-child,
.mw-parser-output table.wikitable tr:first-child td:first-child { border-top-left-radius: 11px !important; }
.mw-parser-output table.wikitable tr:first-child th:last-child,
.mw-parser-output table.wikitable tr:first-child td:last-child { border-top-right-radius: 11px !important; }
.mw-parser-output table.wikitable tr:last-child th:first-child,
.mw-parser-output table.wikitable tr:last-child td:first-child { border-bottom-left-radius: 11px !important; }
.mw-parser-output table.wikitable tr:last-child th:last-child,
.mw-parser-output table.wikitable tr:last-child td:last-child { border-bottom-right-radius: 11px !important; }
html.skin-theme-clientpref-night .mw-parser-output table.wikitable {
background-color: rgba(20, 20, 20, 0.55) !important;
border-color: rgba(255, 255, 255, 0.1) !important;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}
html.skin-theme-clientpref-night .mw-parser-output table.wikitable th:not(.notheme) {
background-color: transparent !important;
color: #eaecf0 !important;
}
html.skin-theme-clientpref-night .mw-parser-output table.wikitable td:not(.notheme) {
border-color: rgba(255, 255, 255, 0.08) !important;
color: #eaecf0 !important;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .mw-parser-output table.wikitable {
background-color: rgba(20, 20, 20, 0.55) !important;
border-color: rgba(255, 255, 255, 0.1) !important;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}
html.skin-theme-clientpref-os .mw-parser-output table.wikitable th:not(.notheme) {
background-color: transparent !important;
color: #eaecf0 !important;
}
html.skin-theme-clientpref-os .mw-parser-output table.wikitable td:not(.notheme) {
border-color: rgba(255, 255, 255, 0.05) !important;
color: #eaecf0 !important;
}
html.skin-theme-clientpref-os .wikitable:not(.notheme),
html.skin-theme-clientpref-os .wikitable th:not(.notheme),
html.skin-theme-clientpref-os .wikitable td:not(.notheme) {
border-color: rgba(255, 255, 255, 0.2) !important;
}
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-parser-output table.wikitable {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
background-color: var(--color-surface-1) !important;
box-shadow: none !important;
}
@media (prefers-color-scheme: dark) {
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
background-color: #1e1f20 !important;
box-shadow: none !important;
border: 1px solid #3c3d3e !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable th:not(.notheme) {
background-color: transparent !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable td:not(.notheme) {
border-color: #3c3d3e !important;
}
}
/* ------------------ */
.mw-parser-output table.wikitable td.notheme,
.mw-parser-output table.wikitable th.notheme {
border-color: rgba(0, 0, 0, 0.12) !important;
}
html.skin-theme-clientpref-night .mw-parser-output table.wikitable td.notheme,
html.skin-theme-clientpref-night .mw-parser-output table.wikitable th.notheme {
border-color: rgba(0, 0, 0, 0.12) !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-parser-output table.wikitable td.notheme,
html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-parser-output table.wikitable th.notheme {
border-color: rgba(0, 0, 0, 0.12) !important;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .mw-parser-output table.wikitable td.notheme,
html.skin-theme-clientpref-os .mw-parser-output table.wikitable th.notheme {
border-color: rgba(0, 0, 0, 0.12) !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable td.notheme,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable th.notheme {
border-color: rgba(0, 0, 0, 0.12) !important;
}
}
@media (prefers-color-scheme: light) {
html.skin-theme-clientpref-os .mw-parser-output table.wikitable td.notheme,
html.skin-theme-clientpref-os .mw-parser-output table.wikitable th.notheme {
border-color: rgba(0, 0, 0, 0.12) !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable td.notheme,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable th.notheme {
border-color: rgba(0, 0, 0, 0.12) !important;
}
}
/* ==================== */
/* --- 缩略图 --- */
/* ==================== */
/* 移除缩略图和普通图片悬停时的放大/位移效果 */
html:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] img:hover,
html:not(.ve-active) .mw-parser-output .thumbinner img:hover,
html:not(.ve-active) .mw-parser-output .thumbimage:hover,
.mw-parser-output .mw-file-description img:hover {
transform: none !important;
}
/* 移除容器本身的悬停动效(如果皮肤有定义) */
html:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"]:hover,
html:not(.ve-active) .mw-parser-output .thumbinner:hover {
transform: none !important;
}
html:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
html:not(.ve-active) .mw-parser-output .thumbinner {
width: min-content !important;
background-color: rgba(255, 255, 255, 0.35) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
border: 1px solid rgba(128, 128, 128, 0.2) !important;
border-radius: 12px !important;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
padding: 10px !important;
box-sizing: content-box !important;
}
html:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] img,
html:not(.ve-active) .mw-parser-output .thumbimage {
display: block !important;
border-radius: 6px !important;
border: none !important;
max-width: none !important;
height: auto !important;
margin: 0 auto !important;
}
html:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] figcaption,
html:not(.ve-active) .mw-parser-output .thumbcaption {
display: block !important;
width: 100% !important;
text-align: left !important;
color: var(--color-base-0) !important;
margin-top: 8px !important;
font-size: 0.9em !important;
line-height: 1.5 !important;
white-space: normal !important;
word-wrap: break-word !important;
}
/* --- 手动暗色 --- */
html.skin-theme-clientpref-night:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
html.skin-theme-clientpref-night:not(.ve-active) .mw-parser-output .thumbinner {
background-color: rgba(20, 20, 20, 0.55) !important;
border-color: rgba(255, 255, 255, 0.1) !important;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}
html.skin-theme-clientpref-night:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] figcaption,
html.skin-theme-clientpref-night:not(.ve-active) .mw-parser-output .thumbcaption {
color: #eaecf0 !important;
}
/* --- 自动暗色 --- */
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
html.skin-theme-clientpref-os:not(.ve-active) .mw-parser-output .thumbinner {
background-color: rgba(20, 20, 20, 0.55) !important;
border-color: rgba(255, 255, 255, 0.1) !important;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}
html.skin-theme-clientpref-os:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] figcaption,
html.skin-theme-clientpref-os:not(.ve-active) .mw-parser-output .thumbcaption {
color: #eaecf0 !important;
}
}
/* --- Basic 模式 --- */
html[class*="citizen-feature-performance-mode-clientpref-1"]:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
html[class*="citizen-feature-performance-mode-clientpref-1"]:not(.ve-active) .mw-parser-output .thumbinner {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
background-color: var(--color-surface-1) !important;
box-shadow: none !important;
border: 1px solid var(--border-color-base) !important;
}
/* --- Basic + 自动暗色 --- */
@media (prefers-color-scheme: dark) {
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os:not(.ve-active) .mw-parser-output .thumbinner {
background-color: #1e1f20 !important;
border: 1px solid #3c3d3e !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] figcaption,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os:not(.ve-active) .mw-parser-output .thumbcaption {
color: #eaecf0 !important;
}
}
/* --- Basic + 手动暗色 --- */
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night:not(.ve-active) .mw-parser-output .thumbinner {
background-color: #1e1f20 !important;
border: 1px solid #3c3d3e !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] figcaption,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night:not(.ve-active) .mw-parser-output .thumbcaption {
color: #eaecf0 !important;
}
/* ======================== */
/* --- Voy-box 警告框 --- */
/* ======================== */
.voy-box {
display: flex !important;
align-items: flex-start !important;
padding: 16px 20px !important;
margin: 16px 0 !important;
border-radius: 12px !important;
background-color: rgba(255, 255, 255, 0.35) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
border: 1px solid rgba(128, 128, 128, 0.2) !important;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
position: relative !important;
overflow: hidden !important;
}
.voy-box.warning {
border-left: 4px solid #f0ad4e !important;
background-color: rgba(255, 243, 205, 0.5) !important;
}
.voy-box-icon { font-size: 1.5rem !important; margin-right: 12px !important; flex-shrink: 0 !important; color: #856404 !important; }
.voy-box-content { color: var(--color-base-0) !important; line-height: 1.6 !important; }
.voy-box::before {
content: "" !important;
position: absolute;
inset: -1px;
border: 2px solid transparent;
border-radius: 13px;
background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.2) 40%, transparent 80%) border-box !important;
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
-webkit-mask-clip: content-box, border-box;
-webkit-mask-composite: source-out;
mask-composite: subtract;
mix-blend-mode: overlay;
z-index: 10;
pointer-events: none;
}
.voy-box::after {
content: "" !important;
position: absolute;
inset: 0;
border-radius: 12px;
background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.2) 0%, transparent 70%) !important;
mix-blend-mode: soft-light;
z-index: 1;
pointer-events: none;
}
html.skin-theme-clientpref-night .voy-box {
background-color: rgba(20, 20, 20, 0.55) !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}
html.skin-theme-clientpref-night .voy-box.warning { background-color: rgba(102, 77, 30, 0.4) !important; border-left: 4px solid #f0ad4e !important; }
html.skin-theme-clientpref-night .voy-box-icon { color: #ffc107 !important; }
html.skin-theme-clientpref-night .voy-box-content { color: #eaecf0 !important; }
html.skin-theme-clientpref-night .voy-box::after {
background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08) 0%, transparent 70%) !important;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .voy-box { background-color: rgba(20, 20, 20, 0.55) !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important; }
html.skin-theme-clientpref-os .voy-box.warning { background-color: rgba(102, 77, 30, 0.4) !important; border-left: 4px solid #f0ad4e !important; }
html.skin-theme-clientpref-os .voy-box-icon { color: #ffc107 !important; }
html.skin-theme-clientpref-os .voy-box-content { color: #eaecf0 !important; }
html.skin-theme-clientpref-os .voy-box::after { background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08) 0%, transparent 70%) !important; }
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .voy-box.warning { background-color: #3d3520 !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; border-left: 4px solid #f0ad4e !important; }
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .voy-box {
backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
background-color: var(--color-surface-1) !important; box-shadow: none !important;
border: 1px solid var(--border-color-base) !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .voy-box.warning { background-color: #fff3cd !important; border-left: 4px solid #f0ad4e !important; }
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .voy-box.warning {
background-color: #3d3520 !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; border-left: 4px solid #f0ad4e !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .voy-box::before,
html[class*="citizen-feature-performance-mode-clientpref-1"] .voy-box::after { display: none !important; }
/* ============================== */
/* --- OO-UI 下拉菜单 --- */
/* ============================== */
.oo-ui-menuSelectWidget {
position: absolute !important;
background-color: rgba(var(--color-surface-1-rgb, 28, 28, 28), 0.7) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
border: 1px solid rgba(255, 255, 255, 0.12) !important;
border-radius: 12px !important;
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
padding: 6px !important;
z-index: 1000 !important;
}
html.skin-theme-clientpref-day .oo-ui-menuSelectWidget {
background-color: rgba(255, 255, 255, 0.75) !important;
border: 1px solid rgba(0, 0, 0, 0.1) !important;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}
.oo-ui-menuSelectWidget::before,
.oo-ui-menuSelectWidget::after {
content: "" !important;
display: block !important;
position: absolute !important;
pointer-events: none !important;
}
.oo-ui-menuSelectWidget::before {
inset: -1px;
border: 2px solid transparent;
border-radius: 15px;
background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, transparent 80%) border-box !important;
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
-webkit-mask-clip: content-box, border-box;
-webkit-mask-composite: source-out;
mask-composite: subtract;
mix-blend-mode: screen !important;
z-index: 10;
}
.oo-ui-menuOptionWidget {
display: flex !important;
align-items: center !important;
padding: 10px 14px !important;
margin: 2px 0 !important;
border-radius: 10px !important;
transition: all 0.2s ease !important;
}
.oo-ui-menuOptionWidget-checkIcon {
position: static !important;
margin-right: 8px !important;
min-width: 20px !important;
}
.oo-ui-menuOptionWidget .oo-ui-iconElement-icon {
position: static !important;
margin-right: 12px !important;
filter: invert(1) brightness(2) !important;
}
html.skin-theme-clientpref-day .oo-ui-menuOptionWidget .oo-ui-iconElement-icon { filter: invert(0) brightness(1) !important; }
.oo-ui-menuOptionWidget .oo-ui-labelElement-label { color: var(--color-text-primary) !important; font-size: 0.95rem !important; }
.oo-ui-menuOptionWidget:hover { background-color: rgba(var(--color-primary-rgb), 0.2) !important; }
html[class*="citizen-feature-performance-mode-clientpref-1"] .oo-ui-menuSelectWidget::before,
html[class*="citizen-feature-performance-mode-clientpref-1"] .oo-ui-menuSelectWidget::after { display: none !important; }
/* ================================ */
/* --- 液态玻璃光效系统 --- */
/* ================================ */
.citizen-menu__card,
.citizen-toc-card,
#mw-panel-toc,
.citizen-command-palette,
.infobox {
position: relative;
background-image: none !important;
opacity: 1 !important;
}
.citizen-menu__card::before,
.citizen-toc-card::before,
#mw-panel-toc::before,
.citizen-command-palette::before,
.infobox::before {
content: "" !important;
position: absolute;
inset: -1px;
border: 2px solid transparent;
background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.3) 40%, transparent 80%) border-box !important;
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
-webkit-mask-clip: content-box, border-box;
-webkit-mask-composite: source-out;
mask-composite: subtract;
mix-blend-mode: overlay;
z-index: 10;
pointer-events: none;
}
.citizen-menu__card::after,
.citizen-toc-card::after,
#mw-panel-toc::after,
.citizen-command-palette::after,
.infobox::after {
content: "" !important;
position: absolute;
inset: 0;
background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.35) 0%, transparent 75%) !important;
mix-blend-mode: soft-light;
z-index: 1;
pointer-events: none;
}
html.skin-theme-clientpref-night .citizen-menu__card::after,
html.skin-theme-clientpref-night .citizen-toc-card::after,
html.skin-theme-clientpref-night #mw-panel-toc::after,
html.skin-theme-clientpref-night .citizen-command-palette::after,
html.skin-theme-clientpref-night .infobox::after {
background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 75%) !important;
}
html.skin-theme-clientpref-night table.infobox[style*="background"]::after {
background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.2) 0%, transparent 70%) !important;
mix-blend-mode: soft-light !important;
}
/* --- Infobox 光效边缘贴合 --- */
.infobox::before,
table.infobox::before,
table.infobox[style*="background"]::before,
table.infobox[style*="width"]::before,
.infobox.geography::before,
.infobox.vcard::before,
.infobox.ve-infobox-country::before {
inset: -1px !important;
border: 2px solid transparent !important;
border-radius: inherit !important;
}
.infobox.geography::after,
.infobox.vcard::after,
.infobox.ve-infobox-country::after,
table.infobox.geography[style*="background"]::after,
table.infobox.geography[style*="width"]::after,
table.infobox.vcard[style*="background"]::after,
table.infobox.vcard[style*="width"]::after,
table.infobox.ve-infobox-country[style*="background"]::after,
table.infobox.ve-infobox-country[style*="width"]::after {
inset: 0 !important;
border-radius: inherit !important;
}
table.infobox[style*="background"]::after,
table.infobox[style*="width"]::after {
inset: 3px !important;
border-radius: 20px !important;
}
/* --- #mw-panel-toc 专项 --- */
#mw-panel-toc {
overflow: hidden !important;
box-shadow: none !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
#mw-panel-toc::before {
content: "" !important;
position: absolute !important;
inset: 0px !important;
border: 1.2px solid transparent !important;
mix-blend-mode: screen !important;
background: radial-gradient(150px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.4) 60%, transparent 100%) border-box !important;
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
-webkit-mask-clip: content-box, border-box;
-webkit-mask-composite: source-out;
mask-composite: subtract;
z-index: 10 !important;
pointer-events: none;
}
#mw-panel-toc::after {
content: "" !important;
position: absolute !important;
inset: 0 !important;
background: radial-gradient(250px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.25) 0%, transparent 80%) !important;
mix-blend-mode: soft-light !important;
z-index: 1 !important;
}
html.skin-theme-clientpref-night #mw-panel-toc,
html.skin-theme-clientpref-night .citizen-menu__card {
background-color: rgba(20, 20, 20, 0.55) !important;
}
/* --- .citizen-menu__card 增强光效 --- */
.citizen-menu__card::before {
mix-blend-mode: screen !important;
background: radial-gradient(180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 1.0) 0%, rgba(255, 255, 255, 0.6) 40%, transparent 80%) border-box !important;
opacity: 1 !important;
}
.citizen-menu__card::after {
background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.4) 0%, transparent 70%) !important;
}
html.skin-theme-clientpref-night .citizen-menu__card::before {
background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, transparent 80%) border-box !important;
}
/* --- #citizen-sidebar-lastmod 光效 --- */
#citizen-sidebar-lastmod {
position: relative;
overflow: hidden;
background: rgba(255, 255, 255, 0.35) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
border: 1px solid rgba(128, 128, 128, 0.2);
border-radius: 16px !important;
box-shadow: none !important;
}
html.skin-theme-clientpref-night #citizen-sidebar-lastmod {
background: rgba(20, 20, 20, 0.55) !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
#citizen-sidebar-lastmod::before {
content: "" !important;
position: absolute;
inset: -1px;
border: 2.4px solid transparent;
background: radial-gradient(150px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.4) 60%, transparent 100%) border-box !important;
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
-webkit-mask-clip: content-box, border-box;
-webkit-mask-composite: source-out;
mask-composite: subtract;
mix-blend-mode: screen;
z-index: 10;
pointer-events: none;
}
html.citizen-feature-performance-mode-clientpref-1 #citizen-sidebar-lastmod::before { display: none !important; }
/* --- Basic 模式:彻底关闭光效 --- */
html.skin-citizen-basic #mw-panel-toc,
html.skin-citizen-basic .citizen-menu__card,
html.skin-citizen-basic .citizen-toc-card {
background-color: var(--color-surface-2) !important;
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
opacity: 1 !important;
box-shadow: var(--box-shadow-card) !important;
}
html.skin-citizen-basic #mw-panel-toc::before,
html.skin-citizen-basic #mw-panel-toc::after,
html.skin-citizen-basic .citizen-menu__card::before,
html.skin-citizen-basic .citizen-menu__card::after {
display: none !important;
content: none !important;
}
html.citizen-feature-performance-mode-clientpref-1 #mw-panel-toc,
html.citizen-feature-performance-mode-clientpref-1 .citizen-menu__card,
html.citizen-feature-performance-mode-clientpref-1 .citizen-toc-card,
html.citizen-feature-performance-mode-clientpref-1 .citizen-command-palette,
html.citizen-feature-performance-mode-clientpref-1 .infobox {
background-color: #ffffff !important;
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
opacity: 1 !important;
border: 1px solid var(--color-border) !important;
box-shadow: var(--box-shadow-card) !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night #mw-panel-toc,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-menu__card {
background-color: #1a1a1a !important;
}
html.citizen-feature-performance-mode-clientpref-1 #mw-panel-toc::before,
html.citizen-feature-performance-mode-clientpref-1 #mw-panel-toc::after,
html.citizen-feature-performance-mode-clientpref-1 .citizen-menu__card::before,
html.citizen-feature-performance-mode-clientpref-1 .citizen-menu__card::after,
html.citizen-feature-performance-mode-clientpref-1 .citizen-toc-card::before,
html.citizen-feature-performance-mode-clientpref-1 .citizen-toc-card::after {
display: none !important;
content: none !important;
visibility: hidden !important;
}
@media (prefers-color-scheme: dark) {
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os #mw-panel-toc {
background-color: #1e1f20 !important;
}
}
/* =============================== */
/* --- 最后修改时间徽章 --- */
/* =============================== */
#citizen-sidebar-lastmod.citizen-menu {
background-color: rgba(255, 255, 255, 0.35) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
border-radius: 12px !important;
border: none !important;
padding: 4px !important;
margin-top: 5px !important;
width: fit-content !important;
background-image: none !important;
}
html.skin-theme-clientpref-night #citizen-sidebar-lastmod.citizen-menu {
background-color: rgba(20, 20, 20, 0.55) !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"] #citizen-sidebar-lastmod.citizen-menu {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
background-color: var(--color-surface-1) !important;
border: 1px solid var(--border-color-base, rgba(20, 20, 20, 0.2)) !important;
box-shadow: none !important;
}
#citizen-sidebar-lastmod #citizen-lastmod-relative {
text-decoration: none !important;
color: var(--color-base-0) !important;
font-weight: 400;
}
#citizen-sidebar-lastmod,
#citizen-sidebar-lastmod .citizen-menu__card {
box-shadow: none !important;
border: 1px solid rgba(128, 128, 128, 0.2);
}
/* ================================== */
/* --- 能效模式 (Aero/Basic) 适配 --- */
/* ================================== */
html[class*="citizen-feature-performance-mode-clientpref-1"] {
--citizen-backdrop-filter: none !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .citizen-menu__card,
html[class*="citizen-feature-performance-mode-clientpref-1"] #citizen-preferences__card,
html[class*="citizen-feature-performance-mode-clientpref-1"] .citizen-sticky-header-background,
html[class*="citizen-feature-performance-mode-clientpref-1"] .citizen-command-palette,
html[class*="citizen-feature-performance-mode-clientpref-1"] .page-actions-more__card {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
background-color: var(--color-surface-1) !important;
animation: citizen-fade-in 0.1s ease forwards !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .citizen-command-palette {
transform: translate(-50%, -50%) scale(1) !important;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}
/* ================================ */
/* --- 杂项自动深色修复 --- */
/* ================================ */
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .catlinks {
border-color: rgba(255, 255, 255, 0.15) !important;
background-color: rgba(0, 0, 0, 0.2) !important;
}
}
/* ======================================================================== */
/* --- 以下部分是未经过整合的补丁代码,当积累到一定数量时提醒我进行整合 --- */
/* ======================================================================== */
/* ====================== */
/* --- 通知捆绑项适配 --- */
/* ====================== */
.mw-echo-ui-bundleNotificationItemWidget-group,
.mw-echo-ui-sortedListWidget,
.mw-echo-ui-sortedListWidget-group {
background: transparent !important;
}
.mw-echo-ui-notificationItemWidget-bundled {
background: transparent !important;
border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
transition: background-color 0.2s ease !important;
}
.mw-echo-ui-notificationItemWidget-bundled:last-child {
border-bottom: none !important;
}
.mw-echo-ui-notificationItemWidget-bundled:hover {
background-color: rgba(0, 0, 0, 0.03) !important;
}
html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-bundled {
background: transparent !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-bundled:hover {
background-color: rgba(255, 255, 255, 0.05) !important;
}
html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-content-message-header,
html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-content-message-header strong {
color: #eaecf0 !important;
}
html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-content-actions-timestamp {
color: #8e8e93 !important;
}
html.skin-theme-clientpref-night .mw-echo-ui-actionMenuPopupWidget .oo-ui-iconElement-icon {
filter: invert(1) !important;
opacity: 0.6 !important;
}
html.skin-theme-clientpref-night .mw-echo-ui-toggleReadCircleButtonWidget-circle {
border-color: rgba(255, 255, 255, 0.3) !important;
}
html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-unread .mw-echo-ui-toggleReadCircleButtonWidget-circle {
background-color: var(--color-primary, #36c) !important;
border-color: var(--color-primary, #36c) !important;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget-bundled {
background: transparent !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
html.skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget-bundled:hover {
background-color: rgba(255, 255, 255, 0.05) !important;
}
html.skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget-content-message-header,
html.skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget-content-message-header strong {
color: #eaecf0 !important;
}
html.skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget-content-actions-timestamp {
color: #8e8e93 !important;
}
html.skin-theme-clientpref-os .mw-echo-ui-actionMenuPopupWidget .oo-ui-iconElement-icon {
filter: invert(1) !important;
opacity: 0.6 !important;
}
html.skin-theme-clientpref-os .mw-echo-ui-toggleReadCircleButtonWidget-circle {
border-color: rgba(255, 255, 255, 0.3) !important;
}
html.skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget-unread .mw-echo-ui-toggleReadCircleButtonWidget-circle {
background-color: var(--color-primary, #36c) !important;
border-color: var(--color-primary, #36c) !important;
}
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-bundled {
border-bottom: 1px solid #3c3d3e !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-bundled:hover {
background-color: #2a2b2c !important;
}
@media (prefers-color-scheme: dark) {
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget-bundled {
border-bottom: 1px solid #3c3d3e !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget-bundled:hover {
background-color: #2a2b2c !important;
}
}
/* ======================== */
/* --- 每月新闻 Aero 面板 --- */
/* ======================== */
.aero-news-box {
position: relative;
background-color: rgba(255, 255, 255, 0.35) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
border: 1px solid rgba(128, 128, 128, 0.2) !important;
border-radius: 16px !important;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
padding: 16px 20px !important;
margin: 16px 0 !important;
overflow: hidden !important;
color: var(--color-base-0) !important;
}
.aero-news-box-header {
font-size: 1.15rem;
font-weight: bold;
border-bottom: 1px solid rgba(128, 128, 128, 0.2);
padding-bottom: 8px;
margin-bottom: 12px;
color: var(--color-base-0);
}
.aero-news-box::before {
content: "" !important;
position: absolute;
inset: -1px;
border: 2px solid transparent;
border-radius: 17px;
background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.2) 40%, transparent 80%) border-box !important;
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
-webkit-mask-clip: content-box, border-box;
-webkit-mask-composite: source-out;
mask-composite: subtract;
mix-blend-mode: overlay;
z-index: 10;
pointer-events: none;
}
.aero-news-box::after {
content: "" !important;
position: absolute;
inset: 0;
border-radius: 16px;
background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.2) 0%, transparent 70%) !important;
mix-blend-mode: soft-light;
z-index: 1;
pointer-events: none;
}
html.skin-theme-clientpref-night .aero-news-box {
background-color: rgba(20, 20, 20, 0.55) !important;
border-color: rgba(255, 255, 255, 0.1) !important;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}
html.skin-theme-clientpref-night .aero-news-box-header { border-bottom-color: rgba(255, 255, 255, 0.1); }
html.skin-theme-clientpref-night .aero-news-box::after { background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08) 0%, transparent 70%) !important; }
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .aero-news-box { background-color: rgba(20, 20, 20, 0.55) !important; border-color: rgba(255, 255, 255, 0.1) !important; }
html.skin-theme-clientpref-os .aero-news-box-header { border-bottom-color: rgba(255, 255, 255, 0.1); }
html.skin-theme-clientpref-os .aero-news-box::after { background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08) 0%, transparent 70%) !important; }
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .aero-news-box {
backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
background-color: var(--color-surface-1) !important; box-shadow: none !important;
border: 1px solid var(--border-color-base) !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .aero-news-box::before,
html[class*="citizen-feature-performance-mode-clientpref-1"] .aero-news-box::after { display: none !important; }
/* ========== */
/* Banner修复 */
/* ========== */
.page-首页 .banner-image {
position: relative;
z-index: 1;
pointer-events: none;
}
.home-banner-overlay {
position: relative;
z-index: 10;
}
.aero-news-box {
position: relative;
z-index: 20;
margin-top: 20px;
}
.page-banner-bg,
.page-banner-bg * {
pointer-events: none !important;
user-select: none !important;
}
.page-banner {
pointer-events: none !important;
}
.page-banner-content div {
pointer-events: auto !important;
}
/* ============ */
/* 侧边栏毛玻璃 */
/* ============ */
.mw-logo-icon {
border-radius: 6px !important;
overflow: hidden;
}
.citizen-header {
background: transparent !important;
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
box-shadow: none !important;
}
.citizen-header::after {
content: "";
position: fixed;
top: 0;
left: 0;
z-index: -1;
pointer-events: none;
width: var(--citizen-width-sidebar, 70px);
height: 100vh;
background-color: rgba(255, 255, 255, 0.35);
background-image: radial-gradient(
600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
rgba(255, 255, 255, 0.15),
transparent 80%
);
backdrop-filter: blur(14px) saturate(100%);
-webkit-backdrop-filter: blur(14px) saturate(100%);
border-right: 1px solid transparent;
border-image: radial-gradient(
180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
rgba(255, 255, 255, 0.9),
rgba(255, 255, 255, 0.2) 80%,
transparent
) 1 / 1 / 0 stretch;
}
@media screen and (max-width: 1119px) {
.citizen-header::after {
top: auto;
bottom: 0;
width: 100%;
height: var(--citizen-height-header, 70px);
border-right: none;
border-top: 1px solid transparent;
border-image: radial-gradient(
150px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
rgba(255, 255, 255, 0.4),
transparent 80%
) 1 / 1 / 0 stretch;
background-image: none !important;
}
}
html.skin-theme-clientpref-night .citizen-header::after {
background-color: rgba(20, 20, 20, 0.55) !important;
background-image: radial-gradient(
600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
rgba(255, 255, 255, 0.08),
transparent 70%
) !important;
border-image: radial-gradient(
180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
rgba(255, 255, 255, 0.6),
rgba(255, 255, 255, 0.1) 80%,
transparent
) 1 / 1 / 0 stretch !important;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .citizen-header::after {
background-color: rgba(20, 20, 20, 0.55) !important;
background-image: radial-gradient(
600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
rgba(255, 255, 255, 0.08),
transparent 70%
) !important;
border-image: radial-gradient(
180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
rgba(255, 255, 255, 0.6),
rgba(255, 255, 255, 0.1) 80%,
transparent
) 1 / 1 / 0 stretch !important;
}
}
html.citizen-feature-performance-mode-clientpref-1 .citizen-header::after {
backdrop-filter: none !important;
background-image: none !important;
border-image: none !important;
border-right: 1px solid rgba(128, 128, 128, 0.2);
background-color: var(--color-surface-1) !important;
opacity: 1 !important;
}
.citizen-menu__card,
.citizen-drawer__card,
.citizen-preferences__card {
z-index: 10000 !important;
isolation: isolate !important;
}
/* =============================================
Blockland Wiki 首页组件深色模式适配补丁
不改变结构/大小,仅调整颜色与背景
============================================= */
/* ----- 手动深色模式 (night) ----- */
html.skin-theme-clientpref-night .bl-hero,
html.skin-theme-clientpref-night .bl-hero-text,
html.skin-theme-clientpref-night .bl-sidecol,
html.skin-theme-clientpref-night .bl-maincol {
color: var(--color-base-0, #eaecf0);
}
html.skin-theme-clientpref-night .bl-hero-kicker,
html.skin-theme-clientpref-night .bl-hero-title {
color: var(--color-base-10, #f8f9fa);
}
/* 卡片盒子背景与边框 */
html.skin-theme-clientpref-night .bl-box {
border-color: rgba(255, 255, 255, 0.1);
}
html.skin-theme-clientpref-night .bl-box-body,
html.skin-theme-clientpref-night .bl-box-body * {
color: var(--color-base-0, #eaecf0);
}
/* 导航网格链接 */
/* 红色链接(新页面/不存在页面)在深色下保持可读 */
html.skin-theme-clientpref-night .bl-navitem a.new,
html.skin-theme-clientpref-night .bl-list a.new {
color: #ff9999 !important;
}
/* 列表条目 */
html.skin-theme-clientpref-night .bl-list li {
color: var(--color-base-0);
}
/* 地图容器无额外背景,iframe 边框微调 */
html.skin-theme-clientpref-night .bl-map-wrap {
background: transparent;
}
html.skin-theme-clientpref-night .bl-map-wrap iframe {
border-color: rgba(255, 255, 255, 0.2);
}
/* ----- 系统偏好深色模式 (os) ----- */
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .bl-hero,
html.skin-theme-clientpref-os .bl-hero-text,
html.skin-theme-clientpref-os .bl-sidecol,
html.skin-theme-clientpref-os .bl-maincol {
color: var(--color-base-0, #eaecf0);
}
html.skin-theme-clientpref-os .bl-hero-kicker,
html.skin-theme-clientpref-os .bl-hero-title {
color: var(--color-base-10, #f8f9fa);
}
html.skin-theme-clientpref-os .bl-box {
border-color: rgba(255, 255, 255, 0.1);
}
html.skin-theme-clientpref-os .bl-box-body,
html.skin-theme-clientpref-os .bl-box-body * {
color: var(--color-base-0, #eaecf0);
}
html.skin-theme-clientpref-os .bl-navitem a.new,
html.skin-theme-clientpref-os .bl-list a.new {
color: #ff9999 !important;
}
html.skin-theme-clientpref-os .bl-list li {
color: var(--color-base-0);
}
html.skin-theme-clientpref-os .bl-map-wrap iframe {
border-color: rgba(255, 255, 255, 0.2);
}
}
/* ----- 性能模式 (Basic) 下确保背景为实色,不产生半透明模糊 ----- */
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .bl-box {
background-color: var(--color-surface-2, #2d2e2f) !important;
backdrop-filter: none !important;
}
@media (prefers-color-scheme: dark) {
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .bl-box {
background-color: var(--color-surface-2, #2d2e2f) !important;
backdrop-filter: none !important;
}
}
/* =====================================================
最终修复:深色模式统一微调(不改变布局尺寸)
- bl-stat 保持明亮,不变灰
- bl-box-title 背景强制透明 + 文字高亮
- bl-navitem 边框、背景统一深色调
===================================================== */
/* ----- 1. .bl-stat 区域保持明亮,不使用灰色调 ----- */
html.skin-theme-clientpref-night .bl-stat,
html.skin-theme-clientpref-night .bl-stat * {
color: #ffffff !important; /* 保证统计数字/标签/说明均为白/亮色 */
}
/* ----- 2. .bl-box-title 背景强制透明,文字亮色 ----- */
html.skin-theme-clientpref-night .bl-box-title {
background-color: transparent !important; /* 移除任何原有背景 */
color: var(--color-base-20, #ffffff) !important;
border-bottom-color: rgba(255, 255, 255, 0.2) !important;
}
/* 确保父级 .bl-box 有深色背景(回顾之前的补丁已设置,此处再次确保) */
html.skin-theme-clientpref-night .bl-box {
background-color: var(--color-surface-1, #202122) !important;
}
/* ----- 3. .bl-navitem 统一深色风格(边框+背景一致)----- */
/* 3.1 修复 .bl-navitem 容器本身的边框(原来可能是白色) */
html.skin-theme-clientpref-night .bl-navitem {
border-color: rgba(255, 255, 255, 0.15) !important; /* 深色半透边框 */
background-color: transparent !important;
}
/* 3.2 让 .bl-navitem a 与父级背景相同,不再更亮 */
html.skin-theme-clientpref-night .bl-navitem a {
background-color: rgba(255, 255, 255, 0.05) !important; /* 微亮但不过曝 */
color: var(--color-base-20, #e6e6e6) !important;
border: none !important; /* 确保无额外边框 */
}
html.skin-theme-clientpref-night .bl-navitem a:hover {
background-color: rgba(255, 255, 255, 0.15) !important;
color: #ffffff !important;
}
/* 如果 .bl-navitem 本身有额外背景色干扰,统一清除 */
html.skin-theme-clientpref-night .bl-navitem,
html.skin-theme-clientpref-night .bl-navitem a {
box-shadow: none !important;
}
/* ----- 4. 系统深色模式(os)相同处理 ----- */
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .bl-stat,
html.skin-theme-clientpref-os .bl-stat * {
color: #ffffff !important;
}
html.skin-theme-clientpref-os .bl-box-title {
background-color: transparent !important;
color: var(--color-base-20, #ffffff) !important;
border-bottom-color: rgba(255, 255, 255, 0.2) !important;
}
html.skin-theme-clientpref-os .bl-box {
background-color: var(--color-surface-1, #202122) !important;
}
html.skin-theme-clientpref-os .bl-navitem {
border-color: rgba(255, 255, 255, 0.15) !important;
background-color: transparent !important;
}
html.skin-theme-clientpref-os .bl-navitem a {
background-color: rgba(255, 255, 255, 0.05) !important;
color: var(--color-base-20, #e6e6e6) !important;
border: none !important;
}
html.skin-theme-clientpref-os .bl-navitem a:hover {
background-color: rgba(255, 255, 255, 0.15) !important;
}
}
/* ----- 5. 性能模式 Basic 下,使用实色但不影响明亮度 ----- */
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .bl-navitem a {
background-color: var(--color-surface-2, #2d2e2f) !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .bl-navitem {
border-color: rgba(255, 255, 255, 0.2) !important;
}
@media (prefers-color-scheme: dark) {
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .bl-navitem a {
background-color: var(--color-surface-2, #2d2e2f) !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .bl-navitem {
border-color: rgba(255, 255, 255, 0.2) !important;
}
}
/* =====================================================
深色模式最终修复:.bl-hero + .bl-stat 统一深色背景
===================================================== */
/* ----- 手动深色模式 (night) ----- */
html.skin-theme-clientpref-night .bl-hero,
html.skin-theme-clientpref-night .bl-stat {
background-color: var(--color-surface-0, #1a1b1c) !important;
background-image: none !important; /* 移除任何渐变/图片背景 */
}
/* 保持统计数字/文字高亮可读 */
html.skin-theme-clientpref-night .bl-stat-label,
html.skin-theme-clientpref-night .bl-stat-number,
html.skin-theme-clientpref-night .bl-stat-note {
color: var(--color-base-20, #ffffff) !important;
}
html.skin-theme-clientpref-night .bl-stat-number a {
color: var(--color-primary, #6ba4ff) !important;
}
html.skin-theme-clientpref-night .bl-stat-number a:hover {
color: var(--color-primary--hover, #9bc4ff) !important;
}
/* ----- 系统深色模式 (os) ----- */
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .bl-hero,
html.skin-theme-clientpref-os .bl-stat {
background-color: var(--color-surface-0, #1a1b1c) !important;
background-image: none !important;
}
html.skin-theme-clientpref-os .bl-stat-label,
html.skin-theme-clientpref-os .bl-stat-number,
html.skin-theme-clientpref-os .bl-stat-note {
color: var(--color-base-20, #ffffff) !important;
}
html.skin-theme-clientpref-os .bl-stat-number a {
color: var(--color-primary, #6ba4ff) !important;
}
html.skin-theme-clientpref-os .bl-stat-number a:hover {
color: var(--color-primary--hover, #9bc4ff) !important;
}
}
/* ----- 性能模式 (Basic) 下使用更实色的深色背景 ----- */
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .bl-hero,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .bl-stat {
background-color: var(--color-surface-1, #202122) !important;
background-image: none !important;
}
@media (prefers-color-scheme: dark) {
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .bl-hero,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .bl-stat {
background-color: var(--color-surface-1, #202122) !important;
background-image: none !important;
}
}
/* =============================================
.bl-hero 毛玻璃 + 光效 + 悬浮动画(亮色/深色通用)
不改变结构/尺寸,仅视觉增强
============================================= */
/* ----- 基础样式(毛玻璃容器)----- */
.bl-hero {
position: relative !important;
isolation: isolate !important;
transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1),
box-shadow 0.25s cubic-bezier(0.2, 0, 0, 1) !important;
will-change: transform !important;
}
/* 悬浮动画 */
.bl-hero:hover {
transform: translateY(-4px) !important;
box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.25) !important;
}
/* ----- 亮色模式(默认)----- */
.bl-hero {
background-color: rgba(255, 255, 255, 0.35) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
border: 1px solid rgba(128, 128, 128, 0.25) !important;
border-radius: 24px !important;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}
/* 光效伪元素(边缘高光 + 内柔光) */
.bl-hero::before {
content: "" !important;
position: absolute !important;
inset: -1px !important;
border-radius: 25px !important;
padding: 2px !important;
background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
rgba(255, 255, 255, 0.9) 0%,
rgba(255, 255, 255, 0.4) 40%,
transparent 80%) border-box !important;
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) !important;
-webkit-mask-clip: content-box, border-box !important;
-webkit-mask-composite: source-out !important;
mask-composite: subtract !important;
pointer-events: none !important;
z-index: 2 !important;
}
.bl-hero::after {
content: "" !important;
position: absolute !important;
inset: 0 !important;
border-radius: 24px !important;
background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
rgba(255, 255, 255, 0.3) 0%,
transparent 70%) !important;
mix-blend-mode: soft-light !important;
pointer-events: none !important;
z-index: 1 !important;
}
/* 确保内部内容位于光效之上 */
.bl-hero-text,
.bl-stat {
position: relative !important;
z-index: 3 !important;
}
/* ----- 手动深色模式 ----- */
html.skin-theme-clientpref-night .bl-hero {
background-color: rgba(20, 20, 20, 0.55) !important;
border: 1px solid #3a3a3a !important; /* 深灰色边框 */
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
}
html.skin-theme-clientpref-night .bl-hero::before {
background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
rgba(255, 255, 255, 0.7) 0%,
rgba(255, 255, 255, 0.2) 40%,
transparent 80%) border-box !important;
}
html.skin-theme-clientpref-night .bl-hero::after {
background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
rgba(255, 255, 255, 0.12) 0%,
transparent 70%) !important;
}
/* 悬浮时阴影加强 */
html.skin-theme-clientpref-night .bl-hero:hover {
box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.6) !important;
}
/* ----- 系统深色模式 ----- */
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .bl-hero {
background-color: rgba(20, 20, 20, 0.55) !important;
border: 1px solid #3a3a3a !important;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
}
html.skin-theme-clientpref-os .bl-hero::before {
background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
rgba(255, 255, 255, 0.7) 0%,
rgba(255, 255, 255, 0.2) 40%,
transparent 80%) border-box !important;
}
html.skin-theme-clientpref-os .bl-hero::after {
background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
rgba(255, 255, 255, 0.12) 0%,
transparent 70%) !important;
}
html.skin-theme-clientpref-os .bl-hero:hover {
box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.6) !important;
}
}
/* ========== 性能模式(Basic)下禁用毛玻璃和光效 ========== */
html.citizen-feature-performance-mode-clientpref-1 .bl-hero {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
background-color: var(--color-surface-1, #ffffff) !important;
border: 1px solid var(--border-color-base, rgba(0, 0, 0, 0.15)) !important;
}
html.citizen-feature-performance-mode-clientpref-1 .bl-hero::before,
html.citizen-feature-performance-mode-clientpref-1 .bl-hero::after {
display: none !important;
}
/* Basic模式悬浮动画保持(无光效) */
html.citizen-feature-performance-mode-clientpref-1 .bl-hero:hover {
transform: translateY(-4px) !important;
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15) !important;
}
/* Basic模式深色适配 */
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .bl-hero {
background-color: var(--color-surface-1, #202122) !important;
border: 1px solid #3a3a3a !important;
}
@media (prefers-color-scheme: dark) {
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .bl-hero {
background-color: var(--color-surface-1, #202122) !important;
border: 1px solid #3a3a3a !important;
}
}
/* =============================================
首页极浅背景图(仅首页)
============================================= */
.page-Main_Page .bl-mainpage,
.page-首页 .bl-mainpage {
position: relative;
}
.page-Main_Page .bl-mainpage::before,
.page-首页 .bl-mainpage::before {
content: "";
position: fixed;
inset: 0;
z-index: -1;
background-image: url("https://cdn.jsdelivr.net/gh/KKBlockE/BlocklandPicturebed@main/main/%E7%83%AD%E5%B8%A6%E6%AD%A3%E5%8D%88%E5%A4%A9%E7%A9%BA%EF%BC%8C%E5%8F%91%E5%B1%95%E4%B8%AD%E7%9A%84%E7%99%BD%E8%89%B2%E7%A7%AF%E9%9B%A8%E4%BA%91%EF%BC%8C%E5%B9%B3%E9%93%BA%E7%9A%84%E4%BA%91%E7%A0%A7%EF%BC%8C%E7%BE%8E%E6%99%AF%EF%BC%8C%E5%A4%A7%E6%B5%B7%EF%BC%8C%E8%BF%91%E5%A4%84%E7%99%BD%E6%B2%99%EF%BC%8C%E8%93%9D%E5%A4%A9%E7%99%BD%E4%BA%91_2K_202605091538.jpeg");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
opacity: 0.2;
pointer-events: none;
}
/* 深色模式:更浅,避免过亮 */
html.skin-theme-clientpref-night .page-Main_Page .bl-mainpage::before,
html.skin-theme-clientpref-night .page-首页 .bl-mainpage::before {
opacity: 0.2;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .page-Main_Page .bl-mainpage::before,
html.skin-theme-clientpref-os .page-首页 .bl-mainpage::before {
opacity: 0.2;
}
}
/* 性能模式:禁用背景图避免额外开销 */
html.citizen-feature-performance-mode-clientpref-1 .page-Main_Page .bl-mainpage::before,
html.citizen-feature-performance-mode-clientpref-1 .page-首页 .bl-mainpage::before {
display: none;
}
/* =============================================
Navbox 容器深色模式覆盖
============================================= */
html.skin-theme-clientpref-night .bl-navbox-wrap table.navbox {
background: var(--color-surface-1, #202122) !important;
border-color: rgba(255, 255, 255, 0.1) !important;
}
html.skin-theme-clientpref-night .bl-navbox-wrap .navbox-group {
background: var(--color-surface-2, #2d2e2f) !important;
color: var(--color-primary, #6ba4ff) !important;
border-color: rgba(255, 255, 255, 0.08) !important;
}
html.skin-theme-clientpref-night .bl-navbox-wrap .navbox-list {
border-color: rgba(255, 255, 255, 0.08) !important;
}
html.skin-theme-clientpref-night .bl-navbox-wrap .navbox-list a {
color: var(--color-base-20, #e0e0e0) !important;
}
html.skin-theme-clientpref-night .bl-navbox-wrap .navbox-list a:hover {
color: var(--color-primary--hover, #9bc4ff) !important;
}
html.skin-theme-clientpref-night .bl-navbox-wrap .navbox-odd {
background: var(--color-surface-1, #202122) !important;
}
html.skin-theme-clientpref-night .bl-navbox-wrap .navbox-even {
background: var(--color-surface-2, #2d2e2f) !important;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .bl-navbox-wrap table.navbox {
background: var(--color-surface-1, #202122) !important;
border-color: rgba(255, 255, 255, 0.1) !important;
}
html.skin-theme-clientpref-os .bl-navbox-wrap .navbox-group {
background: var(--color-surface-2, #2d2e2f) !important;
color: var(--color-primary, #6ba4ff) !important;
border-color: rgba(255, 255, 255, 0.08) !important;
}
html.skin-theme-clientpref-os .bl-navbox-wrap .navbox-list {
border-color: rgba(255, 255, 255, 0.08) !important;
}
html.skin-theme-clientpref-os .bl-navbox-wrap .navbox-list a {
color: var(--color-base-20, #e0e0e0) !important;
}
html.skin-theme-clientpref-os .bl-navbox-wrap .navbox-list a:hover {
color: var(--color-primary--hover, #9bc4ff) !important;
}
html.skin-theme-clientpref-os .bl-navbox-wrap .navbox-odd {
background: var(--color-surface-1, #202122) !important;
}
html.skin-theme-clientpref-os .bl-navbox-wrap .navbox-even {
background: var(--color-surface-2, #2d2e2f) !important;
}
}
/* =============================================
Weatherbox 图表卡片
============================================= */
.weather-box-chart {
position: relative;
float: right !important;
clear: right !important;
margin: 0.5em 0 1em 1em !important;
width: 312px !important;
background-color: rgba(255, 255, 255, 0.35) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
border: 1px solid rgba(128, 128, 128, 0.15) !important;
border-radius: 16px !important;
padding: 12px !important;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
box-sizing: border-box !important;
}
.weather-box-chart .mw-customtoggle {
color: var(--color-primary, #36c) !important;
font-size: 0.85em !important;
padding: 2px 8px !important;
border-radius: 6px !important;
transition: background 0.2s !important;
}
.weather-box-chart .mw-customtoggle:hover {
background-color: rgba(54, 121, 204, 0.1) !important;
}
.weather-box-chart svg {
display: block !important;
margin: 0 auto !important;
max-width: 100% !important;
height: auto !important;
}
.weather-box-chart div:not([class]) {
color: #202122;
}
html.skin-theme-clientpref-night .weather-box-chart {
background-color: rgba(20, 20, 20, 0.55) !important;
border-color: rgba(255, 255, 255, 0.08) !important;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}
html.skin-theme-clientpref-night .weather-box-chart div:not([class]) {
color: #eaecf0 !important;
}
html.skin-theme-clientpref-night .weather-box-chart svg {
filter: invert(0.88) hue-rotate(180deg);
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .weather-box-chart {
background-color: rgba(20, 20, 20, 0.55) !important;
border-color: rgba(255, 255, 255, 0.08) !important;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}
html.skin-theme-clientpref-os .weather-box-chart div:not([class]) {
color: #eaecf0 !important;
}
html.skin-theme-clientpref-os .weather-box-chart svg {
filter: invert(0.88) hue-rotate(180deg);
}
}
html.citizen-feature-performance-mode-clientpref-1 .weather-box-chart {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
background-color: var(--color-surface-1, #ffffff) !important;
border: 1px solid var(--border-color-base, #a2a9b1) !important;
box-shadow: none !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .weather-box-chart {
background-color: var(--color-surface-1, #202122) !important;
border-color: rgba(255, 255, 255, 0.1) !important;
}
@media (prefers-color-scheme: dark) {
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .weather-box-chart {
background-color: var(--color-surface-1, #202122) !important;
border-color: rgba(255, 255, 255, 0.1) !important;
}
}
/* =============================================
Template:Background 页面背景
============================================= */
.bl-page-bg {
position: fixed;
inset: 0;
z-index: -1;
pointer-events: none;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
/* =============================================
Infobox 深色模式适配 + 圆角标签背景 + 外阴影 + 液态玻璃光效
============================================= */
/* ===== 只移除 geography.vcard 的边框(保持其他 infobox 的分割线)===== */
.infobox.geography.vcard,
.infobox.geography.vcard tr,
.infobox.geography.vcard th,
.infobox.geography.vcard td,
.infobox.geography.vcard .infobox-above,
.infobox.geography.vcard .infobox-header,
#map-ctx-1778649814 {
border: 0 none transparent !important;
border-top: 0 none transparent !important;
border-bottom: 0 none transparent !important;
outline: none !important;
}
html.skin-theme-clientpref-night .infobox.geography.vcard,
html.skin-theme-clientpref-night .infobox.geography.vcard *,
#map-ctx-1778649814 {
border: 0 none transparent !important;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox.geography.vcard,
html.skin-theme-clientpref-os .infobox.geography.vcard *,
#map-ctx-1778649814 {
border: 0 none transparent !important;
}
}
#map-ctx-1778649814 {
border-radius: 12px !important;
overflow: hidden !important;
}
/* ===== 液态玻璃光效基础容器(应用到所有 infobox)===== */
.infobox {
position: relative;
isolation: isolate;
overflow: visible !important; /* 关键:确保光效不被裁剪 */
}
/* ===== 边缘高光(外发光)===== */
.infobox::before {
content: "" !important;
position: absolute;
inset: -2px;
border: 3px solid transparent;
background: radial-gradient(
400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
rgba(255, 255, 255, 1) 0%,
rgba(255, 255, 255, 0.2) 50%,
transparent 100%
) border-box !important;
-webkit-mask:
linear-gradient(#fff 0 0) padding-box,
linear-gradient(#fff 0 0);
-webkit-mask-clip: content-box, border-box;
-webkit-mask-composite: xor;
mask-composite: exclude;
z-index: 100;
pointer-events: none;
border-radius: inherit;
opacity: 1;
}
/* 针对带内联样式的表格,光效向内缩进避免覆盖边框 */
table.infobox[style*="background"]::after,
table.infobox[style*="width"]::after {
inset: 3px !important;
border-radius: calc(20px - 3px) !important;
}
/* 确保内容在光效上方 */
.infobox > * {
position: relative;
z-index: 1;
}
/* ===== 深色模式光效降低强度 ===== */
html.skin-theme-clientpref-night .infobox::before {
background: radial-gradient(
400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
rgba(255, 255, 255, 0.9) 0%,
rgba(255, 255, 255, 0.1) 40%,
transparent 100%
) border-box !important;
}
html.skin-theme-clientpref-night .infobox::after {
background: radial-gradient(
400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
rgba(255, 255, 255, 0.1) 0%,
transparent 75%
) !important;
}
/* 系统偏好深色模式 */
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox::before {
background: radial-gradient(
200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
rgba(255, 255, 255, 0.5) 0%,
rgba(255, 255, 255, 0.1) 40%,
transparent 80%
) border-box !important;
}
html.skin-theme-clientpref-os .infobox::after {
background: radial-gradient(
500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
rgba(255, 255, 255, 0.1) 0%,
transparent 75%
) !important;
}
}
/* ===== 性能模式下禁用光效 ===== */
html.citizen-feature-performance-mode-clientpref-1 .infobox::before,
html.citizen-feature-performance-mode-clientpref-1 .infobox::after {
display: none !important;
}
/* =============================================
Infobox 暗色模式深度适配 (支持去除所有顽固分割线)
============================================= */
/* --- 1. 彻底斩断所有 Infobox 的边框线 (增加 .mw-parser-output 提权,并将四个方向写全) --- */
html.skin-theme-clientpref-night .mw-parser-output .infobox,
html.skin-theme-clientpref-night .mw-parser-output .infobox tr,
html.skin-theme-clientpref-night .mw-parser-output .infobox th,
html.skin-theme-clientpref-night .mw-parser-output .infobox td,
html.skin-theme-clientpref-night .mw-parser-output .infobox .infobox-above,
html.skin-theme-clientpref-night .mw-parser-output .infobox .infobox-header,
html.skin-theme-clientpref-night .mw-parser-output .infobox table {
border: 0 none transparent !important;
border-top: 0 none transparent !important;
border-bottom: 0 none transparent !important;
border-left: 0 none transparent !important;
border-right: 0 none transparent !important;
outline: none !important;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .mw-parser-output .infobox,
html.skin-theme-clientpref-os .mw-parser-output .infobox tr,
html.skin-theme-clientpref-os .mw-parser-output .infobox th,
html.skin-theme-clientpref-os .mw-parser-output .infobox td,
html.skin-theme-clientpref-os .mw-parser-output .infobox .infobox-above,
html.skin-theme-clientpref-os .mw-parser-output .infobox .infobox-header,
html.skin-theme-clientpref-os .mw-parser-output .infobox table {
border: 0 none transparent !important;
border-top: 0 none transparent !important;
border-bottom: 0 none transparent !important;
border-left: 0 none transparent !important;
border-right: 0 none transparent !important;
outline: none !important;
}
}
/* --- 3. Basic 模式 (性能模式) 下保留横幕小标题的上下线 --- */
/* Night 主题 + Basic 模式 */
html.skin-theme-clientpref-night.citizen-feature-performance-mode-clientpref-1 .mw-parser-output .infobox .infobox-header {
border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}
/* 系统偏好暗色 + Basic 模式 */
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os.citizen-feature-performance-mode-clientpref-1 .mw-parser-output .infobox .infobox-header {
border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}
}
/* 去除 caption.infobox-title 的下边距 */
.infobox caption.infobox-title {
margin-bottom: 0 !important;
}
.infobox th.infobox-above,
.infobox td.infobox-above {
padding: 8px 5px !important;
line-height: 1.5 !important;
}
html.skin-theme-clientpref-night .infobox .infobox-above,
html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-above {
color: #ffffff !important;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox .infobox-above,
html.skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-above {
color: #ffffff !important;
}
}
.infobox.tornado-no-top-radius > tbody {
border-top-left-radius: 0 !important;
border-top-right-radius: 0 !important;
overflow: hidden;
}
/* =============================================
修复 .oo-ui-popupWidget 父级滤镜干扰 + 毛玻璃统一管理
(合并版,模糊值调小至 14px)
============================================= */
/* --- 父级容器:重置滤镜,应用毛玻璃 --- */
.oo-ui-popupWidget {
/* 1. 移除父级原有的 drop-shadow(破坏 backdrop-filter) */
filter: none !important;
-webkit-filter: none !important;
/* 2. 毛玻璃核心(模糊调小) */
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
/* 3. 半透明背景、边框、圆角、阴影 */
background-color: rgba(255, 255, 255, 0.35) !important;
border-radius: 12px !important;
border: 1px solid rgba(128, 128, 128, 0.15) !important;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
/* 4. 强制独立合成层 */
transform: translateZ(0) !important;
isolation: isolate !important;
will-change: transform, backdrop-filter !important;
overflow: visible !important;
}
/* --- 子级容器:完全透明,透出父级效果 --- */
.oo-ui-popupWidget-popup {
background: transparent !important;
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
box-shadow: none !important;
border: none !important;
border-radius: 0 !important;
}
/* --- 手动暗色模式 --- */
html.skin-theme-clientpref-night .oo-ui-popupWidget {
background-color: rgba(20, 20, 20, 0.55) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
border-color: rgba(255, 255, 255, 0.1) !important;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}
/* --- 系统偏好暗色模式 --- */
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .oo-ui-popupWidget {
background-color: rgba(20, 20, 20, 0.55) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
border-color: rgba(255, 255, 255, 0.1) !important;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}
}
/* --- 性能模式(Basic)禁用毛玻璃,使用实色 --- */
html.citizen-feature-performance-mode-clientpref-1 .oo-ui-popupWidget {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
background-color: var(--color-surface-1, #ffffff) !important;
border: 1px solid var(--border-color-base) !important;
box-shadow: none !important;
transform: none !important;
isolation: auto !important;
}
/* =============================================
评论流容器(毛玻璃 + 暗色适配,修正语法)
============================================= */
/* ----- 基础样式(亮色)----- */
.cs-stream {
display: flex;
flex-direction: column;
margin-bottom: 14px;
padding: 10px 14px;
border-radius: 14px;
border: 1px solid rgba(128, 128, 128, 0.15);
background: rgba(255, 255, 255, 0.35);
backdrop-filter: blur(14px) saturate(100%);
-webkit-backdrop-filter: blur(14px) saturate(100%);
transition: background 0.2s, border-color 0.2s;
}
/* ----- 手动暗色模式 (night) ----- */
html.skin-theme-clientpref-night .cs-stream {
background: rgba(20, 20, 20, 0.55);
border-color: rgba(255, 255, 255, 0.08);
}
/* ----- 系统暗色模式 (os) ----- */
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .cs-stream {
background: rgba(20, 20, 20, 0.55);
border-color: rgba(255, 255, 255, 0.08);
}
}
/* ====================
Header 结构
==================== */
.cs-comment-header {
display: flex;
align-items: center;
justify-content: space-between;
}
.cs-avatar {
width: 42px;
height: 42px;
border-radius: 10px;
object-fit: cover;
border: 1px solid rgba(128, 128, 128, 0.15);
}
.cs-comment-header-center {
flex: 1;
margin-left: 10px;
font-size: 13px;
opacity: 0.85;
color: var(--color-base-0, #202122);
}
.cs-comment-header-right {
display: flex;
align-items: center;
gap: 8px;
flex-shrink: 0;
}
.cs-voting-span {
display: flex;
align-items: center;
gap: 4px;
}
/* ====================
赞 / 踩按钮(毛玻璃质感)
==================== */
.cs-vote-up-button,
.cs-vote-down-button {
display: inline-flex;
align-items: center;
justify-content: center;
height: 30px;
min-width: 32px;
padding: 0 12px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(14px) saturate(100%);
-webkit-backdrop-filter: blur(14px) saturate(100%);
border: 1px solid rgba(128, 128, 128, 0.15);
color: var(--color-base-0, #202122);
font-size: 13px;
font-weight: 500;
transition: all 0.2s ease;
cursor: pointer;
}
.cs-vote-up-button:hover,
.cs-vote-down-button:hover {
background: rgba(var(--color-primary-rgb, 54, 121, 204), 0.15);
border-color: rgba(var(--color-primary-rgb, 54, 121, 204), 0.4);
transform: translateY(-1px);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.cs-vote-up-button:active,
.cs-vote-down-button:active {
transform: translateY(0);
}
/* ----- 手动暗色按钮 ----- */
html.skin-theme-clientpref-night .cs-vote-up-button,
html.skin-theme-clientpref-night .cs-vote-down-button {
background: rgba(255, 255, 255, 0.06);
border-color: rgba(255, 255, 255, 0.08);
color: var(--color-base-20, #ffffff);
}
html.skin-theme-clientpref-night .cs-vote-up-button:hover,
html.skin-theme-clientpref-night .cs-vote-down-button:hover {
background: rgba(var(--color-primary-rgb, 54, 121, 204), 0.25);
border-color: rgba(var(--color-primary-rgb, 54, 121, 204), 0.5);
}
/* ----- 系统暗色按钮 ----- */
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .cs-vote-up-button,
html.skin-theme-clientpref-os .cs-vote-down-button {
background: rgba(255, 255, 255, 0.06);
border-color: rgba(255, 255, 255, 0.08);
color: var(--color-base-20, #ffffff);
}
html.skin-theme-clientpref-os .cs-vote-up-button:hover,
html.skin-theme-clientpref-os .cs-vote-down-button:hover {
background: rgba(var(--color-primary-rgb, 54, 121, 204), 0.25);
border-color: rgba(var(--color-primary-rgb, 54, 121, 204), 0.5);
}
}
/* ====================
回复 / 发评论按钮
==================== */
.cs-stream-footer .oo-ui-buttonElement-button {
display: inline-flex;
align-items: center;
justify-content: center;
height: 34px;
padding: 0 16px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.35);
backdrop-filter: blur(14px) saturate(100%);
-webkit-backdrop-filter: blur(14px) saturate(100%);
border: 1px solid rgba(128, 128, 128, 0.15);
color: var(--color-base-0, #202122);
font-size: 13px;
font-weight: 500;
transition: all 0.2s ease;
cursor: pointer;
}
.cs-stream-footer .oo-ui-buttonElement-button:hover {
background: rgba(var(--color-primary-rgb, 54, 121, 204), 0.15);
border-color: rgba(var(--color-primary-rgb, 54, 121, 204), 0.4);
transform: translateY(-1px);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
/* ----- 手动暗色 ----- */
html.skin-theme-clientpref-night .cs-stream-footer .oo-ui-buttonElement-button {
background: rgba(255, 255, 255, 0.06);
border-color: rgba(255, 255, 255, 0.08);
color: var(--color-base-20, #ffffff);
}
html.skin-theme-clientpref-night .cs-stream-footer .oo-ui-buttonElement-button:hover {
background: rgba(var(--color-primary-rgb, 54, 121, 204), 0.25);
border-color: rgba(var(--color-primary-rgb, 54, 121, 204), 0.5);
}
/* ----- 系统暗色 ----- */
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .cs-stream-footer .oo-ui-buttonElement-button {
background: rgba(255, 255, 255, 0.06);
border-color: rgba(255, 255, 255, 0.08);
color: var(--color-base-20, #ffffff);
}
html.skin-theme-clientpref-os .cs-stream-footer .oo-ui-buttonElement-button:hover {
background: rgba(var(--color-primary-rgb, 54, 121, 204), 0.25);
border-color: rgba(var(--color-primary-rgb, 54, 121, 204), 0.5);
}
}
/* ====================
评论内容
==================== */
.cs-comment-body {
padding-left: 54px;
font-size: 14px;
line-height: 1.6;
color: var(--color-base-0, #202122);
}
html.skin-theme-clientpref-night .cs-comment-body {
color: var(--color-base-20, #ffffff);
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .cs-comment-body {
color: var(--color-base-20, #ffffff);
}
}
/* ====================
次级评论(嵌套回复)
==================== */
.cs-reply-comment {
margin-left: 54px;
margin-top: 8px;
padding: 8px 12px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.35);
border: 1px solid rgba(128, 128, 128, 0.1);
backdrop-filter: blur(14px) saturate(100%);
-webkit-backdrop-filter: blur(14px) saturate(100%);
}
html.skin-theme-clientpref-night .cs-reply-comment {
background: rgba(20, 20, 20, 0.55);
border-color: rgba(255, 255, 255, 0.06);
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .cs-reply-comment {
background: rgba(20, 20, 20, 0.55);
border-color: rgba(255, 255, 255, 0.06);
}
}
/* ====================
更多菜单(OOUI 弹窗/下拉)
==================== */
.oo-ui-popupWidget-popup,
.oo-ui-menuSelectWidget {
background: rgba(255, 255, 255, 0.35) !important;
backdrop-filter: blur(14px) saturate(100%) !important;
-webkit-backdrop-filter: blur(14px) saturate(100%) !important;
border: 1px solid rgba(128, 128, 128, 0.15) !important;
border-radius: 12px !important;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}
html.skin-theme-clientpref-night .oo-ui-popupWidget-popup,
html.skin-theme-clientpref-night .oo-ui-menuSelectWidget {
background: rgba(20, 20, 20, 0.55) !important;
border-color: rgba(255, 255, 255, 0.08) !important;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .oo-ui-popupWidget-popup,
html.skin-theme-clientpref-os .oo-ui-menuSelectWidget {
background: rgba(20, 20, 20, 0.55) !important;
border-color: rgba(255, 255, 255, 0.08) !important;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}
}
/* ====================
性能模式(Basic)禁用毛玻璃
==================== */
html.citizen-feature-performance-mode-clientpref-1 .cs-stream,
html.citizen-feature-performance-mode-clientpref-1 .cs-reply-comment,
html.citizen-feature-performance-mode-clientpref-1 .oo-ui-popupWidget-popup,
html.citizen-feature-performance-mode-clientpref-1 .oo-ui-menuSelectWidget {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
background-color: var(--color-surface-1, #ffffff) !important;
}
html.citizen-feature-performance-mode-clientpref-1 .cs-vote-up-button,
html.citizen-feature-performance-mode-clientpref-1 .cs-vote-down-button,
html.citizen-feature-performance-mode-clientpref-1 .cs-stream-footer .oo-ui-buttonElement-button {
backdrop-filter: none !important;
background: var(--color-surface-2, #f5f5f5) !important;
border-color: var(--border-color-base, #ddd) !important;
}
/* ----- 性能模式 + 手动暗色 ----- */
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .cs-stream,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .cs-reply-comment,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .oo-ui-popupWidget-popup,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .oo-ui-menuSelectWidget {
background-color: var(--color-surface-1, #202122) !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .cs-vote-up-button,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .cs-vote-down-button,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .cs-stream-footer .oo-ui-buttonElement-button {
background: var(--color-surface-2, #2d2e2f) !important;
color: var(--color-base-20, #ffffff) !important;
border-color: rgba(255, 255, 255, 0.1) !important;
}
/* ----- 性能模式 + 系统暗色 ----- */
@media (prefers-color-scheme: dark) {
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .cs-stream,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .cs-reply-comment,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .oo-ui-popupWidget-popup,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .oo-ui-menuSelectWidget {
background-color: var(--color-surface-1, #202122) !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .cs-vote-up-button,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .cs-vote-down-button,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .cs-stream-footer .oo-ui-buttonElement-button {
background: var(--color-surface-2, #2d2e2f) !important;
color: var(--color-base-20, #ffffff) !important;
border-color: rgba(255, 255, 255, 0.1) !important;
}
}
/* =============================================
加密货币卡片 —— 深色模式适配(仅作用于该容器)
利用容器独特的 font-family 属性定位,不影响其他区域
============================================= */
/* 定义容器选择器(基于 style 特征) */
html.skin-theme-clientpref-night div[style*="font-family: -apple-system, 'Segoe UI', Roboto, sans-serif"] [style*="color:"] {
color: #ffffff !important;
}
/* 涨跌色单独提亮(覆盖上面的白色) */
html.skin-theme-clientpref-night div[style*="font-family: -apple-system, 'Segoe UI', Roboto, sans-serif"] [style*="color: #f43f5e"],
html.skin-theme-clientpref-night div[style*="font-family: -apple-system, 'Segoe UI', Roboto, sans-serif"] [style*="color:#f43f5e"] {
color: #f87171 !important;
}
html.skin-theme-clientpref-night div[style*="font-family: -apple-system, 'Segoe UI', Roboto, sans-serif"] [style*="color: #10b981"],
html.skin-theme-clientpref-night div[style*="font-family: -apple-system, 'Segoe UI', Roboto, sans-serif"] [style*="color:#10b981"] {
color: #34d399 !important;
}
/* 边框颜色变暗(分割线) */
html.skin-theme-clientpref-night div[style*="font-family: -apple-system, 'Segoe UI', Roboto, sans-serif"] [style*="border-bottom: 1px solid #f1f5f9"],
html.skin-theme-clientpref-night div[style*="font-family: -apple-system, 'Segoe UI', Roboto, sans-serif"] [style*="border-bottom:1px solid #f1f5f9"] {
border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
html.skin-theme-clientpref-night div[style*="font-family: -apple-system, 'Segoe UI', Roboto, sans-serif"] [style*="border-top: 1px dashed #e2e8f0"],
html.skin-theme-clientpref-night div[style*="font-family: -apple-system, 'Segoe UI', Roboto, sans-serif"] [style*="border-top:1px dashed #e2e8f0"] {
border-top-color: rgba(255, 255, 255, 0.08) !important;
}
/* ===== 系统偏好暗色模式 (os) ===== */
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os div[style*="font-family: -apple-system, 'Segoe UI', Roboto, sans-serif"] [style*="color:"] {
color: #ffffff !important;
}
html.skin-theme-clientpref-os div[style*="font-family: -apple-system, 'Segoe UI', Roboto, sans-serif"] [style*="color: #f43f5e"],
html.skin-theme-clientpref-os div[style*="font-family: -apple-system, 'Segoe UI', Roboto, sans-serif"] [style*="color:#f43f5e"] {
color: #f87171 !important;
}
html.skin-theme-clientpref-os div[style*="font-family: -apple-system, 'Segoe UI', Roboto, sans-serif"] [style*="color: #10b981"],
html.skin-theme-clientpref-os div[style*="font-family: -apple-system, 'Segoe UI', Roboto, sans-serif"] [style*="color:#10b981"] {
color: #34d399 !important;
}
html.skin-theme-clientpref-os div[style*="font-family: -apple-system, 'Segoe UI', Roboto, sans-serif"] [style*="border-bottom: 1px solid #f1f5f9"],
html.skin-theme-clientpref-os div[style*="font-family: -apple-system, 'Segoe UI', Roboto, sans-serif"] [style*="border-bottom:1px solid #f1f5f9"] {
border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
html.skin-theme-clientpref-os div[style*="font-family: -apple-system, 'Segoe UI', Roboto, sans-serif"] [style*="border-top: 1px dashed #e2e8f0"],
html.skin-theme-clientpref-os div[style*="font-family: -apple-system, 'Segoe UI', Roboto, sans-serif"] [style*="border-top:1px dashed #e2e8f0"] {
border-top-color: rgba(255, 255, 255, 0.08) !important;
}
}