[[iftags]]
[[embed]]
<iframe src="//interwiki.scpwikicn.com/styleFrame.html?priority=0&override=1&type=sidebar&theme=https%3A%2F%2Finterwiki.scpwikicn.com%2Fcss%2Fstyle-bhl.css" style="display: none"></iframe>
[[/embed]]
使用方法
在任何维基网站上:
[[include :scp-wiki-cn:theme:black-highlighter-theme]]
black-highlighter-themes
可选插件
暗色侧边栏
[[include :scp-wiki:component:bhl-dark-sidebar]]
可折叠侧边栏
[[include :scp-wiki:component:collapsible-sidebar]]
切换侧边栏
[[include :scp-wiki:component:toggle-sidebar-bhl]]
居中页眉
[[include :scp-wiki:component:centered-header-bhl]]
这是什么
一个将黑色标记笔版式应用于你的作品的组件。这个组件将应用一个稳定版本的黑色标记笔版式,但更新时有可能会出现故障。报告问题
如果您拥有 Github 帐户,请在这里创建一个 Issue,详细说明您的问题(无论是技术、外观还是其他任何的问题)。如果您没有 Github 帐户,或者您更希望直接与某人讨论,请加入 SkipIRC 上的#black-highlighter 频道,或者向 主题颜色
WikiJump include 未展开: 跨站引用未启用(:scp-wiki:component:theme-squares)
示例
[[image https://bhl.scpwikicn.com/img/logo.svg link=#]]
SCP 基金会 标志
标题可通过在一行字起始处输入 1 至 6 个加号“+”来创建。
+ 标题
1 级标题
2 级标题
3 级标题
4 级标题
5 级标题
6 级标题
此为分页(tab view)。
看,这有更多文字。
多么精巧绝伦。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个引用块,在一行字的起始处加上“> ”来创建。
更多文字
一条分割线
嵌套引用块
| 这是 | 表格 |
|---|---|
| 你应该老早 | 就知道怎么 |
| 做这个了吧 | |
所有字体均基于 SIL 开源字体许可 Ver. 1.1。
[[/iftags]]
[[embed]]<iframe src="//interwiki.scpwikicn.com/styleFrame.html?priority=1&type={$type}&override={$override}&theme=https://cdn.jsdelivr.net/gh/Nu-SCPTheme/Black-Highlighter@gh-pages/css/min/normalize.min.css&css={$css}" style="display: none"></iframe>[[/embed]][[embed]]<iframe src="//interwiki.scpwikicn.com/styleFrame.html?priority=2&type={$type}&override={$override}&theme=https://cdn.jsdelivr.net/gh/Nu-SCPTheme/Black-Highlighter@gh-pages/css/min/black-highlighter.min.css&css={$css}" style="display: none"></iframe>[[/embed]]注意:这是一个基于黑色标记笔的主题版式。若你想使用此版式,你还需要导入黑色标记笔版式。点击这里了解更多。
这是什么?
本版式主要用于基金会日语分部的下属部门“痕迹部门”有关的文档,该部门的详情可参见此文。在你的作品开头添加如下语法以应用此版式:[[include :scp-wiki-cn:theme:black-highlighter-theme]]
[[include :scp-wiki-cn:theme:department-of-traces]]

痕迹部门
范例
在每行的行首添加1~6个“+”号以创建标题。+ 标题
1 号标题
2 号标题
3 号标题
4 号标题
5 号标题
6 号标题
我从来没见过这么多标题堆在一起。真是震撼人心。
这是一个分页。
看,这有更多文字。
多么精巧绝伦。
这是一个长分页。它可以包含很多文本。
这是一个长分页。它可以包含很多文本。
这是一个长分页。它可以包含很多文本。
这是一个长分页。它可以包含很多文本。
这是一个长分页。它可以包含很多文本。
这是一个长分页。它可以包含很多文本。
这是一个长分页。它可以包含很多文本。
这是一个长分页。它可以包含很多文本。
这是一个长分页。它可以包含很多文本。
这是一个长分页。它可以包含很多文本。
这是一个长分页。它可以包含很多文本。
这是一个长分页。它可以包含很多文本。
这是一个引用块,通过在每行开头放置“> ”来创建。
更多文本。
一条分割线
嵌套引用块
| 这是 | 表格 |
|---|---|
| 你应该老早 | 就知道怎么 |
| 这东西怎么用了吧 | |

SCP-XXXX-JP实验记录
痕迹部门
这个框使用了报告书框的代码。
[[div class="report-box"]]
[[=]]
[[image https://scp-jp-storage.wdfiles.com/local--files/file%3A9122253-21-z1ty/department_of_traces.png width="120px"]]
+++* SCP-XXXX-JP实验记录
痕迹部门
[[/=]]
-----
如此这般
[[/div]]

SCP-XXXX-JP实验记录
痕迹部门
调用watermark类可以使报告书上带有水印。
这个效果在引用块也能应用,不只是在报告书。
[[div class="report-box watermark"]]
[[=]]
[[image https://scp-jp-storage.wdfiles.com/local--files/file%3A9122253-21-z1ty/department_of_traces.png width="120px"]]
+++* SCP-XXXX-JP实验记录
痕迹部门
[[/=]]
-----
如此这般
[[/div]]
侧边栏内的文字。
EstrellaYoshte制作的半影版式中的侧边栏也可在本版式使用。
[[div class="limit"]]
[[div class="anchor"]]
[[div class="sidebox"]]
侧边栏内的文字
[[/div]]
[[/div]]
想显示在左方侧边栏的文字
[[/div]]
▶ 代码
:root {
--logo-image: url("https://scp-jp-storage.wdfiles.com/local--files/file%3A9122253-21-z1ty/department_of_traces.png");
--header-title: "痕迹部门";
--header-subtitle:"";
--header-height-on-desktop: 12rem;
--header-height-on-mobile: 10rem;
--pale-gray-monochrome: 238, 240, 234;
--pale-accent: 151, 116, 89;
--bright-accent: 151, 116, 89;
--medium-accent: 78, 60, 46;
--dark-accent: 63, 48, 37;
--visited-link-color: 121, 86, 59;
}
#header {
--search-icon-color: var(--swatch-primary);
--search-focus-textbox-bg-color: var(--swatch-secondary-color);
--login-line-divider-color: var(--swatch-primary);
--login-username-color: var(--swatch-primary);
--login-myaccount-color: var(--swatch-primary);
}
#header::before {
background-size: auto 9rem;
}
#header h1 {
align-items: flex-end;
}
#header h1 a {
margin-bottom: 2rem;
}
#extra-div-1 {
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: var(--header-height-on-desktop);
background-image: url(https://scp-jp-storage.wdfiles.com/local--files/file%3A6903570-74-r06f/publicdomainq-0062947rhh.jpg);
background-size: cover;
background-color: rgb(var(--pale-gray-monochrome));
}
.limit {
margin-bottom: -1rem;
}
.anchor {
position: -webkit-sticky;
position: sticky;
height: 0;
top: 0;
z-index: 9999;
}
.sidebox {
background-color: rgb(var(--pale-gray-monochrome));
border-top: solid 0.125rem rgb(var(--swatch-primary));
padding: .14rem 1rem .14rem;
margin-top: 0;
margin-bottom: 0.5rem;
width: calc((100vw - (var(--body-width-on-desktop) + 10rem))/2);
max-height: calc(100vh - 18rem) !important;
position: absolute;
top: 0;
left: 103.5%;
z-index: 5;
overflow: auto;
box-sizing: border-box;
}
@media (max-width: 80.625rem) {
.sidebox {
width: auto;
max-width: 50vw !important;
color: rgba(0, 0, 0, 0);
background-color: rgba(0, 0, 0, 0);
box-shadow: 0 0 0 0 rgb(var(--swatch-primary));
border: none;
right: calc(((100vw - 1em - var(--body-width-on-desktop)) / 2) * -1);
left: initial;
pointer-events: none;
transition: max-width 0.2s ease-in-out 0.1s, color 0.2s ease-in-out 0.1s, box-shadow 0.5s ease-in-out 0.1s, background-color 0s ease-in-out 0s;
overflow-x: hidden;
overflow-y: hidden;
scrollbar-width: thin;
}
.sidebox::-webkit-scrollbar {
width: 0.5em;
}
.sidebox * {
opacity: 0;
transition: opacity 0.2s ease-in-out 0.1s;
}
.sidebox::before,
.sidebox::after {
content: " ";
position: absolute;
pointer-events: all;
right: 0;
}
.sidebox::before {
top: calc(50% - 0.75rem);
width: 0;
height: 0;
border-top: 0.75rem solid transparent;
border-bottom: 0.75rem solid transparent;
border-right: 0.75rem solid rgb(var(--swatch-primary));
transition: border 0.1s ease-in-out 0.1s;
z-index: 10;
}
.sidebox::after {
top: 0;
max-width: 0.75rem;
width: 100%;
height: 100%;
box-shadow: 0.125rem 0 0 0 rgb(var(--swatch-primary));
max-height: calc(100vh - 18rem) !important;
background-color: rgb(var(--pale-gray-monochrome));
z-index: -1;
transition: box-shadow 0.5s ease-in-out 0.1s, max-width 0.5s ease-in-out 0.1s, border-top-left-radius 0.5s ease-in-out 0.1s, border-bottom-left-radius 0.5s ease-in-out 0.1s;
}
.sidebox:hover,
.sidebox:active {
color: rgb(var(--swatch-text-general));
background-color: rgb(var(--pale-gray-monochrome));
pointer-events: all;
overflow-y: scroll;
transition: max-width 0.5s ease-in-out 0.2s, color 0.5s ease-in-out 0.2s, box-shadow 0.5s ease-in-out 0.1s, background-color 0s ease-in-out 0.6s, right 0.5s ease-in-out 0.1s;
}
.sidebox:hover *,
.sidebox:active * {
opacity: 1;
transition: opacity 0.5s ease-in-out 0.2s;
}
.sidebox:hover::before,
.sidebox:active::before {
border-top: 0vw solid transparent;
border-bottom: 0vw solid transparent;
}
.sidebox:hover::after,
.sidebox:active::after {
box-shadow: 0 -0.125rem 0 0 rgb(var(--swatch-primary));
right: 0;
max-width: 100% !important;
border-top-left-radius: 0rem;
border-bottom-left-radius: 0rem;
}
}
@media only screen and (max-width:56.25rem) {
.anchor {
top: calc(var(--topbar-height-on-mobile) + 0.75rem);
}
.sidebox,
.sidebox:hover,
.sidebox:active {
right: calc(((100vw - (100% - 3rem))/2) * -1 + 2em);
}
.sidebox::before,
.sidebox::after {
content: " ";
position: absolute;
pointer-events: all;
right: 0;
}
}
.report-box {
margin: 1em 0;
padding: 1em;
background: rgb(var(--pale-gray-monochrome));
box-shadow: 0px 0px 3px 1px rgb(var(--swatch-primary));
}
.watermark {
background-image: url("https://scp-jp-storage.wdfiles.com/local--files/file%3A9122253-22-xp66/department_of_traces2.png");
background-position: center center;
background-repeat: no-repeat;
background-size: 120%;
}
WikiJump include 未展开: 跨站引用未启用(:scp-jp:component:centered-header-bhl)
WikiJump include 未展开: 跨站引用未启用(:scp-jp:component:toggle-sidebar-bhl)
[[embed]]
<iframe src="//interwiki.scpwikicn.com/styleFrame.html?priority=3
&type={$type}&override={$override}&theme=https://scp-wiki-cn.wdfiles.com/local--code/theme%3Adepartment-of-traces/1
&css={$css}" style="display: none"></iframe>
[[/embed]]
1. 这是一个脚注。






