My Custom
评分: +0+–x
[[iftags +component]]
[[div style="border: solid 2px #ededed; padding: 0.5rem; margin: 4px;"]]
This is a component to make the mobile sidebar button active on desktop-size screen.
To use, put the following:

> @@[[include :scp-wiki:component:toggle-sidebar]]@@

If used with a theme, it's recommended to put said theme after this {{[[include]]}}.

//(Use [[[component:toggle-sidebar-bhl|this version]]] by [[*user Woedenaz]] if you're using Black Highlighter)//

[[/div]]

----

[[code type="CSS"]]

/* source: http://ah-sandbox.wikidot.com/component:collapsible-sidebar-x1 */

#top-bar .open-menu a {
        position: fixed;
        top: 0.5em;
        left: 0.5em;
        z-index: 5;
        font-family: 'Lucida Sans Unicode','Lucida Grande','Lucida Sans','Times New Roman',Helvetica,Roboto,sans-serif;
        font-size: 30px;
        font-weight: 700;
        width: 30px;
        height: 30px;
        line-height: 0.9em;
        text-align: center;
        border: 0.2em solid #888;
        background-color: #fff;
        border-radius: 3em;
        color: #888;
        pointer-events: auto;
}

@media not all and (max-width: 767px) {

    #top-bar .mobile-top-bar {
        display: block;
        pointer-events: none;
    }

    #top-bar .mobile-top-bar li {
        display: none;
    }

    #main-content {
        max-width: 44.5rem;
        margin: 0 auto;
        padding: 0;
        transition: max-width 0.2s ease-in-out;
    }

    #side-bar {
        display: block;
        position: fixed;
        top: 0;
        left: -18rem;
        width: 15.25rem;
        height: 100%;
        margin: 0;
        overflow-x: hidden;
        overflow-y: auto;
        z-index: 10;
        padding: 1em 1em 0 1em;
        background-color: rgba(0,0,0,0.1);
        transition: left 0.4s ease-in-out;

        scrollbar-width: thin;
    }

    #side-bar:target {
        left: 0;
    }
    #side-bar:focus-within {
        left: 0;
    }

    #side-bar:target .close-menu {
        display: block;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        margin-left: 17rem;
        opacity: 0;
        z-index: -1;
        visibility: visible;
    }
    #side-bar:not(:target) .close-menu { display: none; }

    #top-bar .open-menu a:hover {
        text-decoration: none;
    }
}
fxtrt.png

狐步舞

在任意 Sigma-9 页面中:

[[include :scp-wiki-cn:theme:foxtrot]]

这是什么?

狐步舞是一个美学 Sigma-9 版式,设计以模仿玄武岩即将到来的大型更新的外观与感觉——将现代的平面设计与 Sigma-9 出现前那古怪的早期网页舒适性相混合。

此版式可以被看作是给想在半路就尝鲜玄武岩新外观的人准备的过渡版式。

狐步舞基于大量的前置版式开发,最明显的有空白风格以及半影。本版式配备有亮色与暗色模式的支持;可以无缝切换到另一篇文章。

1 变体


1.1 值守 43

[[include :scp-wiki-cn:theme:foxtrot canada=a]]


canada_light.png
canada_dark.png

1.2 S&C 塑料

[[include :scp-wiki-cn:theme:foxtrot slothspit=a]]


slothspit_light.png
slothspit_dark.png

1.3 120 站档案馆

[[include :scp-wiki-cn:theme:foxtrot poland=a]]


poland_light.png
poland_dark.png

1.4 先锋

[[include :scp-wiki-cn:theme:foxtrot vanguard=a]]


vanguard_light.png
vanguard_dark.png

1.12 暗色模式

若需应用暗色模式,仅需添加 dark=a 修改器。多个修改器以 | 分割,如下所示:

[[include :scp-wiki-cn:theme:foxtrot dark=a|threshold=a]]

2 自定义


2.1 变量

以下为用于控制此版式各方面的 CSS 变量。

3 元素


3.1 Div

由此版式包含或修改的 div 块。

[[div class="blockquote"]]

[[div class="jotting"]]

[[div class="paper"]]

[[div class="notation"]]

3.2 着色

许多元素都可以通过将其包裹在一个类为 tableX 的 div 内而着色。

table1 对应着绿色,
table2 对应着蓝色,
table3 对应着黄色,
table4 对应着橙色
table5 对应着红色
而 table6 对应着紫色。

这一系统设计以与异常分类系统中的颜色组相关联;每一种颜色都表示不同的安保许可等级。

普通表格
这里是文本
这里是文本
这里是文本
带有 table2 类的表格
这里是文本
这里是文本
这里是文本
带有 table5 类的表格
这里是文本
这里是文本
这里是文本

普通引用块

带有 table1 类的引用块

带有 table3 类的引用块

3.3 附加

一点额外提示。

  • 折叠在此版式中被大量修改,可以通过被包裹在类为 default-col 的 div 内将其还原至其原来的外观。

  • 几乎所有元素都可以通过被包裹在类为 round 的 div 内从而变成圆角。

原引用块

圆角引用块

  • 应用 hidetitle=a 设置可以移除页面标题。
  • 应用 wide=a 设置可以扩展页面的宽度——不过这可能会损坏现有的侧边框(sidebox,本版式内置支持此扩展)。
  • 应用 verdana=a 设置可将页面主要内容的字体变更为Verdana。

:root {
—ui-font: "Noto Sans SC", "Microsoft Yahei", sans-serif !important;
—page-font: "Noto Sans SC", SimSun, serif !important;
—head-font: "Noto Sans SC", sans-serif !important;
—mono-font: Consolas, monospace !important;

—bg-body: #edf0f3;
—bg-container: #fdfdfd;
—bg-sidebar: #eef2f6;
—bg-header: #223040;
—bg-nav: #284059;

—text-main: #16202c;
—text-secondary: #405060;
—text-header-title: #ffffff;
—text-header-sub: #b8d0e8;

—link-normal: #1a5090;
—link-hover: #2570c9;
—link-visited: #204070;

—border-light: #c5d0dc;
—border-dark: #8899aa;

—block-warning-bg: #fff0f0;
—block-warning-border: #c84444;
—block-info-bg: #e6f0fa;
—block-info-border: #3377bb;
}


原作者用户 'OULET' 不存在

_default: 搬运 版式
页面版本:1,最后编辑:2026年6月20日 03:08(UTC)
©2019-2026 SCP基金会云国分部