MediaWiki:Common.css:修订间差异
跳转到导航
跳转到搜索
无编辑摘要 |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
/* ===== 所有内容区域透明 ===== */ | |||
#content { | |||
background-color: transparent; | |||
} | |||
#footer { | |||
background-color: transparent; | |||
} | |||
/* ===== 头部透明 ===== */ | |||
#mw-page-base { | |||
background-color: transparent !important; | |||
background-image: none !important; | |||
} | |||
#mw-head { | |||
background-color: transparent !important; | |||
background-image: none !important; | |||
} | |||
#mw-head-base { | |||
background-color: transparent !important; | |||
background-image: none !important; | |||
} | |||
/* ===== 主内容区 ===== */ | |||
.mw-body { | |||
background-color: rgba(10, 21, 24, 0.94) !important; | |||
color: #ffffff !important; | |||
border-radius: 8px !important; | |||
border-left: 3px solid #01faec !important; | |||
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6) !important; | |||
position: relative !important; | |||
overflow: hidden !important; | |||
} | |||
/* ===== 青绿色光晕点缀 ===== */ | |||
.mw-body::before { | |||
content: '' !important; | |||
position: absolute !important; | |||
top: -50px !important; | |||
right: -50px !important; | |||
width: 200px !important; | |||
height: 200px !important; | |||
background: radial-gradient(circle, rgba(1, 250, 236, 0.04), transparent 70%) !important; | |||
pointer-events: none !important; | |||
border-radius: 50% !important; | |||
z-index: 0 !important; | |||
} | |||
/* ===== 左侧导航面板 ===== */ | |||
#mw-panel { | |||
background-color: rgba(10, 21, 24, 0.88) !important; | |||
border-radius: 8px !important; | |||
padding: 10px 0 !important; | |||
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important; | |||
} | |||
#mw-panel .portal { | |||
background-color: transparent !important; | |||
} | |||
#mw-panel .portal .body { | |||
background-color: transparent !important; | |||
} | |||
/* ===== 侧边栏标题 ===== */ | |||
#mw-panel .portal h3 { | |||
color: #01faec !important; | |||
font-weight: 600; | |||
padding-left: 12px; | |||
border-bottom: 1px solid rgba(1, 250, 236, 0.2); | |||
padding-bottom: 4px; | |||
} | |||
/* ============================================================ | |||
侧边栏链接 - 青绿色主题(无下划线效果) | |||
============================================================ */ | |||
#mw-panel a, | |||
#mw-panel .portal .body ul li a, | |||
.mw-portlet .body ul li a, | |||
.portal .body ul li a { | |||
color: #b0d4d8 !important; | |||
text-decoration: none !important; | |||
border-radius: 4px !important; | |||
padding: 3px 12px !important; | |||
transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important; | |||
position: relative !important; | |||
display: block !important; | |||
background-color: transparent !important; | |||
} | |||
/* 强制移除侧边栏所有 ::after 伪元素 */ | |||
#mw-panel a::after, | |||
#mw-panel .portal .body ul li a::after, | |||
.mw-portlet .body ul li a::after, | |||
.portal .body ul li a::after { | |||
display: none !important; | |||
content: none !important; | |||
width: 0 !important; | |||
height: 0 !important; | |||
opacity: 0 !important; | |||
} | |||
#mw-panel a:hover, | |||
#mw-panel .portal .body ul li a:hover, | |||
.mw-portlet .body ul li a:hover, | |||
.portal .body ul li a:hover { | |||
color: #01faec !important; | |||
background-color: rgba(1, 250, 236, 0.12) !important; | |||
text-shadow: 0 0 20px rgba(1, 250, 236, 0.15) !important; | |||
transform: translateX(4px) !important; | |||
text-decoration: none !important; | |||
} | |||
#mw-panel .portal .body ul li a::before, | |||
.mw-portlet .body ul li a::before, | |||
.portal .body ul li a::before { | |||
content: '' !important; | |||
position: absolute !important; | |||
left: 0 !important; | |||
top: 50% !important; | |||
transform: translateY(-50%) scaleY(0) !important; | |||
width: 3px !important; | |||
height: 60% !important; | |||
background: #01faec !important; | |||
border-radius: 0 4px 4px 0 !important; | |||
transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important; | |||
opacity: 0 !important; | |||
} | |||
#mw-panel .portal .body ul li a:hover::before, | |||
.mw-portlet .body ul li a:hover::before, | |||
.portal .body ul li a:hover::before { | |||
transform: translateY(-50%) scaleY(1) !important; | |||
opacity: 1 !important; | |||
} | |||
/* ============================================================ | /* ============================================================ | ||
Logo - 强制限制宽度,无动画 | |||
============================================================ */ | ============================================================ */ | ||
#p-logo { | |||
max-width: 180px !important; | |||
width: auto !important; | |||
overflow: hidden !important; | |||
box-sizing: border-box !important; | |||
background-color: transparent !important; | |||
border-radius: 0 !important; | |||
padding: 0 !important; | |||
margin: 0 0 10px 0 !important; | |||
border: none !important; | |||
animation: none !important; | |||
transition: none !important; | |||
transform: none !important; | |||
} | |||
#p-logo a { | |||
display: block !important; | |||
max-width: 100% !important; | |||
width: auto !important; | |||
overflow: hidden !important; | |||
transition: none !important; | |||
transform: none !important; | |||
animation: none !important; | |||
box-shadow: none !important; | |||
} | } | ||
/* | #p-logo a img, | ||
a { | #p-logo img { | ||
color: #01faec; | max-width: 100% !important; | ||
width: auto !important; | |||
height: auto !important; | |||
display: block !important; | |||
transition: none !important; | |||
transform: none !important; | |||
animation: none !important; | |||
} | |||
#p-logo:hover, | |||
#p-logo a:hover, | |||
#p-logo a:hover img, | |||
#p-logo img:hover { | |||
transform: none !important; | |||
animation: none !important; | |||
transition: none !important; | |||
box-shadow: none !important; | |||
border-color: transparent !important; | |||
} | |||
/* ============================================================ | |||
右上角个人工具 - 去除黑色圆角背景 | |||
============================================================ */ | |||
#p-personal { | |||
background-color: transparent !important; | |||
border: none !important; | |||
border-radius: 0 !important; | |||
padding: 0 !important; | |||
box-shadow: none !important; | |||
} | |||
#p-personal li a { | |||
color: #b0d4d8 !important; | |||
transition: color 0.2s ease; | |||
} | |||
#p-personal li a:hover { | |||
color: #01faec !important; | |||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
a: | |||
color: # | /* ============================================================ | ||
顶部导航标签 - "首页""讨论"等 | |||
============================================================ */ | |||
#p-views ul li a, | |||
#p-cactions ul li a { | |||
background-color: transparent !important; | |||
border: none !important; | |||
border-radius: 0 !important; | |||
padding: 6px 14px !important; | |||
margin: 0 2px !important; | |||
color: #8ab4b8 !important; | |||
font-weight: 500 !important; | |||
transition: all 0.25s ease !important; | |||
} | |||
#p-views ul li a:hover, | |||
#p-cactions ul li a:hover { | |||
background-color: rgba(1, 250, 236, 0.10) !important; | |||
color: #01faec !important; | |||
} | } | ||
#p-views ul li.selected a, | |||
# | #p-cactions ul li.selected a { | ||
# | background-color: transparent !important; | ||
color: #01faec !important; | |||
# | font-weight: 600 !important; | ||
} | } | ||
/* ===== 编辑按钮 ===== */ | |||
background | #ca-edit a { | ||
background-color: rgba(1, 250, 236, 0.10) !important; | |||
color: #01faec !important; | |||
font-weight: 600 !important; | |||
border-radius: 4px !important; | |||
} | } | ||
#ca-edit a:hover { | |||
background-color: rgba(1, 250, 236, 0.20) !important; | |||
color: | color: #66fcf0 !important; | ||
} | } | ||
/* ===== 查看源代码按钮 ===== */ | |||
#ca-viewsource a { | |||
background-color: transparent !important; | |||
color: #8ab4b8 !important; | |||
} | |||
#ca-viewsource a:hover { | |||
# | background-color: rgba(1, 250, 236, 0.10) !important; | ||
color: #01faec !important; | |||
background: rgba( | |||
} | } | ||
/* | /* ============================================================ | ||
"编辑源代码"那块白色背景去除 | |||
============================================================ */ | |||
.mw-editsection { | |||
color: | background-color: transparent !important; | ||
} | } | ||
.mw-editsection a { | |||
background-color: rgba(1, 250, 236, 0.08) !important; | |||
color: #01faec !important; | |||
background: rgba(1, 250, 236, 0. | border-radius: 4px !important; | ||
color: #01faec; | padding: 2px 8px !important; | ||
transition: all 0.3s ease !important; | |||
} | } | ||
.mw-editsection a:hover { | |||
background-color: rgba(1, 250, 236, 0.18) !important; | |||
color: #66fcf0 !important; | |||
background: rgba( | |||
color: # | |||
} | } | ||
/* | /* ===== 底部 ===== */ | ||
# | #footer { | ||
color: | background-color: rgba(10, 21, 24, 0.88) !important; | ||
border-radius: 8px; | border-radius: 8px; | ||
padding: | padding: 12px 20px; | ||
border-top: 2px solid #01faec; | |||
color: #8ab4b8 !important; | |||
} | |||
#footer a { | |||
color: #01faec !important; | |||
} | } | ||
# | #footer a:hover { | ||
color: #66fcf0 !important; | |||
color: # | |||
} | } | ||
/* ------ | /* ============================================================ | ||
# | 内容区超链接 - 只作用于页面正文内容(含下划线效果) | ||
============================================================ */ | |||
.mw-parser-output a, | |||
.mw-body .mw-content-ltr a, | |||
color: # | #mw-content-text a { | ||
color: #01faec !important; | |||
transition: 0.3s | text-decoration: none !important; | ||
transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important; | |||
position: relative !important; | |||
} | } | ||
# | .mw-parser-output a:visited, | ||
background: | .mw-body .mw-content-ltr a:visited { | ||
border- | color: #3d839b !important; | ||
} | |||
.mw-parser-output a:hover, | |||
.mw-body .mw-content-ltr a:hover { | |||
color: #66fcf0 !important; | |||
text-shadow: 0 0 20px rgba(1, 250, 236, 0.25) !important; | |||
transform: translateY(-1px) !important; | |||
} | |||
/* 下划线效果 - 只作用于正文内容 */ | |||
.mw-parser-output a::after, | |||
.mw-body .mw-content-ltr a::after { | |||
content: '' !important; | |||
position: absolute !important; | |||
bottom: -2px !important; | |||
left: 50% !important; | |||
width: 0 !important; | |||
height: 2px !important; | |||
background: linear-gradient(90deg, #01faec, #66fcf0) !important; | |||
transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important; | |||
transform: translateX(-50%) !important; | |||
border-radius: 2px !important; | |||
} | |||
.mw-parser-output a:hover::after, | |||
.mw-body .mw-content-ltr a:hover::after { | |||
width: 80% !important; | |||
} | |||
/* 外部链接 - 使用青绿色图标 */ | |||
.mw-parser-output a.external, | |||
.mw-body .mw-content-ltr a.external, | |||
#mw-content-text a.external { | |||
padding-right: 18px !important; | |||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2301faec' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E") !important; | |||
background-repeat: no-repeat !important; | |||
background-position: right center !important; | |||
background-size: 12px !important; | |||
} | |||
.mw-parser-output a.external:hover, | |||
.mw-body .mw-content-ltr a.external:hover, | |||
#mw-content-text a.external:hover { | |||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2366fcf0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E") !important; | |||
} | |||
/* ===== 搜索框 ===== */ | |||
#searchInput { | |||
border-radius: 20px !important; | |||
border: 1px solid rgba(1, 250, 236, 0.30) !important; | |||
background-color: rgba(10, 21, 24, 0.80) !important; | |||
color: #ffffff !important; | |||
padding: 5px 14px !important; | |||
transition: all 0.3s ease !important; | |||
} | |||
#searchInput:focus { | |||
background-color: rgba(10, 21, 24, 0.95) !important; | |||
border-color: #01faec !important; | |||
box-shadow: 0 0 0 3px rgba(1, 250, 236, 0.15) !important; | |||
outline: none; | outline: none; | ||
} | } | ||
# | #searchButton { | ||
background: | border-radius: 20px !important; | ||
border: | background: linear-gradient(135deg, #01faec, #3d839b) !important; | ||
border: none !important; | |||
color: #0a1518 !important; | |||
font-weight: 600 !important; | |||
padding: 5px 16px !important; | |||
transition: all 0.3s ease !important; | |||
cursor: pointer !important; | |||
} | |||
#searchButton:hover { | |||
transform: scale(1.05) !important; | |||
box-shadow: 0 4px 25px rgba(1, 250, 236, 0.30) !important; | |||
background: linear-gradient(135deg, #66fcf0, #488ab1) !important; | |||
} | } | ||
/* ===== 标题文字 ===== */ | |||
.mw-body h1, | |||
color: | .mw-body h2, | ||
.mw-body h3, | |||
.mw-body h4 { | |||
color: #01faec !important; | |||
border-bottom-color: rgba(1, 250, 236, 0.20) !important; | |||
} | } | ||
.mw-body p, | |||
. | .mw-body li, | ||
.mw- | .mw-body .mw-content-ltr { | ||
color: #ffffff !important; | |||
color: # | |||
} | } | ||
. | /* ===== 页面加载动画 ===== */ | ||
.mw-body, | |||
#mw-panel, | |||
#footer { | |||
animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both !important; | |||
} | } | ||
#mw-panel { | |||
animation-delay: 0.05s !important; | |||
} | } | ||
.mw-body { | |||
.mw- | animation-delay: 0.1s !important; | ||
} | } | ||
#footer { | |||
animation-delay: 0.15s !important; | |||
} | } | ||
@keyframes fadeInUp { | |||
from { | |||
opacity: 0; | |||
transform: translateY(20px); | |||
} | |||
to { | |||
opacity: 1; | |||
transform: translateY(0); | |||
} | |||
} | } | ||
/* -- | /* ============================================================ | ||
强制修复顶部标签栏 - "首页""讨论""编辑源代码""监视"等 | |||
============================================================ */ | |||
/* 标签栏容器 - 背景透明 */ | |||
background | #p-views, | ||
#p-cactions, | |||
#left-navigation, | |||
#right-navigation { | |||
background-color: transparent !important; | |||
} | } | ||
/* 所有标签项 - 重置为透明背景 */ | |||
#p-views ul, | |||
#p-cactions ul, | |||
#p-views ul li, | |||
#p-cactions ul li { | |||
background-color: transparent !important; | |||
background | background: none !important; | ||
} | } | ||
/* - | /* 标签链接 - 完全自定义样式 */ | ||
#p-views ul li a, | |||
#p-cactions ul li a, | |||
#left-navigation ul li a, | |||
#right-navigation ul li a { | |||
background: | background-color: transparent !important; | ||
border: | background: none !important; | ||
border-radius: | border: none !important; | ||
color: # | border-radius: 4px 4px 0 0 !important; | ||
padding: 6px 14px !important; | |||
font- | margin: 0 2px !important; | ||
transition: 0.25s; | color: #8ab4b8 !important; | ||
font-weight: 500 !important; | |||
font-size: 13px !important; | |||
transition: all 0.25s ease !important; | |||
box-shadow: none !important; | |||
text-shadow: none !important; | |||
} | } | ||
/* 悬停效果 */ | |||
#p-views ul li a:hover, | |||
#p-cactions ul li a:hover, | |||
#left-navigation ul li a:hover, | |||
background | #right-navigation ul li a:hover { | ||
background-color: rgba(1, 250, 236, 0.12) !important; | |||
color: #01faec !important; | |||
border: none !important; | |||
border-radius: 4px 4px 0 0 !important; | |||
text-decoration: none !important; | |||
} | } | ||
. | /* 当前选中的标签页 - "首页"或"页面" */ | ||
background: #01faec; | #p-views ul li.selected a, | ||
#p-cactions ul li.selected a, | |||
border- | #left-navigation ul li.selected a, | ||
#right-navigation ul li.selected a { | |||
background-color: transparent !important; | |||
color: #01faec !important; | |||
font-weight: 600 !important; | |||
border-radius: 0 !important; | |||
} | } | ||
/* ===== "编辑源代码" 按钮特殊样式 ===== */ | |||
background | #ca-viewsource a { | ||
background-color: rgba(1, 250, 236, 0.06) !important; | |||
color: # | color: #8ab4b8 !important; | ||
border-radius: 4px !important; | |||
} | } | ||
#ca-viewsource a:hover { | |||
background-color: rgba(1, 250, 236, 0.18) !important; | |||
background | color: #01faec !important; | ||
} | } | ||
# | /* ===== "编辑" 按钮特殊样式 ===== */ | ||
color: | #ca-edit a { | ||
background-color: rgba(1, 250, 236, 0.08) !important; | |||
border-radius: | color: #01faec !important; | ||
border-radius: 4px !important; | |||
} | } | ||
# | #ca-edit a:hover { | ||
color | background-color: rgba(1, 250, 236, 0.20) !important; | ||
color: #66fcf0 !important; | |||
} | } | ||
/* | /* ===== "监视" 按钮 ===== */ | ||
#ca-watch a, | |||
#ca-unwatch a { | |||
color: #8ab4b8 !important; | |||
background-color: transparent !important; | |||
} | } | ||
#ca-watch a:hover, | |||
color: # | #ca-unwatch a:hover { | ||
color: #01faec !important; | |||
background-color: rgba(1, 250, 236, 0.08) !important; | |||
} | } | ||
color: # | /* ===== "讨论" 按钮 ===== */ | ||
#ca-talk a { | |||
color: #8ab4b8 !important; | |||
background-color: transparent !important; | |||
} | } | ||
#ca-talk a:hover { | |||
color: #01faec !important; | |||
background-color: rgba(1, 250, 236, 0.08) !important; | |||
} | } | ||
. | /* 移除任何残留的默认背景和边框 */ | ||
#p-views .vector-menu-content, | |||
#p-cactions .vector-menu-content, | |||
.vector-menu-tabs, | |||
.vector-menu-tabs ul { | |||
background: none !important; | |||
background-color: transparent !important; | |||
border: none !important; | |||
} | } | ||
. | |||
.vector-menu-tabs .mw-watchlink.icon a { | |||
width: auto !important; | |||
height: auto !important; | |||
} | } | ||
/* | /* ===== 强制修复:重置星标图标定位和尺寸 ===== */ | ||
. | .vector-menu-tabs .mw-watchlink.icon a:before { | ||
left: auto !important; | |||
top: auto !important; | |||
width: auto !important; | |||
height: auto !important; | |||
} | } | ||
/* | /* ===== 强制修复:标签栏高度 ===== */ | ||
.vector-menu-tabs-legacy li a { | |||
height: auto !important; | |||
height: | |||
} | } | ||
background: | /* ============================================================ | ||
强制修复 "系统消息" 和 "讨论" 标签样式(含背景) | |||
============================================================ */ | |||
/* "系统消息" 标签 - 页面主标签 */ | |||
#ca-nstab-main { | |||
background-color: transparent !important; | |||
background: none !important; | |||
} | } | ||
background: # | #ca-nstab-main a { | ||
border-radius: | background-color: transparent !important; | ||
background: none !important; | |||
color: #8ab4b8 !important; | |||
border: none !important; | |||
border-radius: 4px 4px 0 0 !important; | |||
padding: 6px 14px !important; | |||
margin: 0 2px !important; | |||
font-weight: 500 !important; | |||
font-size: 13px !important; | |||
transition: all 0.25s ease !important; | |||
} | } | ||
background: | #ca-nstab-main a:hover { | ||
background-color: rgba(1, 250, 236, 0.12) !important; | |||
background: rgba(1, 250, 236, 0.12) !important; | |||
color: #01faec !important; | |||
border: none !important; | |||
text-decoration: none !important; | |||
} | } | ||
/* | /* "系统消息" 选中状态 */ | ||
#ca-nstab-main.selected { | |||
. | background-color: transparent !important; | ||
background | background: none !important; | ||
} | } | ||
. | #ca-nstab-main.selected a { | ||
background-color: transparent !important; | |||
background: none !important; | |||
color: #01faec !important; | |||
font-weight: 600 !important; | |||
border-radius: 0 !important; | |||
} | } | ||
/* | /* "讨论" 标签 */ | ||
# | #ca-talk { | ||
background | background-color: transparent !important; | ||
background: none !important; | |||
} | } | ||
# | #ca-talk a { | ||
color: # | background-color: transparent !important; | ||
background: none !important; | |||
border-radius: | color: #8ab4b8 !important; | ||
padding: | border: none !important; | ||
border-radius: 4px 4px 0 0 !important; | |||
padding: 6px 14px !important; | |||
margin: 0 2px !important; | |||
font-weight: 500 !important; | |||
font-size: 13px !important; | |||
transition: all 0.25s ease !important; | |||
} | } | ||
# | |||
background: rgba(1, 250, 236, 0. | #ca-talk a:hover { | ||
background-color: rgba(1, 250, 236, 0.12) !important; | |||
background: rgba(1, 250, 236, 0.12) !important; | |||
color: #01faec !important; | |||
border: none !important; | |||
text-decoration: none !important; | |||
} | } | ||
/* | /* "讨论" 选中状态 */ | ||
#ca-talk.selected { | |||
background-color: transparent !important; | |||
background | background: none !important; | ||
} | } | ||
. | #ca-talk.selected a { | ||
background-color: transparent !important; | |||
background: none !important; | |||
color: #01faec !important; | |||
font-weight: 600 !important; | |||
border-radius: 0 !important; | |||
} | |||
/* ===== 额外兜底:强制所有导航标签背景透明 ===== */ | |||
#left-navigation ul li, | |||
#p-views ul li, | |||
#p-cactions ul li, | |||
#left-navigation ul li a, | |||
#p-views ul li a, | |||
#p-cactions ul li a { | |||
background-color: transparent !important; | |||
background: none !important; | |||
} | |||
/* 所有选中状态统一青绿色下划线 */ | |||
#left-navigation ul li.selected, | |||
#p-views ul li.selected, | |||
#p-cactions ul li.selected, | |||
#left-navigation ul li.selected a, | |||
#p-views ul li.selected a, | |||
#p-cactions ul li.selected a { | |||
background-color: transparent !important; | |||
background: none !important; | |||
color: #01faec !important; | |||
border-radius: 0 !important; | |||
} | } | ||
/* | /* 所有悬停状态统一青绿色背景 */ | ||
#left-navigation ul li a:hover, | |||
#p-views ul li a:hover, | |||
#p-cactions ul li a:hover { | |||
background-color: rgba(1, 250, 236, 0.12) !important; | |||
background: rgba(1, 250, 236, 0.12) !important; | |||
color: #01faec !important; | |||
} | } | ||
2026年8月19日 (三) 02:45的版本
/* ===== 所有内容区域透明 ===== */
#content {
background-color: transparent;
}
#footer {
background-color: transparent;
}
/* ===== 头部透明 ===== */
#mw-page-base {
background-color: transparent !important;
background-image: none !important;
}
#mw-head {
background-color: transparent !important;
background-image: none !important;
}
#mw-head-base {
background-color: transparent !important;
background-image: none !important;
}
/* ===== 主内容区 ===== */
.mw-body {
background-color: rgba(10, 21, 24, 0.94) !important;
color: #ffffff !important;
border-radius: 8px !important;
border-left: 3px solid #01faec !important;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6) !important;
position: relative !important;
overflow: hidden !important;
}
/* ===== 青绿色光晕点缀 ===== */
.mw-body::before {
content: '' !important;
position: absolute !important;
top: -50px !important;
right: -50px !important;
width: 200px !important;
height: 200px !important;
background: radial-gradient(circle, rgba(1, 250, 236, 0.04), transparent 70%) !important;
pointer-events: none !important;
border-radius: 50% !important;
z-index: 0 !important;
}
/* ===== 左侧导航面板 ===== */
#mw-panel {
background-color: rgba(10, 21, 24, 0.88) !important;
border-radius: 8px !important;
padding: 10px 0 !important;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important;
}
#mw-panel .portal {
background-color: transparent !important;
}
#mw-panel .portal .body {
background-color: transparent !important;
}
/* ===== 侧边栏标题 ===== */
#mw-panel .portal h3 {
color: #01faec !important;
font-weight: 600;
padding-left: 12px;
border-bottom: 1px solid rgba(1, 250, 236, 0.2);
padding-bottom: 4px;
}
/* ============================================================
侧边栏链接 - 青绿色主题(无下划线效果)
============================================================ */
#mw-panel a,
#mw-panel .portal .body ul li a,
.mw-portlet .body ul li a,
.portal .body ul li a {
color: #b0d4d8 !important;
text-decoration: none !important;
border-radius: 4px !important;
padding: 3px 12px !important;
transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
position: relative !important;
display: block !important;
background-color: transparent !important;
}
/* 强制移除侧边栏所有 ::after 伪元素 */
#mw-panel a::after,
#mw-panel .portal .body ul li a::after,
.mw-portlet .body ul li a::after,
.portal .body ul li a::after {
display: none !important;
content: none !important;
width: 0 !important;
height: 0 !important;
opacity: 0 !important;
}
#mw-panel a:hover,
#mw-panel .portal .body ul li a:hover,
.mw-portlet .body ul li a:hover,
.portal .body ul li a:hover {
color: #01faec !important;
background-color: rgba(1, 250, 236, 0.12) !important;
text-shadow: 0 0 20px rgba(1, 250, 236, 0.15) !important;
transform: translateX(4px) !important;
text-decoration: none !important;
}
#mw-panel .portal .body ul li a::before,
.mw-portlet .body ul li a::before,
.portal .body ul li a::before {
content: '' !important;
position: absolute !important;
left: 0 !important;
top: 50% !important;
transform: translateY(-50%) scaleY(0) !important;
width: 3px !important;
height: 60% !important;
background: #01faec !important;
border-radius: 0 4px 4px 0 !important;
transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
opacity: 0 !important;
}
#mw-panel .portal .body ul li a:hover::before,
.mw-portlet .body ul li a:hover::before,
.portal .body ul li a:hover::before {
transform: translateY(-50%) scaleY(1) !important;
opacity: 1 !important;
}
/* ============================================================
Logo - 强制限制宽度,无动画
============================================================ */
#p-logo {
max-width: 180px !important;
width: auto !important;
overflow: hidden !important;
box-sizing: border-box !important;
background-color: transparent !important;
border-radius: 0 !important;
padding: 0 !important;
margin: 0 0 10px 0 !important;
border: none !important;
animation: none !important;
transition: none !important;
transform: none !important;
}
#p-logo a {
display: block !important;
max-width: 100% !important;
width: auto !important;
overflow: hidden !important;
transition: none !important;
transform: none !important;
animation: none !important;
box-shadow: none !important;
}
#p-logo a img,
#p-logo img {
max-width: 100% !important;
width: auto !important;
height: auto !important;
display: block !important;
transition: none !important;
transform: none !important;
animation: none !important;
}
#p-logo:hover,
#p-logo a:hover,
#p-logo a:hover img,
#p-logo img:hover {
transform: none !important;
animation: none !important;
transition: none !important;
box-shadow: none !important;
border-color: transparent !important;
}
/* ============================================================
右上角个人工具 - 去除黑色圆角背景
============================================================ */
#p-personal {
background-color: transparent !important;
border: none !important;
border-radius: 0 !important;
padding: 0 !important;
box-shadow: none !important;
}
#p-personal li a {
color: #b0d4d8 !important;
transition: color 0.2s ease;
}
#p-personal li a:hover {
color: #01faec !important;
text-decoration: none;
}
/* ============================================================
顶部导航标签 - "首页""讨论"等
============================================================ */
#p-views ul li a,
#p-cactions ul li a {
background-color: transparent !important;
border: none !important;
border-radius: 0 !important;
padding: 6px 14px !important;
margin: 0 2px !important;
color: #8ab4b8 !important;
font-weight: 500 !important;
transition: all 0.25s ease !important;
}
#p-views ul li a:hover,
#p-cactions ul li a:hover {
background-color: rgba(1, 250, 236, 0.10) !important;
color: #01faec !important;
}
#p-views ul li.selected a,
#p-cactions ul li.selected a {
background-color: transparent !important;
color: #01faec !important;
font-weight: 600 !important;
}
/* ===== 编辑按钮 ===== */
#ca-edit a {
background-color: rgba(1, 250, 236, 0.10) !important;
color: #01faec !important;
font-weight: 600 !important;
border-radius: 4px !important;
}
#ca-edit a:hover {
background-color: rgba(1, 250, 236, 0.20) !important;
color: #66fcf0 !important;
}
/* ===== 查看源代码按钮 ===== */
#ca-viewsource a {
background-color: transparent !important;
color: #8ab4b8 !important;
}
#ca-viewsource a:hover {
background-color: rgba(1, 250, 236, 0.10) !important;
color: #01faec !important;
}
/* ============================================================
"编辑源代码"那块白色背景去除
============================================================ */
.mw-editsection {
background-color: transparent !important;
}
.mw-editsection a {
background-color: rgba(1, 250, 236, 0.08) !important;
color: #01faec !important;
border-radius: 4px !important;
padding: 2px 8px !important;
transition: all 0.3s ease !important;
}
.mw-editsection a:hover {
background-color: rgba(1, 250, 236, 0.18) !important;
color: #66fcf0 !important;
}
/* ===== 底部 ===== */
#footer {
background-color: rgba(10, 21, 24, 0.88) !important;
border-radius: 8px;
padding: 12px 20px;
border-top: 2px solid #01faec;
color: #8ab4b8 !important;
}
#footer a {
color: #01faec !important;
}
#footer a:hover {
color: #66fcf0 !important;
}
/* ============================================================
内容区超链接 - 只作用于页面正文内容(含下划线效果)
============================================================ */
.mw-parser-output a,
.mw-body .mw-content-ltr a,
#mw-content-text a {
color: #01faec !important;
text-decoration: none !important;
transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
position: relative !important;
}
.mw-parser-output a:visited,
.mw-body .mw-content-ltr a:visited {
color: #3d839b !important;
}
.mw-parser-output a:hover,
.mw-body .mw-content-ltr a:hover {
color: #66fcf0 !important;
text-shadow: 0 0 20px rgba(1, 250, 236, 0.25) !important;
transform: translateY(-1px) !important;
}
/* 下划线效果 - 只作用于正文内容 */
.mw-parser-output a::after,
.mw-body .mw-content-ltr a::after {
content: '' !important;
position: absolute !important;
bottom: -2px !important;
left: 50% !important;
width: 0 !important;
height: 2px !important;
background: linear-gradient(90deg, #01faec, #66fcf0) !important;
transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
transform: translateX(-50%) !important;
border-radius: 2px !important;
}
.mw-parser-output a:hover::after,
.mw-body .mw-content-ltr a:hover::after {
width: 80% !important;
}
/* 外部链接 - 使用青绿色图标 */
.mw-parser-output a.external,
.mw-body .mw-content-ltr a.external,
#mw-content-text a.external {
padding-right: 18px !important;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2301faec' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E") !important;
background-repeat: no-repeat !important;
background-position: right center !important;
background-size: 12px !important;
}
.mw-parser-output a.external:hover,
.mw-body .mw-content-ltr a.external:hover,
#mw-content-text a.external:hover {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2366fcf0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E") !important;
}
/* ===== 搜索框 ===== */
#searchInput {
border-radius: 20px !important;
border: 1px solid rgba(1, 250, 236, 0.30) !important;
background-color: rgba(10, 21, 24, 0.80) !important;
color: #ffffff !important;
padding: 5px 14px !important;
transition: all 0.3s ease !important;
}
#searchInput:focus {
background-color: rgba(10, 21, 24, 0.95) !important;
border-color: #01faec !important;
box-shadow: 0 0 0 3px rgba(1, 250, 236, 0.15) !important;
outline: none;
}
#searchButton {
border-radius: 20px !important;
background: linear-gradient(135deg, #01faec, #3d839b) !important;
border: none !important;
color: #0a1518 !important;
font-weight: 600 !important;
padding: 5px 16px !important;
transition: all 0.3s ease !important;
cursor: pointer !important;
}
#searchButton:hover {
transform: scale(1.05) !important;
box-shadow: 0 4px 25px rgba(1, 250, 236, 0.30) !important;
background: linear-gradient(135deg, #66fcf0, #488ab1) !important;
}
/* ===== 标题文字 ===== */
.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4 {
color: #01faec !important;
border-bottom-color: rgba(1, 250, 236, 0.20) !important;
}
.mw-body p,
.mw-body li,
.mw-body .mw-content-ltr {
color: #ffffff !important;
}
/* ===== 页面加载动画 ===== */
.mw-body,
#mw-panel,
#footer {
animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both !important;
}
#mw-panel {
animation-delay: 0.05s !important;
}
.mw-body {
animation-delay: 0.1s !important;
}
#footer {
animation-delay: 0.15s !important;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* ============================================================
强制修复顶部标签栏 - "首页""讨论""编辑源代码""监视"等
============================================================ */
/* 标签栏容器 - 背景透明 */
#p-views,
#p-cactions,
#left-navigation,
#right-navigation {
background-color: transparent !important;
}
/* 所有标签项 - 重置为透明背景 */
#p-views ul,
#p-cactions ul,
#p-views ul li,
#p-cactions ul li {
background-color: transparent !important;
background: none !important;
}
/* 标签链接 - 完全自定义样式 */
#p-views ul li a,
#p-cactions ul li a,
#left-navigation ul li a,
#right-navigation ul li a {
background-color: transparent !important;
background: none !important;
border: none !important;
border-radius: 4px 4px 0 0 !important;
padding: 6px 14px !important;
margin: 0 2px !important;
color: #8ab4b8 !important;
font-weight: 500 !important;
font-size: 13px !important;
transition: all 0.25s ease !important;
box-shadow: none !important;
text-shadow: none !important;
}
/* 悬停效果 */
#p-views ul li a:hover,
#p-cactions ul li a:hover,
#left-navigation ul li a:hover,
#right-navigation ul li a:hover {
background-color: rgba(1, 250, 236, 0.12) !important;
color: #01faec !important;
border: none !important;
border-radius: 4px 4px 0 0 !important;
text-decoration: none !important;
}
/* 当前选中的标签页 - "首页"或"页面" */
#p-views ul li.selected a,
#p-cactions ul li.selected a,
#left-navigation ul li.selected a,
#right-navigation ul li.selected a {
background-color: transparent !important;
color: #01faec !important;
font-weight: 600 !important;
border-radius: 0 !important;
}
/* ===== "编辑源代码" 按钮特殊样式 ===== */
#ca-viewsource a {
background-color: rgba(1, 250, 236, 0.06) !important;
color: #8ab4b8 !important;
border-radius: 4px !important;
}
#ca-viewsource a:hover {
background-color: rgba(1, 250, 236, 0.18) !important;
color: #01faec !important;
}
/* ===== "编辑" 按钮特殊样式 ===== */
#ca-edit a {
background-color: rgba(1, 250, 236, 0.08) !important;
color: #01faec !important;
border-radius: 4px !important;
}
#ca-edit a:hover {
background-color: rgba(1, 250, 236, 0.20) !important;
color: #66fcf0 !important;
}
/* ===== "监视" 按钮 ===== */
#ca-watch a,
#ca-unwatch a {
color: #8ab4b8 !important;
background-color: transparent !important;
}
#ca-watch a:hover,
#ca-unwatch a:hover {
color: #01faec !important;
background-color: rgba(1, 250, 236, 0.08) !important;
}
/* ===== "讨论" 按钮 ===== */
#ca-talk a {
color: #8ab4b8 !important;
background-color: transparent !important;
}
#ca-talk a:hover {
color: #01faec !important;
background-color: rgba(1, 250, 236, 0.08) !important;
}
/* 移除任何残留的默认背景和边框 */
#p-views .vector-menu-content,
#p-cactions .vector-menu-content,
.vector-menu-tabs,
.vector-menu-tabs ul {
background: none !important;
background-color: transparent !important;
border: none !important;
}
.vector-menu-tabs .mw-watchlink.icon a {
width: auto !important;
height: auto !important;
}
/* ===== 强制修复:重置星标图标定位和尺寸 ===== */
.vector-menu-tabs .mw-watchlink.icon a:before {
left: auto !important;
top: auto !important;
width: auto !important;
height: auto !important;
}
/* ===== 强制修复:标签栏高度 ===== */
.vector-menu-tabs-legacy li a {
height: auto !important;
}
/* ============================================================
强制修复 "系统消息" 和 "讨论" 标签样式(含背景)
============================================================ */
/* "系统消息" 标签 - 页面主标签 */
#ca-nstab-main {
background-color: transparent !important;
background: none !important;
}
#ca-nstab-main a {
background-color: transparent !important;
background: none !important;
color: #8ab4b8 !important;
border: none !important;
border-radius: 4px 4px 0 0 !important;
padding: 6px 14px !important;
margin: 0 2px !important;
font-weight: 500 !important;
font-size: 13px !important;
transition: all 0.25s ease !important;
}
#ca-nstab-main a:hover {
background-color: rgba(1, 250, 236, 0.12) !important;
background: rgba(1, 250, 236, 0.12) !important;
color: #01faec !important;
border: none !important;
text-decoration: none !important;
}
/* "系统消息" 选中状态 */
#ca-nstab-main.selected {
background-color: transparent !important;
background: none !important;
}
#ca-nstab-main.selected a {
background-color: transparent !important;
background: none !important;
color: #01faec !important;
font-weight: 600 !important;
border-radius: 0 !important;
}
/* "讨论" 标签 */
#ca-talk {
background-color: transparent !important;
background: none !important;
}
#ca-talk a {
background-color: transparent !important;
background: none !important;
color: #8ab4b8 !important;
border: none !important;
border-radius: 4px 4px 0 0 !important;
padding: 6px 14px !important;
margin: 0 2px !important;
font-weight: 500 !important;
font-size: 13px !important;
transition: all 0.25s ease !important;
}
#ca-talk a:hover {
background-color: rgba(1, 250, 236, 0.12) !important;
background: rgba(1, 250, 236, 0.12) !important;
color: #01faec !important;
border: none !important;
text-decoration: none !important;
}
/* "讨论" 选中状态 */
#ca-talk.selected {
background-color: transparent !important;
background: none !important;
}
#ca-talk.selected a {
background-color: transparent !important;
background: none !important;
color: #01faec !important;
font-weight: 600 !important;
border-radius: 0 !important;
}
/* ===== 额外兜底:强制所有导航标签背景透明 ===== */
#left-navigation ul li,
#p-views ul li,
#p-cactions ul li,
#left-navigation ul li a,
#p-views ul li a,
#p-cactions ul li a {
background-color: transparent !important;
background: none !important;
}
/* 所有选中状态统一青绿色下划线 */
#left-navigation ul li.selected,
#p-views ul li.selected,
#p-cactions ul li.selected,
#left-navigation ul li.selected a,
#p-views ul li.selected a,
#p-cactions ul li.selected a {
background-color: transparent !important;
background: none !important;
color: #01faec !important;
border-radius: 0 !important;
}
/* 所有悬停状态统一青绿色背景 */
#left-navigation ul li a:hover,
#p-views ul li a:hover,
#p-cactions ul li a:hover {
background-color: rgba(1, 250, 236, 0.12) !important;
background: rgba(1, 250, 236, 0.12) !important;
color: #01faec !important;
}