简介
石渠阁版式是一个为中华异学会维基网站相关设定制作的Sigma+版式。
版式默认引入了EstrellaYoshte制作的切换侧边栏组件和
OxygenNine制作的编辑面版按钮重置组件。
在本站中,需先引入Wine版式以避免与默认的网站版式冲突,开头添加如下语法以应用此版式:
[[include :cas-wiki-cn:theme:wine]]
[[include :cas-wiki-cn:theme:shiquege]]
在其他以Sigma-9为主版式的维基中,开头添加如下语法以应用此版式:
[[include :cas-wiki-cn:theme:shiquege]]
版式自定义
可以通过修改版式的root来对它进行一些自定义,将以下代码添加至引用代码的后方,并自行根据需求修改即可:
[[module CSS]]
:root{
--sqg-header-title:"石渠阁";
--sqg-header-subtitle:"五经诸儒杂论同异";--sqg-bk-l: url(https://free.picui.cn/free/2026/04/08/69d607bec2a90.png);
--sqg-bk-r: url(https://free.picui.cn/free/2026/04/08/69d607bee3785.png);
--sqg-bk-s: url(https://free.picui.cn/free/2026/04/08/69d607be170e1.png);
--sqg-logo: url(https://cdn.mer.run/i/2026/02/22/699b0d4f43dbe.png);/* 素白 */
--sqg-acc-b: 245, 245, 245;
/* 浅墨色 */
--sqg-pgry: 180, 180, 180;
/* 淡墨色 */
--sqg-acc-m: 160, 160, 160;
/* 深墨色 */
--sqg-gry: 40, 40, 40;
/* 焦墨色 */
--sqg-dgry: 15, 15, 15;
}
[[/module]]
基础元素示例
新异会标志
可通过五个连字符“-----”创建水平分割线。若它未被放在其他部件(诸如引用块)中,则会左右延伸贯穿页面。这种将文件分割为多个部分的线就是分割线。
标题可通过在一行字起始处输入 1 至 6 个加号“+”来创建。
此为分页(tab view)。
看,这有更多文字。
多么精巧绝伦。
这是一个长的 tab,它有很多文字。1
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个引用块,在一行字的起始处加上“> ”来创建。
更多文字
一条分割线
嵌套引用块
| 这是 | 表格 |
|---|---|
| 你应该老早 | 就知道怎么 |
| 做这个了吧 | |
自定义元素
分割线
如果将“-----”放入类名(class)为“sqg-hr”的 DIV盒子中,则可以显示另一种水平线样式,代码如下:
[[div class="sqg-hr"]]
-----
[[/div]]
效果如下:
特殊边框
任何元素使用“sqg-border”类名(class),即可显示特殊边框。例如,这是此方块的代码:
[[div class="sqg-border"]]
这个边框不是很酷。
[[/div]]
效果如下:
这个边框不是很酷。
仿八角窗卡片
版式内置了一种可以简单交互的卡片,可以通过以下代码添加它:
[[div class="sqg-flip-card"]]
[[div class="sqg-flip-card-inner"]]
[[div class="sqg-flip-card-front"]]
[[span class="title"]]正面[[/span]]
有点酷
[[/div]]
[[div class="sqg-flip-card-back"]]
[[span class="title"]]背面[[/span]]
哇!居然有背面
[[/div]]
[[/div]]
[[/div]]
效果如下:
正面
有点酷
背面
哇!居然有背面
横跨标题
如果将标题样式放入类名(class)为“sqg-title”的 DIV盒子中,则可以显示一种横跨页面的标题样式,代码如下所示:
[[div class="sqg-title"]]
++++ 横跨标题
[[/div]]
效果如下:
横跨标题
若不添加标题样式,直接使用默认文字,则会显示默认的正文字体思源宋体的版本,但是其文字大小是固定的。代码如下所示:
[[div class="sqg-title"]]
思源宋体
[[/div]]
效果如下:
思源宋体
仅PC端/仅移动端
任何元素使用“onlypc”或“onlymoblie”类名(class),即可以做到在PC端和移动端显示不同的内容,或者对一端隐去内容。
例如,以下的例子是仅在PC端显示的代码:
[[div class="onlypc"]]
= 这段文字仅在PC端显示
[[/div]]
效果如下(如果您正在使用移动端,它是不显示的):
这段文字仅在PC端显示
以下的例子则是仅在移动端显示的代码:
[[div class="onlymoblie"]]
= 这段文字仅在移动端显示
[[/div]]
效果如下(如果您正在使用PC端,它是不显示的):
这段文字仅在移动端显示
标题字体为 程荣光刻楷(Chengrongguangke);
正文字体为 思源宋体(Source Han Serif)
引用块字体为 屏顯臻宋(Clear Han Serif)
@import url("https://scp-wiki.wikidot.com/component:theme/code/1"); @import url("https://scp-wiki.wikidot.com/component:sigma-plus/code/1"); @import url('https://scp-wiki-cn.wikidot.com/component:editor-icons/code/1'); @import url('https://scp-wiki-cn.wikidot.com/component:toggle-sidebar/code/1'); /* chengrongguangke */ @import url("https://cn-font.claude-code-best.win/packages/crgkk/dist/程荣光刻楷/result.css"); /* Noto Serif SC */ @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@200..900&display=swap'); /* Source Han Serif CN for Display */ @import url("https://chinese-fonts-cdn.deno.dev/packages/sypxzs/dist/思源屏显臻宋/result.css"); /* ===SQG Root=== */ :root{ --sqg-header-title:"石渠阁"; --sqg-header-subtitle:"五经诸儒杂论同异"; --sqg-bk-l: url(https://free.picui.cn/free/2026/04/08/69d607bec2a90.png); --sqg-bk-r: url(https://free.picui.cn/free/2026/04/08/69d607bee3785.png); --sqg-bk-s: url(https://free.picui.cn/free/2026/04/08/69d607be170e1.png); --sqg-logo: url(https://cdn.mer.run/i/2026/02/22/699b0d4f43dbe.png); --sqg-tb-h: 1.88rem; --sqg-ft: "Noto Serif SC", serif; --sqg-ft-b: "Source Han Serif CN for Display", serif; /* 素白 */ --sqg-acc-b: 245, 245, 245; /* 浅墨色 */ --sqg-pgry: 180, 180, 180; /* 淡墨色 */ --sqg-acc-m: 160, 160, 160; /* 深墨色 */ --sqg-gry: 40, 40, 40; /* 焦墨色 */ --sqg-dgry: 15, 15, 15; } /* ===Sigma Plus Root=== */ :root{ --header-title: var(--sqg-header-title); --header-subtitle: var(--sqg-header-subtitle); --sp_header-title-size: min(calc(2.675rem * var(--sp_header-title-scale)), calc(1.25rem * var(--sp_header-title-scale) + 2.5vw)); --sp_header-subtitle-size: min(calc(.875rem * var(--sp_header-subtitle-scale)), calc(0.475rem * var(--sp_header-subtitle-scale) + 1.25vw)); --sp_header-title-scale: 1.4; --sp_header-subtitle-scale: 1.3; --sp_header-logo: var(--sqg-logo); --sp_header-logo-size: 6.25rem; --sp_header-logo-adaptive-size: min(var(--sp_header-logo-size), calc(var(--sp_header-logo-size)*0.575 + 5vw)); --sp_header-height: 9.625rem; --sp_side-bar-width: 15.4rem; --sp_rate-module-text-color: rgb(var(--sqg-acc-b)); --sp_rate-module-background: rgb(var(--sqg-gry)); --sp_rate-module-sub-color: rgb(var(--sqg-acc-m)); --sp_rate-module-active-color: var(--sp_rate-module-text-color); --sp_rate-module-button-color: var(--sp_rate-module-background); --sp_rate-module-button-background: #FCFCFC; --sp_rate-module-button-hover-color: var(--sp_rate-module-active-color); --sp_rate-module-button-hover-background: var(--sp_rate-module-background); --sp_tab-text-color: rgb(var(--sqg-gry)); --sp_tab-background: rgb(var(--sqg-acc-b)); --sp_tab-border-color: rgb(var(--sqg-pgry)); --sp_tab-hover-text-color: rgb(var(--sqg-acc-b)); --sp_tab-hover-background: rgb(var(--sqg-gry)); --sp_tab-hover-border-color: rgb(var(--sqg-gry)); --sp_tab-selected-text-color: rgb(var(--sqg-acc-b)); --sp_tab-selected-background: rgb(var(--sqg-dgry)); --sp_tab-selected-border-color: rgb(var(--sqg-dgry)); --sp_area-max-width: 62.5rem; --sp_area-min-margin: 1.25rem; --sp_area-comp-margin: max(calc((100vw - var(--sp_area-max-width))/2), var(--sp_area-min-margin)); --sp_final-header-height: calc(var(--sp_header-height) + var(--sp_top-bar-height)); } /* === 页眉图案 === */ div#header { background-image: var(--sqg-bk-l), var(--sqg-bk-r); background-repeat: no-repeat; background-size: contain, contain; background-position: left, right !important; grid-template-rows: auto 1fr auto auto 2fr auto; } @media (max-width: 767px) { div#header { background-size: cover, cover !important; } } div#container { background-image: linear-gradient(180deg, #ffffff7a, transparent), var(--sqg-bk-s); background-repeat: repeat-x; background-size: 20rem, 20rem; background-position: center 10rem; } /* === 页眉徽章与文字 === */ #header::before { content: ""; display: block; background: var(--sp_header-logo) no-repeat center; background-size: contain; grid-row: 1/6; grid-column: 1 / -1; justify-self: center; width: var(--sp_header-logo-adaptive-size); z-index: 0; opacity: 0.3; transform: scale(1.2); } #header h1 { grid-area: h1; } #header h2 { grid-area: h2; } #search-top-box { grid-area: search; } #header h1, #header h2 { margin-left: initial; padding: 0; padding-inline-start: 0; float: none; max-height: initial; font-size: 1.2rem; width: 100%; text-align: center; position: relative; z-index: 1; } #header h1 a, #header h2 span { margin: 0; padding: 0; line-height: 1.125; max-height: initial; max-width: max-content; display: inline-block; font-size: 0rem; letter-spacing: 0; text-shadow: 0 0 5px rgba(245, 245, 245, 0.8); } #header h1 a::before { content: var(--header-title); font-size: var(--sp_header-title-size); letter-spacing: 0.5vw; font-family:'chengrongguangke'; color: transparent; color: rgb(var(--sqg-gry)); } #header h2 span::before { content: var(--header-subtitle); font-size: var(--sp_header-subtitle-size); letter-spacing: 0.1vw; color: rgb(var(--sqg-gry)); font-family: var(--sqg-ft); } /* === 页眉结束 === */ /* === 登录信息栏=== */ #login-status { top: initial; right: initial; position: relative; z-index: 15; grid-area: login; text-align: end; padding-block-start: 0.5rem; font-family: var(--sqg-ft); color: rgb(var(--sqg-gry)); } #login-status a { color: rgb(var(--sqg-gry)); text-decoration: none; transition: color 0.3s ease; } #login-status a:hover { color: rgb(var(--sqg-dgry)); } #account-options { right: initial; inset-inline-end: 0; inset-block-start: 100%; display: block !important; background: rgb(var(--sqg-dgry)); border: 1px solid rgb(var(--sqg-gry)); padding: 0.5rem 0; box-sizing: border-box; z-index: 20; opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); } #account-topbutton:focus + #account-options, #account-options:is(:hover, :focus-within) { opacity: 1; pointer-events: auto; transform: translateY(0); } #account-options ul li a { display: block; padding: 0.4em 1.5em; line-height: 1.5; color: rgb(var(--sqg-acc-m)) !important; background: transparent; text-align: start; transition: color 0.2s ease, background-color 0.2s ease, padding-left 0.2s ease; } #account-options ul li a:is(:hover, :focus) { color: rgb(var(--sqg-acc-b)) !important; background: rgb(var(--sqg-gry)); padding-left: 2em; text-decoration: none; } #account-options ul { list-style: none; margin: 0; padding: 0; } /* === 顶栏 === */ #top-bar { grid-area: top-bar; position: relative; z-index: 10; top: initial; right: initial; max-width: unset; line-height: unset; height: 100%; font-size: 0.92rem; font-family: var(--sqg-ft); padding-inline: 1rem; box-sizing: border-box; min-height: var(--sqg-tb-h); background-image: linear-gradient(45deg, rgb(var(--sqg-acc-m)) 0%, rgb(var(--sqg-gry)) 60%, rgb(var(--sqg-dgry)) 100% ); } @media (max-width: 767px) { #top-bar { font-size: 0.7rem; } } #top-bar > div[class*="top-bar"] { max-width: 100%; height: 100%; margin: auto; position: static; left: initial; bottom: initial; z-index: initial; } #top-bar ul, #top-bar li { float: none; } #top-bar div[class*="top-bar"] > ul { height: 100%; display: flex; justify-content: center; gap: 0.5rem; } #top-bar :is(.top-bar, .mobile-top-bar) > ul > li > a { display: flex; justify-content: center; align-items: center; text-align: center; height: 100%; max-height: unset; border: none; line-height: 1.275; color: rgb(var(--sqg-acc-b)); padding: 0 1rem; box-sizing: border-box; transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out; } #top-bar :is(.top-bar, .mobile-top-bar) > ul > li:is(.sfhover, :hover, :focus-within) > a { color: rgb(var(--sqg-dgry)); background: rgb(var(--sqg-acc-b)); } #top-bar :is(.top-bar, .mobile-top-bar) ul li ul { position: absolute; left: initial; min-width: max(100%, 140px); width: max-content; background: rgb(var(--sqg-dgry)); border: 1px solid rgb(var(--sqg-gry)); box-sizing: border-box; z-index: 3; visibility: visible; pointer-events: none; opacity: 0; transform: translateY(-10px); transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); } #top-bar :is(.top-bar, .mobile-top-bar) > ul > li:where(:not(:last-child)) > ul { inset-inline-start: 0; } #top-bar :is(.top-bar, .mobile-top-bar) > ul > li:where(:last-child) > ul { right: initial; inset-inline-end: 0; } #top-bar :is(.top-bar, .mobile-top-bar) ul li:is(.sfhover, :hover, :focus-within) ul { pointer-events: auto; opacity: 1; transform: translateY(0); } #top-bar :is(.top-bar, .mobile-top-bar) ul li ul li a { min-width: max-content; width: 100%; box-sizing: border-box; line-height: 1.5; overflow: initial; max-height: initial; padding: 0.5em 1em; border-top: 1px solid rgb(var(--sqg-gry)); color: rgb(var(--sqg-acc-m)); background: transparent; text-align: start; transition: color 0.2s ease, background-color 0.2s ease, padding-left 0.2s ease; } #top-bar :is(.top-bar, .mobile-top-bar) ul li ul li a:is(:hover,:focus) { color: rgb(var(--sqg-acc-b)); background: rgb(var(--sqg-gry)); padding-left: 1.3em; } #top-bar .open-menu, #top-bar .open-menu > p { display: contents; } #top-bar .open-menu a { z-index: 9; } #top-bar .open-menu a { border-radius: 0px; border: none; background: rgb(var(--accent)); color: white; } /* Sigma吸附顶栏,参考自Mercuresphere 制作的尘封 Sigma-9 版式 */ #header { position: -webkit-sticky; position: sticky; top: calc(var(--sqg-tb-h) - var(--sp_final-header-height)); z-index: 10; } /* ===顶栏结束=== */ /* ===搜索=== */ /* 样式使用自OxygenNine的 泼墨 主题版式 */ #header #search-top-box-form input[type=submit]:hover { background-color: transparent; border: none; box-shadow: none; background-image: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktc2VhcmNoIiB2aWV3Qm94PSIwIDAgMTYgMTYiPgogIDxwYXRoIGQ9Ik0xMS43NDIgMTAuMzQ0YTYuNSA2LjUgMCAxIDAtMS4zOTcgMS4zOThoLS4wMDFjLjAzLjA0LjA2Mi4wNzguMDk4LjExNWwzLjg1IDMuODVhMSAxIDAgMCAwIDEuNDE1LTEuNDE0bC0zLjg1LTMuODVhMS4wMDcgMS4wMDcgMCAwIDAtLjExNS0uMXpNMTIgNi41YTUuNSA1LjUgMCAxIDEtMTEgMCA1LjUgNS41IDAgMCAxIDExIDB6Ii8+Cjwvc3ZnPg==); background-size: contain; background-repeat: no-repeat; filter: drop-shadow(0px 0px 5px black); clip-path: none; } #header #search-top-box-form input[type=submit] { background-image: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktc2VhcmNoIiB2aWV3Qm94PSIwIDAgMTYgMTYiPgogIDxwYXRoIGQ9Ik0xMS43NDIgMTAuMzQ0YTYuNSA2LjUgMCAxIDAtMS4zOTcgMS4zOThoLS4wMDFjLjAzLjA0LjA2Mi4wNzguMDk4LjExNWwzLjg1IDMuODVhMSAxIDAgMCAwIDEuNDE1LTEuNDE0bC0zLjg1LTMuODVhMS4wMDcgMS4wMDcgMCAwIDAtLjExNS0uMXpNMTIgNi41YTUuNSA1LjUgMCAxIDEtMTEgMCA1LjUgNS41IDAgMCAxIDExIDB6Ii8+Cjwvc3ZnPg==); background-color: transparent; font-size: 0; padding: 0.7rem 0.7rem; background-size: contain; background-repeat: no-repeat; border: none; box-shadow: none; filter: drop-shadow(0px 0px 0px black); transition: filter 0.25s ease; } #header #search-top-box-input { display: none; } /* ===搜索结束=== */ /* ===侧边栏=== */ #side-bar { background: rgb(var(--sqg-acc-b)); font-family: var(--sqg-ft); } #side-bar .side-block, #side-bar .side-block.resources, #side-bar .side-block.media, #interwiki .side-block { border: 1px solid rgb(var(--sqg-pgry)); border-radius: 0px; box-shadow: none; margin-bottom: 6px; direction: ltr; background: rgb(var(--sqg-acc-b)); padding: 0.25rem 0.5rem; } #side-bar .side-block.resources { text-align: center; } #side-bar .heading { color: rgb(var(--sqg-gry)); border-bottom: solid 1px rgb(var(--sqg-gry)); font-size: 1.1rem; font-family: 'chengrongguangke', var(--sqg-ft); margin-top: 0; padding-bottom: 0; } #side-bar .collapsible-block-unfolded-link .collapsible-block-link { color: rgb(var(--sqg-gry)); font-size: 1rem; font-family: var(--sqg-ft); } #side-bar .side-block ul li { background-image: none !important; padding-left: 0 !important; margin: 0 !important; list-style: none !important; } #side-bar .side-block ul { padding-left: 0 !important; } #side-bar .side-block a { display: inline-block; color: rgb(var(--sqg-gry)); text-decoration: none; padding: 0.1rem 0.3rem; margin: 0.1rem 0; box-sizing: border-box; transition: color 0.3s ease, background-color 0.3s ease; } #side-bar .side-block a:is(:hover, :focus) { color: rgb(var(--sqg-acc-b)); background-color: rgb(var(--sqg-gry)); text-decoration: none; } #side-bar .collapsible-block-link { display: inline; padding: 0 !important; background: transparent !important; transition: none !important; } #side-bar .collapsible-block-link:hover { color: rgb(var(--sqg-dgry)) !important; background-color: transparent !important; padding: 0 !important; } #side-bar .collapsible-block-folded, #side-bar .collapsible-block-unfolded { background-image: none !important; padding-left: 0 !important; } #side-bar div.menu-item img { display: none; } @media (min-width: 768px) { #side-bar { width: 17rem; } } /* 折叠菜单按钮 */ #top-bar .open-menu a { position: fixed; top: 1rem; left: 1rem; z-index: 50; width: 32px; height: 32px; border-radius: 0; transform: rotate(45deg); background-color: rgb(var(--sqg-acc-b)); border: 1px solid rgb(var(--sqg-gry)); color: transparent !important; display: flex; justify-content: center; align-items: center; pointer-events: auto; text-decoration: none; transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); } #top-bar .open-menu a::before { content: "≡"; position: absolute; transform: rotate(-45deg); font-family: var(--sqg-ft); font-size: 24px; line-height: 1; font-weight: normal; color: rgb(var(--sqg-gry)); transition: color 0.3s ease; } #top-bar .open-menu a:is(:hover, :focus, :active) { background-color: rgb(var(--sqg-dgry)); border-color: rgb(var(--sqg-dgry)); transform: rotate(45deg) scale(1.15); } #top-bar .open-menu a:is(:hover, :focus, :active)::before { color: rgb(var(--sqg-acc-b)); } /* ===侧边栏结束=== */ /* ===Yui Tabber 分页 === */ .yui-navset .yui-nav a, .yui-navset .yui-navset-top .yui-nav a { background-color: inherit; background-image: inherit; } .yui-navset .yui-nav a:hover, .yui-navset .yui-nav a:focus { background: inherit; text-decoration: inherit; } .yui-navset .yui-nav .selected a, .yui-navset .yui-nav .selected a:focus, .yui-navset .yui-nav .selected a:hover { color: inherit; background: inherit; } .yui-navset .yui-nav, .yui-navset .yui-navset-top .yui-nav { border-color: inherit; } .yui-navset li { line-height: inherit; } .yui-navset .yui-nav, .yui-navset .yui-navset-top .yui-nav { display: flex; flex-wrap: wrap; width: 100%; margin: 0 auto; font-family: var(--sqg-ft); border-bottom: 2px solid rgb(var(--sqg-dgry)); box-shadow: none; } .yui-navset .yui-nav li, .yui-navset .yui-navset-top .yui-nav li { position: relative; display: flex; flex-grow: 1; max-width: 100%; margin: 0; padding: 0; background-color: transparent; border-color: transparent; box-shadow: 0 0 0 1px rgb(var(--sqg-pgry)); } .yui-navset .yui-nav li a, .yui-navset-top .yui-nav li a, .yui-navset-bottom .yui-nav li a { display: flex; align-items: center; justify-content: center; width: 100%; } .yui-navset .yui-nav li em { border: unset; } .yui-navset .yui-nav a em, .yui-navset .yui-navset-top .yui-nav a em { padding: 0.5em 1em; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } .yui-navset .yui-nav a, .yui-navset .yui-navset-top .yui-nav a { color: rgb(var(--sqg-gry)); background-color: rgb(var(--sqg-acc-b)); background-image: none; border: unset; transition: background-color 0.3s ease, color 0.3s ease; } .yui-navset .yui-nav a:hover, .yui-navset .yui-nav a:focus { color: rgb(var(--sqg-acc-b)); background-color: rgb(var(--sqg-gry)); } .yui-navset .yui-nav .selected, .yui-navset .yui-navset-top .yui-nav .selected { flex-grow: 1; padding: 0; background-color: rgb(var(--sqg-dgry)); position: relative; z-index: 1; margin: 0 0 -2px 0; padding-bottom: 2px; box-shadow: none; } .yui-navset .yui-nav .selected a, .yui-navset .yui-nav .selected a em { border: none; } .yui-navset .yui-nav .selected a { width: 100%; color: rgb(var(--sqg-acc-b)) !important; background-color: rgb(var(--sqg-dgry)); background-image: none; } .yui-navset .yui-nav .selected a:hover { cursor: default; } .yui-navset-left .yui-content { background-color: rgb(var(--sqg-acc-b)); } .yui-navset .yui-content, .yui-navset .yui-navset-top .yui-content { padding: 1em; background-color: rgb(var(--sqg-acc-b)); border: 1px solid rgb(var(--sqg-pgry)); border-top: none; font-family: var(--sqg-ft); } /* ===分页结束 === */ /* ===基本页面内容=== */ body, #main-content, #page-content { font-family: var(--sqg-ft); color: rgb(var(--sqg-gry)); } div#page-title, .meta-title { color: rgb(var(--sqg-gry)); font-family: 'chengrongguangke', var(--sqg-ft); font-weight: bold; font-size: 2.2rem; border-bottom: solid 1.5px rgb(var(--sqg-pgry)); text-align: center; } h1, h2, h3, h4, h5, h6 { color: rgb(var(--sqg-gry)); font-family: 'chengrongguangke', var(--sqg-ft); font-weight: bold; } .blockquote, div.blockquote, .footer, .page-tags { font-family: var(--sqg-ft-b); } blockquote, div.blockquote { background: rgb(var( --sqg-acc-b)); border: none; border-left: solid 0.2rem rgb(var( --sqg-dgry)); padding: 0.2rem 1rem; } /* SCP Sigma-9默认图片框 */ .scp-image-block { border: none; border-radius: 0rem 0rem 1.2rem 1.2rem; box-shadow: 0 1px 6px rgba(0,0,0,.25); width: 300px; max-width: 100%; box-sizing: border-box; } .scp-image-block.block-right { float: right; clear: right; margin: 0.5em 0 1em 1.5em; } .scp-image-block.block-left { float: left; clear: left; margin: 0.5em 1.5em 1em 0; } .scp-image-block.block-center { margin-right: auto; margin-left: auto; } .scp-image-block img { border: 0; width: 100%; max-width: 100%; display: block; } .scp-image-block .scp-image-caption { background-image: linear-gradient(135deg, rgb(var(--sqg-acc-m)) 0%, rgb(var(--sqg-gry)) 60%, rgb(var(--sqg-dgry)) 100% ); background-color: rgb(var(--sqg-gry)); border-top: 1px solid rgb(var(--sqg-gry)); padding: 0.5em 0; font-family: var(--sqg-ft); font-size: 0.95rem; font-weight: normal; color: rgb(var(--sqg-acc-b)); text-align: center; width: 100%; box-sizing: border-box; } .scp-image-block > p { margin: 0; } .scp-image-block .scp-image-caption > p { margin: 0; padding: 0 10px; } .code { background: rgb(var(--sqg-dgry)); border: none; } .hl-main, .code p { filter: invert(1) hue-rotate(180deg); } /* ===基本页面内容结束=== */ /* ===底栏=== */ div#footer { padding: 0.4rem; line-height: 100%; color: rgb(var(--sqg-acc-b)); background-image: linear-gradient(45deg, rgb(var(--sqg-acc-m)) 0%, rgb(var(--sqg-gry)) 60%, rgb(var(--sqg-dgry)) 100% ); } div#license-area { color: rgb(var(--sqg-gry)); background-image: var(--sqg-bk-l), var(--sqg-bk-r); background-repeat: no-repeat; background-size: auto 9rem, auto 9rem; background-position: left bottom, right bottom !important; min-height: 3rem; padding: 1rem 1rem; text-align: center; } @media (max-width: 767px) { div#license-area { background-size: auto 0rem, cover !important; } } /* ===底栏结束=== */ /* ===自定义元素=== */ .sqg-hr hr { border: none; height: 48px; margin: 1rem 0; background: rgba(0,0,0,0); background-image: url(http://site-eq-02.wikidot.com/local--files/theme:talktest/SQGhr.png); background-repeat: repeat-x; background-position: center; background-size: auto 100%; } .sqg-border { box-sizing: border-box; border: 120px solid rgba(0,0,0,0); border-image: url(http://site-eq-02.wikidot.com/local--files/theme:talktest/SQGBorder.png) 600 round; border-image-width: 1; padding: 0.1rem; width: 100%; overflow: hidden; } @media (max-width: 767px) { .onlypc { display: none !important; } } @media (min-width: 767px) { .onlymoblie { display: none !important; } } /* 翻转卡片 */ .sqg-flip-card { background-color: transparent; width: 190px; height: 254px; perspective: 1000px; font-family: var(--sqg-ft); display: inline-block; margin: 0.5rem 1rem 1.5rem 0; vertical-align: top; } .sqg-flip-card .title { font-size: 1.5em; font-weight: normal; text-align: center; margin: 0; padding: 0.5rem 1rem; } .sqg-flip-card-inner { position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); transform-style: preserve-3d; } .sqg-flip-card:is(:hover, :focus-within) .sqg-flip-card-inner { transform: rotateY(180deg); } .sqg-flip-card-front, .sqg-flip-card-back { clip-path: polygon(15% 0%, 85% 0%, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0% 85%, 0% 15%); box-shadow: none; border-radius: 0; position: absolute; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-sizing: border-box; border: none; } .sqg-flip-card-front { background-image: linear-gradient(135deg, rgb(var(--sqg-acc-b)) 0%, rgba(var(--sqg-pgry), 0.4) 100%); color: rgb(var(--sqg-gry)); } .sqg-flip-card-back { background-image: linear-gradient(135deg, rgb(var(--sqg-dgry)) 0%, rgb(var(--sqg-pgry)) 100% ); color: rgb(var(--sqg-acc-b)); transform: rotateY(180deg); } .sqg-title { font-weight: 600; font-size: 1.325em; letter-spacing: -.025em; color: rgb(var(--sqg-gry)); display: flex; gap: .5rem; align-items: center; text-align: center; margin: 0; } sqg-title :is(h1, h2, h3, h4, h5, h6) { font-size: unset; font-weight: unset; margin: 0; } .sqg-title::before, .sqg-title::after { content: ""; flex-grow: 1; height: 0.35rem; background-color: transparent; border-block: solid 0.125rem currentColor; } /* ===自定义元素结束=== */





