MediaWiki:Common.css:修订间差异
跳转到导航
跳转到搜索
Maintenance script(留言 | 贡献) 深紫玻璃+隐藏外观 |
Maintenance script(留言 | 贡献) Timeless深紫玻璃 |
||
| 第1行: | 第1行: | ||
/* ===== | /* ===== 尘月维基 · Timeless:黑顶栏 / 白侧栏 / 淡紫内容区 / 板块深紫玻璃 ===== */ | ||
:root { | :root { | ||
--wiki-purple: #4b2e83; | --wiki-purple: #4b2e83; | ||
} | } | ||
/* | /* 整体背景淡紫 */ | ||
body, | body, | ||
#mw-wrapper, | |||
#mw-content-container, | |||
#mw-content-block, | |||
#content, | #content, | ||
.mw-body | .mw-body { | ||
background: #f3eefb !important; | background: #f3eefb !important; | ||
} | } | ||
/* | /* 顶栏黑色 */ | ||
#mw-header-container, | |||
#mw-header { | |||
background: #1b1b1b !important; | background: #1b1b1b !important; | ||
border-color: #1b1b1b !important; | |||
} | } | ||
#mw-header a, | |||
#mw-header-container a, | |||
#mw-header .mw-logo-wordmark { color: #fff !important; } | |||
#mw-header .mw-logo-tagline { color: #cfc3ec !important; } | |||
. | |||
/* | /* 搜索框 */ | ||
# | #searchInput, | ||
. | .cdx-text-input__input { color: #fff !important; } | ||
/* 左侧栏白色(Timeless 宽屏原生固定在左侧,无需点汉堡) */ | |||
#mw-site-navigation, | |||
#mw-related-navigation { | |||
background: #ffffff !important; | background: #ffffff !important; | ||
border: none !important; | border: none !important; | ||
} | } | ||
#mw-site-navigation a, | |||
# | #mw-related-navigation a { color: var(--wiki-purple) !important; } | ||
# | |||
/* | /* 顶部欢迎横幅:紫色实色渐变 */ | ||
.site-banner { | .site-banner { | ||
display: flex; | display: flex; | ||
| 第113行: | 第103行: | ||
#pt-watchlist, | #pt-watchlist, | ||
#pt-mycontris, | #pt-mycontris, | ||
#vector-appearance-pinned-container, | #vector-appearance-pinned-container, | ||
#vector-appearance-unpinned-container | #vector-appearance-unpinned-container { display: none !important; } | ||
/* 隐藏页脚 MediaWiki 品牌 */ | /* 隐藏页脚 MediaWiki 品牌 */ | ||
#footer-poweredby, | #footer-poweredby, | ||
#f-poweredbyimg { display: none !important; } | #f-poweredbyimg { display: none !important; } | ||
2026年10月31日 (六) 13:20的版本
/* ===== 尘月维基 · Timeless:黑顶栏 / 白侧栏 / 淡紫内容区 / 板块深紫玻璃 ===== */
:root {
--wiki-purple: #4b2e83;
}
/* 整体背景淡紫 */
body,
#mw-wrapper,
#mw-content-container,
#mw-content-block,
#content,
.mw-body {
background: #f3eefb !important;
}
/* 顶栏黑色 */
#mw-header-container,
#mw-header {
background: #1b1b1b !important;
border-color: #1b1b1b !important;
}
#mw-header a,
#mw-header-container a,
#mw-header .mw-logo-wordmark { color: #fff !important; }
#mw-header .mw-logo-tagline { color: #cfc3ec !important; }
/* 搜索框 */
#searchInput,
.cdx-text-input__input { color: #fff !important; }
/* 左侧栏白色(Timeless 宽屏原生固定在左侧,无需点汉堡) */
#mw-site-navigation,
#mw-related-navigation {
background: #ffffff !important;
border: none !important;
}
#mw-site-navigation a,
#mw-related-navigation a { color: var(--wiki-purple) !important; }
/* 顶部欢迎横幅:紫色实色渐变 */
.site-banner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
background: linear-gradient(135deg, #4b2e83, #6b4ea8) !important;
color: #fff;
border-radius: 12px;
padding: 20px 26px;
margin-bottom: 20px;
}
.banner-text { flex: 1 1 auto; }
.banner-title { font-size: 28px; font-weight: 800; letter-spacing: 2px; }
.banner-sub { font-size: 14px; opacity: .92; margin-top: 8px; line-height: 1.7; }
.banner-logo {
flex: 0 0 auto;
width: 96px; height: 96px;
background-image: url(/logo.jpg);
background-size: contain;
background-repeat: no-repeat;
background-position: center;
border-radius: 50%;
}
/* 板块:唯一玻璃拟态处,深紫色半透明毛玻璃 */
.block {
background: rgba(58, 32, 105, 0.62) !important;
-webkit-backdrop-filter: blur(14px) saturate(140%);
backdrop-filter: blur(14px) saturate(140%);
border: 1px solid rgba(150, 120, 215, 0.35) !important;
border-radius: 12px !important;
overflow: hidden;
margin-bottom: 20px;
box-shadow: 0 6px 24px rgba(40, 20, 80, 0.25);
color: #ffffff;
}
.block-title {
background: rgba(35, 16, 68, 0.9) !important;
color: #fff;
text-align: center;
font-size: 18px;
font-weight: 700;
letter-spacing: 2px;
padding: 12px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.block-body { padding: 18px 20px; line-height: 1.85; color: #eee7ff; }
/* 两列并排 */
.card-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin-bottom: 20px;
}
.card-row .block { margin-bottom: 0; }
@media (max-width: 700px) {
.card-row { grid-template-columns: 1fr; }
}
/* 外观/参数设置等默认菜单:彻底隐藏,无入口按钮 */
#pt-preferences,
#pt-watchlist,
#pt-mycontris,
#vector-appearance-pinned-container,
#vector-appearance-unpinned-container { display: none !important; }
/* 隐藏页脚 MediaWiki 品牌 */
#footer-poweredby,
#f-poweredbyimg { display: none !important; }