评分模块与著作信息模块:
这是一个修改自Sigma9的版式,以灰日版式为模板修改而来基于21世纪初的WindowsXP风格,由 Meowait 开发。
在你的作品开头添加如下语法以应用此版式:
[[include :scp-wiki-cn:theme:frutiger-aero]]
背景图像:frutiger-aero-background
https://commons.wikimedia.org/wiki/File:Frutiger_Aero_(2).jpg
版权协议:CC0
头图:aero-logo
https://commons.wikimedia.org/wiki/File:Button_Icon_Cyan.svg
作者:Sémhur
版权协议:CC BY-SA 3.0
示例
卟崾嘲笶涐の蕜傷,涐卟想偽娤,乜卟想恠堅強1
1 级标题
2 级标题
3 级标题
4 级标题
5 级标题
6 级标题
| 标题 | 标题 | 标题 | 标题 | 标题 | 标题 |
|---|---|---|---|---|---|
| 莪愛祂 | 連寂寞都笑 | 莪太墮落 | 卟准哭 | 嗳情 | 侞茈简单 |
| [请输入文本]不小心在快乐大本营说了自己的QQ号,赶紧加 | 如果不转发,她会在半夜三点来到你的床头 | ||||
| 米西米西,哗不拉几,如果你不拉几,我就不能米西 | 子内容 | 子内容 | 子内容 | 子内容 | 子内容 |
粗体 | 斜体 | 下划线 | 删除线 | teletype text 上标下标
可通过五个连字符“-----”创建水平分割线。
可用的DIV块
一个普通的引用框:
▶姐抽的是烟,它伤肺。但不伤心
▶我们是糖,甜到忧伤
▶再牛逼的肖邦,也弹不出老子的忧伤
▶哥抽的不是烟,是寂寞
▶我从不奢望,有人能够读懂我文字背后旳悲伤
▶心里有座坟,埋着未亡人
▶别在我坟头哭,弄脏了我轮回的路。
▶再温暖的阳光也照不进我冷漠的眼眸。
▶不要迷恋哥,哥只是个传说
▶摩天轮不转了,因为长大了
这是一个没标题的aero窗口
这是一个标题
这里是你的正文内容。你可以输入任何文字、列表或表格。
如何使用?
代码↓:
[[div class="aero-window"]]
这是一个没标题的aero窗口
[[/div]]
[[div class="aero-window"]]
[[span style="position:absolute; top:-30px; left:12px; height:30px; line-height:30px; color:white; font-weight:bold; font-size:13px; text-shadow:0 1px 2px rgba(0,0,0,0.6);"]] 这是一个标题 [[/span]]
这里是你的正文内容。你可以输入任何文字、列表或表格。
[[/div]]
🍀 生态风格
这是一个生态风格的 Aero 窗口。
这是一个极光风格的 Aero 窗口。
如何使用?
代码↓:
[[div class="aero-window green-style"]]
[[span style="position:absolute; top:-30px; left:12px; height:30px; line-height:30px; color:white; font-weight:bold; font-size:13px; text-shadow:0 1px 2px rgba(0,0,0,0.6);"]] 🍀 生态风格
[[/div]]
[[div class="aero-window purple-style"]]
这是一个极光风格的 Aero 窗口。
[[/div]]
还有更多预设
💻 商务风格
这是一个商务风格的 Aero 窗口。[[div class="aero-window black-style"]]
橘色风格
这是一个橘色风格的 Aero 窗口。[[div class="aero-window orange-style"]]
🩸 警告风格
这是一个警告风格的 Aero 窗口。[[div class="aero-window red-style"]]
💕🥺地雷系风格
这是一个地雷系风格的 Aero 窗口。[[div class="aero-window pink-style"]]
源代码
@font-face { font-family: 'FlyFlowerSong'; src: url("https://scpsandboxcn.wikidot.com/local--files/collab:mayca/FlyFlowerSong.woff2") format('woff2'); } @charset "utf-8"; @import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"); /* --基本样式↓-- */ /* -- Frutiger Aero 风格重塑 -- */ /* 全局链接样式:改为清爽的深蓝色,悬停时发光 */ /* -- 基础样式修改:Frutiger Aero 背景与毛玻璃 -- */ a { color: #005bb7; text-decoration: none; transition: all 0.3s ease; } a:hover { color: #128ddf; text-shadow: 0 0 5px rgba(154, 209, 252, 0.8); text-decoration: underline; } a:visited { color: #00458b; } #main-content { position: static; } #main-content a { transition: color 0.3s, text-shadow 0.3s; } h1 { color: #0f75b9; font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif; font-weight: bold; text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8); } html { scroll-behavior: smooth; background-color: #d1e8f5; } body { color: #222; /* 提高文字黑度,增加清晰度 */ background-color: transparent; background:transparent; font-family: 'Segoe UI', 'Tahoma', 'Microsoft YaHei', sans-serif; font-weight: 400; font-size: 102%; /* 修正:消除可能存在的默认边距,防止玻璃边框对不齐 */ margin: 0; padding: 0; } #skrollr-body { width: 100%; overflow: hidden; } div#container-wrap { background: none; } /* -- 1. 基础容器与背景图兼容设置 -- */ div#container-wrap { background: none; position: relative; } div#container-wrap::before { content: ""; display: block; width: 100%; height: 100%; /* 使用指定的 Frutiger Aero 背景图 */ background: url("https://scpsandboxcn.wikidot.com/local--files/meowait2/frutiger-aero-background") no-repeat 50% 50%/cover; position: fixed; top: 0; left: 0; z-index: -2; filter: brightness(1.05); } /* -- 2. 主容器毛玻璃与拟物化边框:统一为蓝玻璃风格 -- */ #content-wrap { position: relative; backdrop-filter: none; z-index: 1; margin: 60px auto 20px; padding: 30px 20px 20px !important; /* 提高通透度,背景改为淡淡的浅蓝色调 */ background: rgba(225, 240, 255, 0.35) !important; -webkit-backdrop-filter: blur(20px) saturate(200%); backdrop-filter: blur(20px) saturate(200%); max-width: 1500px !important; margin-left: auto !important; margin-right: auto !important; /* 拟物化外边框 */ border: 1px solid rgba(255, 255, 255, 0.7) !important; border-radius: 0 0 12px 12px; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5); margin-top: 60px !important; } /* -- 3. 拟物化蓝色标题栏 -- */ #content-wrap::before { content: "页面"; position: absolute; top: -32px; left: -1px; right: -1px; height: 32px; background: linear-gradient(to bottom, rgba(122, 185, 232, 0.9) 0%, rgba(74, 145, 209, 0.8) 45%, rgba(30, 87, 153, 0.7) 50%, rgba(22, 69, 122, 0.8) 100%) !important; border: 1px solid rgba(0, 50, 100, 0.5); border-bottom: 1px solid rgba(255, 255, 255, 0.3); border-radius: 10px 10px 0 0; color: #ffffff; font-family: 'Segoe UI', sans-serif; font-weight: bold; text-align: center; line-height: 32px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4); z-index: 2; } /* -- 4. 标题栏按钮装饰 -- */ #content-wrap::after { /* --- 1. 符号层 (Webdings) --- */ content: "— ❐ ✖"; position: absolute; top: -30px; right: 6px; height: 22px; width: 100px; font-family: 'Webdings', sans-serif !important; font-size: 14px; color: #FFFFFF; line-height: 22px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); /* --- 关键调整区 --- */ word-spacing: 12px; padding-left: 7px; /* ---------------- */ box-sizing: border-box; z-index: 5; /* --- 2. 背景渐变层 (保持不变) --- */ background: linear-gradient(to bottom, #e27d7d 0%, #d63a3a 45%, #b11212 50%, #8b0000 100%) no-repeat calc(100% - 0px) 0px / 36px 22px, linear-gradient(rgba(0, 50, 100, 0.4), rgba(0, 50, 100, 0.4)) no-repeat calc(100% - 36px) 0px / 1px 22px, linear-gradient(to bottom, #7ab9e8 0%, #4a91d1 45%, #1e5799 50%, #16457a 100%) no-repeat calc(100% - 37px) 0px / 30px 22px, linear-gradient(rgba(0, 50, 100, 0.4), rgba(0, 50, 100, 0.4)) no-repeat calc(100% - 67px) 0px / 1px 22px, linear-gradient(to bottom, #7ab9e8 0%, #4a91d1 45%, #1e5799 50%, #16457a 100%) no-repeat calc(100% - 68px) 0px / 30px 22px !important; /* --- 3. 边框与阴影 (保持不变) --- */ border: 1px solid rgba(0, 40, 80, 0.6); border-radius: 4px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 5px rgba(30, 153, 233, 0.4); pointer-events: none; } /* 辅助属性 */ border: 1px solid rgba(0, 40, 80, 0.6); border-radius: 4px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 5px rgba(30, 153, 233, 0.4); pointer-events: none; z-index: 3; } /* --基本样式↑-- */ /* --版头样式↓-- */ #header { height: 150px; background: none; } #header h1 a { display: block; margin: 0; padding: 0px 0 0px; line-height: 0; max-height: 0; color: transparent; background: transparent; font-family: BauhausLTDemi, Simhei, Arial, sans-serif; font-size: 0%; text-decoration: none; } #header::after { -webkit-filter: blur(0px) brightness(0); filter: blur(0px) brightness(0); z-index: -1; } #header::after, #header::before { content: ""; display: block; width: 100px; height: 100px; background-image: url("http://scpsandboxcn.wikidot.com/local--files/meowait2/aero-logo2.png"); background-repeat: no-repeat; background-position: 50% 50%; background-size: 100% 100%; position: absolute; top: 40px; left: 10px; } #top-bar { top: 150px; } #header h1 a::before { background: none; } #header h1 a span { visibility: hidden; } #header h2 span { color: transparent; text-shadow: 0px 0px 0px; } #header h2 span::before { background: none; } #header h1 a::before { content: var(--header-title); } #header h2::before { content: var(--header-subtitle); color: #DFDFCF; } div#search-top-box { width: 100%; top: 18.5px; right: 70px; } div#search-top-box form { display: flex; justify-content: flex-end; } div#search-top-box form input[type="text"], div#search-top-box form input[type="text"]:hover { display: inline-block; width: 8rem; height: 1.1rem; background-color: transparent; border-color: transparent; outline: none; transition: all .5s; } div#search-top-box form input[type="text"]:focus, div#search-top-box form input[type="text"]:hover { background-color: rgba(0, 0, 0, .3); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); } /*针对Safari的CSS Hack*/ _::-webkit-full-page-media, _:future, :root div#search-top-box form input[type="text"] { font-size: 16px; } div#search-top-box form input[type="text"]:not(:focus), div#search-top-box form input[type="text"]:not(:focus):not(:hover) { display: inline-block; width: 22px; height: 22px; color: transparent; background: rgba(0, 0, 0, .5) url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22%23ddd%22%20d%3D%22M505%20442.7L405.3%20343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3%2044-79.7%2044-128C416%2093.1%20322.9%200%20208%200S0%2093.1%200%20208s93.1%20208%20208%20208c48.3%200%2092.7-16.4%20128-44v16.3c0%206.4%202.5%2012.5%207%2017l99.7%2099.7c9.4%209.4%2024.6%209.4%2033.9%200l28.3-28.3c9.4-9.4%209.4-24.6.1-34zM208%20336c-70.7%200-128-57.2-128-128%200-70.7%2057.2-128%20128-128%2070.7%200%20128%2057.2%20128%20128%200%2070.7-57.2%20128-128%20128z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/55%; border-radius: 50px; box-sizing: border-box; box-shadow: none; cursor: pointer; } div#search-top-box form input[type="submit"] { display: none; } #search-top-box-input { border: solid 1px transparent; border-radius: 2px; } #login-status { display: flex; flex-direction: column; align-content: space-around; font-size: 0; top: 0; } #login-status .printuser { width: 28px; background-color: none; padding: 0; margin: 0; position: absolute; top: 13px; right: 0px; } #login-status .printuser img.small { background: none !important; margin: 0; width: 28px; height: 28px; padding: 0; border-radius: 100px; box-shadow: 0 0 3px #3F3F3F; } #login-status [id] { font-size: .72rem; } #login-status>a[href="javascript:;"] { width: 22px; height: 22px; background: none; border: none; font-size: 0; font-weight: bold; text-align: center; text-decoration: none; padding: 0; margin: 0; position: absolute; top: 18.5px; right: 34px; } #login-status>a[href="javascript:;"]::before { display: inline-block; width: 22px; height: 22px; background-color: rgba(0, 0, 0, .5); border-radius: 50px; font-size: 15px; font-family: FontAwesome; text-rendering: auto; line-height: 14px; -webkit-font-smoothing: antialiased;/*chrome、safari字体抗锯齿*/ -moz-osx-font-smoothing: grayscale;/*firefox字体抗锯齿*/ box-sizing: border-box; transform: translate(0, 0); padding: 0; padding-top: 4.2px; margin: 0; } /*针对Safari的CSS Hack*/ _::-webkit-full-page-media, _:future, :root #login-status>a[href="javascript:;"]::before { padding-top: calc(4.2px + .03em); padding-left: .1em; } #login-status #account-topbutton::before { content: "\F013"; color: var(--base-color); } #login-status a.login-status-sign-in { right: 33px; } #login-status .login-status-sign-in::before { content: "\F13E"; color: var(--base-color); } #login-status a.login-status-create-account { right: 5px; } #login-status .login-status-create-account::before { content: "\F067"; color: var(--base-color); } #login-status #my-account { display: none; } #account-topbutton:focus+#account-options, #account-topbutton:focus-within+#account-options, #account-topbutton:active+#account-options, #account-topbutton+#account-options:focus, #account-topbutton+#account-options:focus-within, #account-topbutton+#account-options:active { opacity: 1; pointer-events: auto; transform: translateX(0); -webkit-transition: all .5s; -moz-transition: all .5s; -o-transition: all .5s; transition: all .5s; } #account-options { display: block; background-color: #16161570; border: none; border-radius: 3px; opacity: 0; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); pointer-events: none; transform: translateX(50%); -webkit-transition: all .5s; -moz-transition: all .5s; -o-transition: all .5s; transition: all .5s; padding: 5px; top: 50px; } /*针对Safari的CSS Hack*/ _::-webkit-full-page-media, _:future, :root #account-options { display: none; opacity: 1; pointer-events: auto; transform: translateX(0); } #account-options ul { display: flex; flex-wrap: wrap; justify-content: space-around; } #account-options ul>li { flex-grow: 1; width: 40%; text-align: center; } #account-options ul>li a { transition: all .25s ease-in-out; } #account-options ul>li a:hover { color: #A1A191; background-color: #16161570; border-radius: 3px; font-weight: 300; text-decoration: none; } #login-status ul a { color: #DFDFCF; } /* --版头样式↑-- */ /* --版头动画↓-- */ div#extra-div-1 { width: 100%; height: 150px; background: url("") no-repeat 0 50%/100% 150px; overflow: hidden; position: absolute; top: 0; } div#extra-div-1::before, div#extra-div-1::after { content: ""; display: block; width: 200%; height: 150px; position: absolute; top: 0; } div#extra-div-1::before { background: url("") repeat-x 0 50%/50% 150px; animation: moveBgAnim 120s linear infinite; z-index: -1; } div#extra-div-1::after { background: url("") repeat-x 0 50%/50% 150px; animation: windBgAnim 8s linear infinite; z-index: 1; } @keyframes moveBgAnim { 0% { transform: translateX(-0%) } 100% { transform: translateX(-50%) } } @keyframes windBgAnim { 0% { transform: translateX(-0%); opacity: 1 } 30% { opacity: 1 } 55% { opacity: 0 } 70% { opacity: 1 } 100% { transform: translateX(-50%); opacity: 1 } } /* --版头动画↑-- */ /* --版头响应式布局↓-- */ @media (max-width: 479px) { #header { background-position: 0 5em; background-size: 55px 55px; } #header::after, #header::before { width: 55px; height: 55px; top: 5em; left: 0; } } @media (min-width: 480px) and (max-width: 580px) { #header { background-position: 0.5em 4.5em; background-size: 66px 66px; } #header::after, #header::before { width: 66px; height: 66px; top: 4.5em; left: 0.5em; } } @media (min-width: 581px) and (max-width: 767px) { #header { background-size: 77px 77px; } #header::after, #header::before { width: 77px; height: 77px; top: 4em; left: 1em; } } @media (min-width: 768px) and (max-width: 979px) { #header { background-position: 1em 3.5em; background-size: 88px 88px; } #header::after, #header::before { width: 88px; height: 88px; top: 3.5em; left: 1em; } } @media (max-width: 800px) { div#extra-div-1 { width: 800px; height: 150px; left: calc((100% - 800px)/2); } } @media (min-width: 801px) and (max-width: 999px) { div#extra-div-1 { width: 100%; height: 150px; } } @media (min-width: 1000px) { div#extra-div-1 { background-size: 100% 15vw; } div#extra-div-1::before, div#extra-div-1::after { background-size: 50% 15vw; } } @media (min-width: 1200px) { #header { height: calc(15vw - 30px); } #top-bar { top: calc(15vw - 30px); } div#extra-div-1 { height: calc(15vw - 30px); } div#extra-div-1::before, div#extra-div-1::after { height: calc(15vw - 30px); } div#extra-div-2 { top: calc(15vw - 30px); } } /* --版头响应式布局↑-- */ /* --顶栏样式↓-- */ /* --- 顶部导航条背景:完全按照你要求的蓝玻璃参数修改 --- */ #extra-div-2 { width: 100%; height: 32px; position: absolute; top: 150px; /* 1. 完全采用你要求的通透 Aero 蓝渐变 */ background: linear-gradient(to bottom, rgba(122, 185, 232, 0.9) 0%, rgba(74, 145, 209, 0.8) 45%, rgba(30, 87, 153, 0.7) 50%, rgba(22, 69, 122, 0.8) 100%) !important; /* 2. 边框:深蓝边缘 + 底部亮线高光 */ border-top: 1px solid rgba(0, 50, 100, 0.5); border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* 3. 字体与阴影参数同步 */ color: #ffffff; font-family: 'Segoe UI', sans-serif; font-weight: bold; text-align: center; line-height: 32px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); /* 4. 内发光与层级 */ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), rgba(0, 0, 0, .2) 0 3px 10px; z-index: 2; } /* 修正:确保顶部链接不会被背景色盖住,且文字渲染清晰 */ #top-bar a { color: #ffffff !important; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); font-weight: bold; font-size: 18px; } #top-bar li a { text-align: center; display: block; margin: 5px; padding: 1px 1em; text-decoration: none; } /* 下拉菜单容器:增强毛玻璃与立体边框 */ #top-bar ul li ul { border: 1px solid #4da1da; border-radius: 0 0 10px 10px; background: rgba(255, 255, 255, 0.75); -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); box-shadow: 0 8px 20px rgba(0,0,0,0.25); margin-top: 3px; padding: 2px; } /* 二级菜单文字调整 */ #top-bar ul li ul li a { font-size: 18px; font-weight: 600; color: #137bc0 !important; text-shadow: none; padding: 8px 15px; line-height: 1.5; } #top-bar ul li ul li:hover a { color: #ffffff !important; background: linear-gradient(to bottom, #5cb4ef 0%, #128ddf 100%) !important; border-radius: 4px; } /* -- 移动端菜单按钮:纯正 Windows 7 拟物化重塑 -- */ #top-bar .open-menu a { display: inline-block; font-size: 16px; padding: 5px 15px; background: linear-gradient(to bottom, rgba(230, 245, 255, 0.9) 0%, rgba(110, 190, 240, 0.8) 45%, rgba(30, 140, 220, 0.9) 50%, rgba(0, 90, 180, 0.9) 100%) !important; /* 拟物化边框:外层深色,内层白色高光 */ border: 1px solid #00458b !important; border-radius: 5px; color: #ffffff !important; font-family: "Segoe UI", sans-serif; font-weight: bold; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 2px rgba(255, 255, 255, 0.2), 0 2px 6px rgba(0, 0, 0, 0.3), 0 0 4px rgba(30, 150, 240, 0.4); transition: all 0.2s ease; text-decoration: none; } /* 模拟按下效果 */ #top-bar .open-menu a:active { background: linear-gradient(to bottom, rgba(0, 70, 140, 0.9) 0%, rgba(30, 120, 200, 0.9) 100%) !important; box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5); transform: translateY(1px); } /* 悬停微亮 */ #top-bar .open-menu a:hover { filter: brightness(1.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 10px rgba(80, 190, 255, 0.6); } /* --顶栏样式↑-- */ /* -- 评分栏样式:Windows 7 Aero Premium 风格 -- */ div.page-rate-widget-box { background: linear-gradient(to bottom, rgba(122, 185, 232, 0.9) 0%, rgba(74, 145, 209, 0.9) 45%, rgba(30, 87, 153, 0.9) 50%, rgba(22, 69, 122, 0.9) 100%) !important; border: 1px solid rgba(0, 40, 80, 0.6) !important; border-radius: 4px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 2px 5px rgba(0, 0, 0, 0.2) !important; overflow: hidden; display: inline-flex; padding: 0; backdrop-filter: blur(5px); } /* 移除原有的底部边框线 */ .creditRate .rateBox { display: inline-flex; border: none !important; padding: 2px; } /* 评分数字:Windows 7 标题字体质感 */ .page-rate-widget-box .rate-points { background-color: transparent !important; border: none; border-right: 1px solid rgba(255, 255, 255, 0.2); color: #ffffff !important; font-family: 'Segoe UI', sans-serif; font-size: 12px; font-weight: bold; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); padding: 0 10px; line-height: 24px; } /* 按钮基础样式:模拟系统玻璃按钮 */ .page-rate-widget-box .rateup, .page-rate-widget-box .ratedown, .page-rate-widget-box .cancel { background-color: transparent; border: none; transition: all 0.2s ease; } .page-rate-widget-box .rateup a, .page-rate-widget-box .ratedown a, .page-rate-widget-box .cancel a { color: #ffffff !important; font-size: 12px; font-weight: bold; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); padding: 0 6px; line-height: 24px; display: inline-block; text-decoration: none; } /* 悬停效果:模拟 Win7 按钮悬停时的流光感 */ .page-rate-widget-box .rateup a:hover, .page-rate-widget-box .ratedown a:hover, .page-rate-widget-box .cancel a:hover { background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%) !important; box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.4); color: #ffffff !important; } #page-content .rate-box-with-credit-button { background: linear-gradient(to bottom, rgba(122, 185, 232, 0.9) 0%, rgba(74, 145, 209, 0.9) 45%, rgba(30, 87, 153, 0.9) 50%, rgba(22, 69, 122, 0.9) 100%) !important; border: 1px solid rgba(0, 40, 80, 0.6) !important; border-radius: 6px; backdrop-filter: blur(8px); display: inline-flex; align-items: center; padding: 0 2px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); } #page-content .rate-box-with-credit-button .page-rate-widget-box { background: transparent !important; border: none !important; box-shadow: none !important; } #page-content .rate-box-with-credit-button .creditButton p a.fa.fa-info { color: #ffffff !important; border-left: 1px solid rgba(255, 255, 255, 0.3); padding: 0 8px; margin: 0; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); line-height: 24px; opacity: 0.9; } #page-content .modalbox { position: fixed !important; top: 5% !important; left: 50% !important; transform: translateX(-50%) !important; background: rgba(255, 255, 255, 0.7) !important; border: 1px solid rgba(0, 40, 80, 0.5) !important; border-radius: 8px; box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.6) !important; backdrop-filter: blur(15px) saturate(180%); -webkit-backdrop-filter: blur(15px) saturate(180%); padding: 20px !important; width: auto !important; max-width: 90% !important; } #page-content .modalbox h2 { color: #16457a; font-weight: bold; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9); margin-top: 0; } /* -- 侧边栏样式:统一为通透 Windows 7 蓝玻璃 -- */ /* ============================================================ 1. PC端 基础样式 (窄侧边栏 & 内容约束) ============================================================ */ #side-bar { clear: none; float: none; position: absolute; top: 40px; left: 2em; /* 调整宽度:从 17em 缩小到 15em,看起来更精致 */ width: 15em; padding: 10px; box-sizing: border-box; /* 确保 padding 不撑大容器 */ display: block; overscroll-behavior: contain; background: rgba(255, 255, 255, 0.85) !important; backdrop-filter: none; -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(30, 87, 153, 0.5) !important; border-top: none; border-radius: 0 0 10px 10px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important; max-height: 100%; overflow: hidden scroll !important; z-index: 5000; } /* 标题栏同步缩窄 */ #side-bar::before { content: "侧边栏"; display: block; position: absolute; top: -32px; left: -1px; right: -1px; height: 32px; background: linear-gradient(to bottom, rgba(122, 185, 232, 0.9) 0%, rgba(74, 145, 209, 0.8) 45%, rgba(30, 87, 153, 0.7) 50%, rgba(22, 69, 122, 0.8) 100%) !important; border: 1px solid rgba(0, 50, 100, 0.5); border-bottom: 1px solid rgba(255, 255, 255, 0.3); border-radius: 10px 10px 0 0; color: #ffffff; font-family: 'Segoe UI', sans-serif; font-weight: bold; text-align: center; line-height: 32px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4); } /* 内容约束:防止内容超出侧边栏边缘 */ #side-bar .side-block { max-width: 100%; /* 强制不超出父容器 */ box-sizing: border-box; color: #16457a !important; background: rgba(255, 255, 255, 0.35) !important; border: 1px solid rgba(255, 255, 255, 0.7) !important; border-radius: 8px; padding: 10px; margin-bottom: 15px; backdrop-filter: blur(10px) saturate(180%); } #side-bar .heading { /* 修正标题 margin,使其在窄容器内居中对齐 */ margin: 0px -10px 10px -10px !important; width: calc(100% + 20px); box-sizing: border-box; /* ...其余样式保持你原有的... */ background: linear-gradient(to bottom, rgba(122, 185, 232, 0.9) 0%, rgba(74, 145, 209, 0.8) 45%, rgba(30, 87, 153, 0.7) 50%, rgba(22, 69, 122, 0.8) 100%) !important; height: 32px !important; line-height: 32px !important; color: #ffffff !important; border-radius: 8px 8px 0 0 !important; } /* ============================================================ 2. 移动端 媒体查询 (全屏容器 + 透明遮罩) ============================================================ */ @media (max-width: 767px) { #side-bar { position: fixed !important; top: 0 !important; left: -100vw !important; /* 隐藏在左侧 */ width: 100vw !important; /* 展开后铺满全屏,用于承载透明遮罩 */ height: 100vh !important; background: transparent !important; /* 容器本身变透明 */ border: none !important; box-shadow: none !important; padding: 0 !important; transition: left 0.5s cubic-bezier(0.1, 0.7, 0.1, 1); z-index: 1000 !important; } #side-bar:target { left: 0 !important; } /* 移动端玻璃背景:通过伪元素重新绘制 15em 宽的左侧栏 */ #side-bar::before { content: "Sidebar" !important; position: absolute !important; top: 0 !important; left: 0 !important; width: 15em !important; /* 保持窄宽度 */ height: 100vh !important; background: rgba(255, 255, 255, 0.85) !important; backdrop-filter: blur(15px) saturate(180%); border-right: 1px solid rgba(30, 87, 153, 0.5); box-shadow: 10px 0 30px rgba(0,0,0,0.3); z-index: 1002 !important; border-radius: 0 !important; } /* 移动端全屏透明点击层 */ #side-bar .close-menu a { content: "" !important; display: block !important; position: fixed !important; top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important; background: rgba(0, 0, 0, 0.4) !important; /* 仅移动端可见的暗化 */ z-index: 1001 !important; text-indent: -9999px; } /* 内容强制对齐到左侧 15em 玻璃区内 */ #side-bar .side-block, #side-bar .heading { position: relative !important; z-index: 1003 !important; width: calc(15em - 20px) !important; /* 减去边距,确保不溢出 */ margin-left: 10px !important; } /* 禁用 Webdings 按钮 */ #side-bar::after { content: none !important; display: none !important; } } /* 移动端内容间距微调 */ #side-bar .side-block { margin: 15px 5px 15px 10px !important; } } /* --标题样式↓-- */ #page-title { color: #0f75b9; font-family: 'FlyFlowerSong', serif; font-size: 220%; font-weight: 900; letter-spacing: 0.1em; border-color: #0f75b9; border-bottom: solid 1.5px #0f75b9; transform: scale(1, 1); transition: 0.5s; margin-top: -11px; } #page-title, h1 { color: #0f75b9; font-family: 'FlyFlowerSong', serif; font-size: 220%; font-weight: 900; letter-spacing: 0.1em; border-color: #0f75b9; border-bottom: solid 1.5px #0f75b9; transform: scale(1, 1); transition: 0.5s; } /* --标题样式↑-- */ /* -- 图片块样式:Windows 7 照片查看器风格重塑 -- */ #page-content .scp-image-block { position: relative; margin-top: 40px !important; padding: 10px !important; background: rgba(255, 255, 255, 0.35) !important; /* 边框质感 */ border: 1px solid rgba(255, 255, 255, 0.7) !important; border-radius: 0 0 8px 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5); backdrop-filter: blur(15px) saturate(180%); -webkit-backdrop-filter: blur(15px) saturate(180%); } /* 顶部标题栏:配色与全局同步 */ #page-content .scp-image-block::before { content: "照片查看器"; position: absolute; top: -32px; left: -1px; right: -1px; height: 32px; /* 使用你要求的全局一致配色渐变 */ background: linear-gradient(to bottom, #a6d9ff 0%, #72c1f5 10%, #1e99e9 50%, #0071bc 50%, #005a96 75%, #4ea9e1 100%) !important; border: 1px solid #3a96d1; border-bottom: 1px solid rgba(255,255,255,0.3); border-radius: 8px 8px 0 0; color: #ffffff; font-family: 'Segoe UI', sans-serif; font-size: 12px; font-weight: bold; line-height: 32px; padding-left: 12px; text-shadow: 0 1px 2px rgba(0,0,0,0.5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4); } /* -- 窗口控制按钮:正确的 Windows 7 渲染顺序 -- */ #page-content .scp-image-block::after { /* 使用 Webdings 方案:0=最小化, 1=最大化, r=关闭 */ content: "— ❐ ✖"; position: absolute; top: -30px; right: 4px; height: 22px; width: 100px; /* 字体与对齐校准 */ font-family: 'Webdings', sans-serif !important; font-size: 14px; color: #FFFFFF; line-height: 22px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); /* 应用最佳偏移量:7px */ word-spacing: 12px; padding-left: 7px; box-sizing: border-box; /* 确保文字在背景渐变之上 */ z-index: 5; background: /* --- 背景色块层 (已移除旧的图标 gradient) --- */ /* 1. 关闭按钮:红宝石玻璃渐变 */ linear-gradient(to bottom, #e27d7d 0%, #d63a3a 45%, #b11212 50%, #8b0000 100%) no-repeat calc(100% - 0px) 0px / 36px 22px, /* 分隔线:深蓝色半透明 */ linear-gradient(rgba(0, 50, 100, 0.4), rgba(0, 50, 100, 0.4)) no-repeat calc(100% - 36px) 0px / 1px 22px, /* 2. 最大化按钮:深蓝玻璃渐变 */ linear-gradient(to bottom, #7ab9e8 0%, #4a91d1 45%, #1e5799 50%, #16457a 100%) no-repeat calc(100% - 37px) 0px / 30px 22px, /* 分隔线 */ linear-gradient(rgba(0, 50, 100, 0.4), rgba(0, 50, 100, 0.4)) no-repeat calc(100% - 67px) 0px / 1px 22px, /* 3. 最小化按钮:深蓝玻璃渐变 */ linear-gradient(to bottom, #7ab9e8 0%, #4a91d1 45%, #1e5799 50%, #16457a 100%) no-repeat calc(100% - 68px) 0px / 30px 22px !important; /* 整体边框与 Aero 特性 */ border: 1px solid rgba(0, 40, 80, 0.6); border-radius: 4px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 5px rgba(30, 153, 233, 0.4); pointer-events: none; } /* 图片下方文字区:与侧边栏类似的玻璃质感 */ #page-content .scp-image-block .scp-image-caption { color: #00458b; background: rgba(255, 255, 255, 0.5) !important; border: none !important; border-top: 1px solid rgba(18, 141, 223, 0.2) !important; font-weight: 600; margin-top: 5px; } #page-content .scp-image-block .scp-image-caption a { color: #128ddf; text-decoration: none; } /* -- 表格整体:资源管理器窗口风格 -- */ table.wiki-content-table { border-collapse: separate !important; border-spacing: 0; border: 1px solid rgba(22, 69, 122, 0.6) !important; box-shadow: 0 4px 12px rgba(0,0,0,0.15); border-radius: 8px; overflow: hidden; background-color: rgba(255, 255, 255, 0.8) !important; } /* -- 表头样式-- */ table.wiki-content-table th { background: linear-gradient(to bottom, rgba(122, 185, 232, 0.9) 0%, rgba(74, 145, 209, 0.9) 45%, rgba(30, 87, 153, 0.9) 50%, rgba(22, 69, 122, 0.9) 100%) !important; /* 文字样式 */ color: white !important; font-size: 12px; font-weight: bold; text-shadow: 0 1px 2px rgba(0,0,0,0.5); /* 布局与装饰 */ padding: 10px 12px; line-height: 1.5; text-align: left; /* 边框处理 */ border: none !important; border-bottom: 1px solid rgba(0, 50, 100, 0.4) !important; /* 模拟表头之间的细微分割线 */ border-right: 1px solid rgba(255, 255, 255, 0.1) !important; } /* -- 数据行样式 -- */ table.wiki-content-table td { color: #333 !important; background-color: rgba(255, 255, 255, 0.7) !important; border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important; border-right: 1px solid rgba(0, 0, 0, 0.05) !important; padding: 8px 12px; } table.wiki-content-table td:last-child, table.wiki-content-table th:last-child { border-right: none !important; } table.wiki-content-table tr:last-child td { border-bottom: none !important; } /* 悬停变色:模拟 Win7 选定效果 */ table.wiki-content-table tr:hover td { background-color: rgba(210, 235, 255, 0.8) !important; } /* -- 3. 代码块样式:记事本/纯白 Aero 风格 -- */ .code { background-color: rgba(255, 255, 255, 0.9) !important; color: #222 !important; border: 1px solid rgba(0, 60, 120, 0.3) !important; border-radius: 4px; padding: 10px; font-family: 'Consolas', 'Courier New', monospace; box-shadow: inset 0 0 10px rgba(255, 255, 255, 1), 0 2px 5px rgba(0, 0, 0, 0.1); } /* 代码高亮颜色重置:确保在白底上清晰 */ .hl-brackets, .hl-code, .hl-identifier { color: #333 !important; } .hl-string { color: #2a64a0 !important; } .hl-keywords { color: #0000ff !important; font-weight: bold; } .hl-reserved { color: #0000ff !important; } .hl-comment { color: #008000 !important; } .code::-webkit-scrollbar { width: 10px; height: 10px; } .code::-webkit-scrollbar-thumb { background: linear-gradient(to right, #7ab9e8, #1e5799); border-radius: 5px; border: 1px solid rgba(255,255,255,0.3); } /* --表格样式↑-- */ /* --分割线样式↓-- */ hr { height: 1.5px; background-color: #CAD1D1; } /* --分割线样式↑-- */ .hl-brackets, .hl-code, .hl-identifier { color: #CAD1D1; } /* -- YUI-TABS: Windows 7 Aero Premium Style -- */ .yui-navset { /* 模拟 Win7 磨砂玻璃窗口底色 */ background: rgba(255, 255, 255, 0.5); border: 1px solid rgba(22, 69, 122, 0.6); border-radius: 8px; box-shadow: 0 8px 25px rgba(0,0,0,0.2), inset 0 0 1px #fff; padding-top: 30px; position: relative; overflow: hidden; backdrop-filter: blur(10px); / } /* Windows 7 Title Bar - 统一深蓝渐变 */ .yui-navset::before { content: "Document Viewer"; display: block; position: absolute; top: 0; left: 0; right: 0; height: 30px; line-height: 30px; padding: 0 12px; background: linear-gradient(to bottom, rgba(122, 185, 232, 0.9) 0%, rgba(74, 145, 209, 0.9) 45%, rgba(30, 87, 153, 0.9) 50%, rgba(22, 69, 122, 0.9) 100%) !important; /* 统一文字样式:白字 + 阴影 */ color: #ffffff !important; font-family: 'Segoe UI', sans-serif; font-size: 12px; font-weight: bold; text-shadow: 0 1px 2px rgba(0,0,0,0.5); border-bottom: 1px solid rgba(0, 50, 100, 0.4); z-index: 1; } /* Win7 风格窗口按钮 - 修正对齐与颜色 */ .yui-navset::after { content: "— ❐ ✖"; position: absolute; top: 0; right: 8px; height: 30px; line-height: 22px; font-family: 'Webdings', sans-serif !important; font-size: 14px; color: #ffffff; z-index: 10; word-spacing: 12px; padding-left: 7px; text-shadow: 0 1px 2px rgba(0,0,0,0.5); } /* 内容区域 - 像文件浏览器一样的白色主视图 */ .yui-navset .yui-content { background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(163, 192, 232, 0.5); border-top: none; padding: 15px; margin: 0 8px 8px 8px; min-height: 150px; border-radius: 0 0 5px 5px; box-shadow: inset 0 0 10px rgba(255,255,255,1); } /* 标签栏底座 */ .yui-navset .yui-nav { background: transparent; border-bottom: 1px solid rgba(163, 192, 232, 0.8); padding: 0 10px; display: flex; margin-top: 5px; } /* 标签通用样式 */ .yui-navset .yui-nav a { display: block; padding: 6px 16px; font-size: 12px; color: #2a64a0; text-decoration: none; /* 未选中标签:带有微弱反光的浅色渐变 */ background: linear-gradient(to bottom, rgba(255,255,255,0.8) 0%, rgba(230,240,250,0.7) 100%); border: 1px solid rgba(163, 192, 232, 0.8); border-bottom: none; border-top-left-radius: 4px; border-top-right-radius: 4px; margin-right: 3px; position: relative; top: 1px; transition: all 0.2s ease; } /* 悬停状态:发光效果 */ .yui-navset .yui-nav a:hover { background: linear-gradient(to bottom, #ffffff 0%, #eef7ff 100%); box-shadow: 0 0 10px rgba(102, 175, 233, 0.3); color: #000; } /* 选中标签:高亮融合 */ .yui-navset .yui-nav .selected a { background: #ffffff !important; color: #000 !important; border-color: rgba(163, 192, 232, 1) !important; border-bottom: 2px solid #ffffff !important; top: 1px; font-weight: bold; z-index: 5; margin-top: -2px; padding-top: 8px; } /* --用户信息↓-- */ div.owindow { color: #CAD1D1; background: #161615D0; border: solid 2px transparent; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); } .owindow .title { background-color: #161615E0; } .owindow .title.modal-header { color: #CAD1D1; background: #161615E0; border-bottom: solid 1px transparent; } div.owindow>div.content>img { background: transparent !important; } div.owindow>div.content>h1 { color: #DFDFDF; } .owindow .button-bar a { color: #161615; background: #CAD1D1; transition: .3s; } .owindow .button-bar a:hover { background: #CAD1D1D0; } /* --用户信息↑-- */ /* --其他样式↓-- */ div.blockquote { color: #003366; background: rgba(255, 255, 255); border: 1px solid rgba(77, 161, 218,); border-radius: 8px; box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8); font-weight: 400; padding: 10px; } /* 目录:玻璃质感与蓝色边框 */ div#toc { color: #0f75b9; background: rgba(255, 255, 255,); border: 1px solid #4da1da; border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); font-weight: 400; backdrop-filter: blur(5px); } div#toc a { color: #0f75b9; } div#toc a:hover { color: #128ddf; text-decoration: underline; } /* 悬停提示:极致毛玻璃与高光边框 */ .hovertip { width: 20em; color: #003366; background: rgba(255, 255, 255, 0.7) !important; border: 1px solid rgba(255, 255, 255, 0.8) !important; border-radius: 12px; font-weight: 400; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.4); animation: hoverfade .5s ease-in-out both; padding: .5em; z-index: 100; } @keyframes hoverfade { 0% { opacity: 0; transform: translateY(5px); } 100% { opacity: 1; transform: translateY(0); } } .hovertip .f-heading { color: #0f75b9; border-bottom: 1px solid #4da1da; margin-bottom: 5px; } /* 标准引用块:浅蓝色虚线 */ blockquote { border: 1.5px dashed #4da1da; background-color: rgba(230, 243, 255, 0.3); border-radius: 5px; } /* 页脚:深蓝色渐变拟物感 */ #footer { color: #ffffff; background: linear-gradient(to bottom, #128ddf 0%, #0f75b9 100%); border-top: 3px solid #9ad1fc; padding: 15px 3px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); } /* 许可协议区域:淡蓝色半透明 */ #license-area { color: #003366; background: rgba(255, 255, 255, 0.5); border-top: solid 2px #4da1da; } /* 遮罩层:降低对比度 */ .odialog-shader { background-color: #000; opacity: .4 !important; } /* 滚动条定制:符合 Aero 风格的淡蓝色圆角 */ ::-webkit-scrollbar { width: 10px; background: rgba(255, 255, 255, 0.1); } ::-webkit-scrollbar-thumb { background: linear-gradient(to right, #9ad1fc, #128ddf); border-radius: 10px; border: 2px solid rgba(255,255,255,0.5); } /* 选中颜色:改为经典的 Vista 亮蓝色 */ ::-moz-selection { color: #FFF; background-color: #128ddf; } ::selection { color: #FFF; background-color: #128ddf; } /* 输入框聚焦:发光蓝色 */ input:focus, textarea:focus { outline: none !important; border: 1px solid #9ad1fc !important; box-shadow: 0 0 8px #128ddf !important; } /* 锁定信息:蓝色文字 */ #lock-info { color: #0f75b9; background-color: rgba(255, 255, 255, 0.5); border: solid 1px #4da1da; border-radius: 5px; } /* 比较差异:红绿改为更明亮的半透明色 */ .inline-diff del { background-color: rgba(255, 120, 120, 0.4); text-decoration: line-through; } .inline-diff ins { background-color: rgba(120, 255, 120, 0.4); } .inline-diff ins::before { color: #DDF8; } .inline-diff ins:first-of-type::before, .inline-diff del:first-of-type::before, .inline-diff br + ins::before, .inline-diff br + del::before { left: 1.4em; } @media (max-width: 766px) { .inline-diff ins:first-of-type::before, .inline-diff del:first-of-type::before, .inline-diff br + ins::before, .inline-diff br + del::before { left: .5em; } } /* --其他样式↑-- */ /* --Mercuresphere的防saving page模块↓-- */ body[class="wait"] #odialog-shader-iframe, body[class="wait"] #odialog-shader { display: none !important; } #odialog-container { position: fixed !important; } body[class="wait"] #odialog-container { z-index: -1; } body[class="wait"] #odialog-container #owindow-1 { display: none !important; } body[class="wait"] a[name="page-top"][target]+div #main-content #action-area div#lock-info { background-color: rgb(var(--dark-accent)); border: 1px solid rgb(var(--bright-accent)); } div#lock-info { font-size: 0 !important; margin: .8rem 0 .8rem 1rem !important; padding: 0.4rem .8rem !important; } div#lock-info::before { content: '您握有一个独占的15 分钟锁定,这将会阻止其他人编辑您正在作业的页面。\A这个锁定将在闲置 '; display: inline; font-size: .82rem; white-space: pre-wrap; } div#lock-info>strong { font-size: .82rem; } div#lock-info>br { display: none; } div#lock-info::after { content: ' 秒后失效。'; display: inline; font-size: .82rem; } body[class="wait"] a[name="page-top"][target]+div #main-content #action-area div#lock-info::before { content: '保存页面中……\A若此提示已经显示了很长时间,建议将编辑框中的内容复制到剪切板然后刷新本页重新编辑。'; display: inline; font-size: .82rem; color: rgb(var(--bright-accent)); white-space: pre-wrap; } body[class="wait"] a[name="page-top"][target]+div #main-content #action-area div#lock-info::after { font-size: 0; } body[class="wait"] a[name="page-top"][target]+div #main-content #action-area div#lock-info>strong { font-size: 0; } body[class="wait"] a[name="page-top"][target]+div #main-content #action-area div#lock-info::after { font-size: 0; } /* --防saving page模块↑-- */ /* --- 基础窗口容器 (保持通用) --- */ .aero-window { position: relative; margin: 40px 10px 20px 10px; padding: 15px; background: rgba(255, 255, 255, 0.5); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 0 0 8px 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); backdrop-filter: blur(10px); color: #333; min-height: 50px; z-index: 1; } /* 默认标题栏 (蓝色) */ .aero-window::before { content: ""; position: absolute; top: -30px; left: -1px; right: -1px; height: 30px; line-height: 30px; padding-left: 12px; font-family: "Segoe UI", Tahoma, sans-serif; font-size: 13px; font-weight: bold; color: white; text-shadow: 0 1px 2px rgba(0,0,0,0.6); background: linear-gradient(to bottom, #7ab9e8 0%, #4a91d1 45%, #1e5799 50%, #16457a 100%); border: 1px solid rgba(0, 40, 80, 0.6); border-radius: 8px 8px 0 0; } /* 默认控制图标 (Webdings) */ .aero-window::after { content: "— ❐ ✖"; font-family: 'Webdings' !important; position: absolute; top: -26px; right: 8px; color: white; font-size: 14px; word-spacing: 10px; z-index: 10; padding-left: 7px; /* 统一你之前的 7px 偏移量 */ } /* --- 预设配色扩展 --- */ /* 1. 生态绿 (Green Style) */ .green-style::before { background: linear-gradient(to bottom, #b4df5b 0%, #82bf56 50%, #689e4a 100%) !important; border-color: #558022 !important; } /* 2. 极光紫 (Purple Style) */ .purple-style::before { background: linear-gradient(to bottom, #cb60b3 0%, #c146a1 50%, #a80077 51%, #db36a4 100%) !important; border-color: #660044 !important; } /* 3. 曜石黑 (Black Style) */ .black-style::before { background: linear-gradient(to bottom, #444 0%, #222 45%, #000 50%, #111 100%) !important; border-color: #000 !important; } /* 4. 能源橙 (Orange Style) */ .orange-style::before { background: linear-gradient(to bottom, #ffb347 0%, #ff8c00 45%, #e67e22 50%, #d35400 100%) !important; border-color: #a04000 !important; } /* 5. 警示红 (Red Style) */ .red-style::before { background: linear-gradient(to bottom, #f85032 0%, #f16f5c 50%, #f6290c 51%, #e73827 100%) !important; border-color: #801010 !important; } /* 6. 地雷粉 (pink Style) */ .pink-style::before { background: linear-gradient(to bottom, #ff99cc 0%, #ff66aa 45%, #cc3377 50%, #991144 100%) !important; border-color: #601030 !important; } /* ============================================================ 统一移动端媒体监测 (max-width: 767px) ============================================================ */ @media (max-width: 767px) { #side-bar { display: block !important; position: fixed !important; top: 0 !important; left: -100vw !important; width: 100vw !important; height: 100vh !important; z-index: 1000 !important; transition: left 0.5s cubic-bezier(0.1, 0.7, 0.1, 1); background: transparent !important; padding: 0 !important; margin: 0 !important; overflow: visible !important; } /* 激活状态滑入 */ #side-bar:target { left: 0 !important; } #side-bar .close-menu a { display: block !important; position: fixed !important; top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important; background: rgba(0, 0, 0, 0.4) !important; z-index: 1001 !important; text-indent: -9999px; cursor: default; } /* 4. 【左侧 Aero 玻璃主体】 */ #side-bar::before { content: "Sidebar" !important; position: absolute !important; top: 0; left: 0; width: 17em; height: 100vh; /* 还原 Aero 蓝白渐变背景与毛玻璃 */ background: rgba(255, 255, 255, 0.85) !important; backdrop-filter: blur(15px) saturate(180%); -webkit-backdrop-filter: blur(15px) saturate(180%); border-right: 1px solid rgba(30, 87, 153, 0.5); box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3); /* 标题栏文字区域:在禁用按钮后,让文字居中更美观 */ padding-top: 32px; box-sizing: border-box; z-index: 1002 !important; } #side-bar .side-block, #side-bar .heading, #side-bar .menu-item, #side-bar .side-block a { position: relative !important; z-index: 1003 !important; max-width: 16em; } /* 6. 移动端细节微调 */ #side-bar .side-block { margin: 15px 5px 15px 10px !important; } /* 如果侧边栏标题栏需要单独的 Aero 颜色块(模拟 PC 端的标题栏感) */ #side-bar .heading { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4) !important; border-bottom: 1px solid rgba(0, 50, 100, 0.3) !important; } /* --- 新增:导航栏紧凑化调整 --- */ #top-bar li a { margin: 0 !important; text-align: center; } #top-bar a { font-size: 14px !important; } }





