|
|
| (未顯示同一使用者於中間所作的 1次修訂) |
| 第1行: |
第1行: |
| /* ==========================================
| |
| MediaWiki 1.47+ MinervaNeue 訪客全深色修正
| |
| ========================================== */
| |
|
| |
|
| /* 1. 全域最底層與 HTML 根節點(徹底消滅寬螢幕下的最左、最右白邊) */
| |
| html.skin-minervaneue body.mw-anon,
| |
| html.skin-minervaneue.mw-anon,
| |
| body.mw-anon #mw-mf-page-center,
| |
| body.mw-anon .mw-page-container {
| |
| background-color: #101418 !important; /* 核心深黑色 */
| |
| color: #eaecf0 !important;
| |
| }
| |
|
| |
| /* 2. 修正頂部列(左上角選單外側、右上角頭像外側) */
| |
| body.mw-anon .header-container,
| |
| body.mw-anon header.header,
| |
| body.mw-anon .branding-box {
| |
| background-color: #1a1f26 !important; /* 頂部條深灰色 */
| |
| background: #1a1f26 !important;
| |
| border-bottom: 1px solid #30363d !important;
| |
| box-shadow: none !important; /* 移除原本露出的白色陰影 */
| |
| }
| |
|
| |
| /* 3. 修正頁尾區塊(編輯歷史、隱私權政策、免責聲明等整個大底座) */
| |
| body.mw-anon footer.footer,
| |
| body.mw-anon .footer-container,
| |
| body.mw-anon #footer {
| |
| background-color: #101418 !important; /* 與最底層同色,使其融為一體 */
| |
| background: #101418 !important;
| |
| color: #8b949e !important;
| |
| border-top: 1px solid #30363d !important;
| |
| }
| |
|
| |
| /* 4. 修正頁尾內部的文字、編輯歷史連結與隱私權排版 */
| |
| body.mw-anon .footer .post-content,
| |
| body.mw-anon .footer-places,
| |
| body.mw-anon .footer-info {
| |
| background-color: transparent !important; /* 消除內層潛在白底 */
| |
| color: #8b949e !important;
| |
| }
| |
|
| |
| /* 5. 確保超連結在深色背景下的易讀性 */
| |
| body.mw-anon a {
| |
| color: #58a6ff !important; /* 改為溫和的暗式亮藍色,不刺眼 */
| |
| }
| |
| body.mw-anon a:visited {
| |
| color: #bc8cff !important; /* 已造訪的連結改為淡紫色 */
| |
| }
| |
| body.mw-anon a.new {
| |
| color: #ff7b72 !important; /* 紅字連結改為淡紅色 */
| |
| }
| |