通都版式

注意


这是一个“版式”页,用于在其他页面中引用。

如果你是一个对代码不熟悉的翻译者,我不建议你翻译这类页面。

修改自夹缝间版式

在你的作品开头添加如下语法以应用此版式:

[[include :s9sandbox:theme:tongdu]]


引入并修改了更好的折叠框(Better Collapsible)

你可以这样让单调的折叠框变得好看一些。

[[div class="bettercollap"]]
[[collapsible show="展开内容" hide="收起内容"]]
被折叠的内容
[[/collapsible]]
[[/div]]

这样写可以让多个折叠框紧凑地排列在一起。

[[div class="bettercollap"]]

[[collapsible show="展开内容" hide="收起内容"]]
被折叠的内容
[[/collapsible]]

[[collapsible show="展开内容" hide="收起内容"]]
被折叠的内容
[[/collapsible]]

[[collapsible show="展开内容" hide="收起内容"]]
被折叠的内容
[[/collapsible]]

[[/div]]

为 bettercollap 元素添加 styledcollap 类可以让折叠框变得更美观。

[[div class="bettercollap styledcollap"]]
[[collapsible show="展开内容" hide="收起内容"]]
被折叠的内容
[[/collapsible]]
[[/div]]
:root {
    --lh-red: #c0392b;
    --lh-blue: #2980b9;
    --lh-green: #27ae60;
    --lh-dark-green: #16a085;
    --lh-purple: #8e44ad;
    --lh-orange: #e67e22;
    --lh-yellow: #f1c40f;
 
    --lh-paper-bg: 255, 251, 240;
    --lh-string-color: 192, 57, 43;
    --lh-book-color: var(--gray-monochrome);
    --lh-tape-color: 90,90,90,0.3;
    --lh-white-bg: 249,249,249;
    --lh-dark-bg: 50, 50, 50;
    --lh-highlighter: var(--bright-accent);
    --lh-border-color: var(--gray-monochrome);
    --lh-wiki-note-color: var(--bright-accent)
}
 
/**
 *  旧代码合集
 *  为了向下兼容而保留
 */
 
.grid-container{display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.grid-container,.grid-container [class*=grid]{box-sizing:border-box}[class*=grid]{padding:5px}.grid{width:100%}.grid-large{width:75%}.grid-big{width:50%}.grid-medium{width:33.33%}.grid-small{width:25%}@media screen and (min-width:768px){.wd-grid-large{width:75%}.wd-grid,.wd-grid-big{width:50%}.wd-grid-medium{width:33.33%}.wd-grid-small{width:25%}}.text-hover-hide{opacity:0;transition:opacity .3s}.text-hover-hide:hover{opacity:1}.text-block-hide{background:rgb(var(--black-monochrome));color:rgb(var(--black-monochrome));transition:background .3s}.text-block-hide:hover{background:0 0}.text-blur-hide,.text-blur-hover-hide{filter:blur(.3rem);-webkit-filter:blur(.3rem) transition: blur .3s}.text-blur-hover-hide:hover{filter:blur(0);-webkit-filter:blur(0)}.lyric-box{text-align:center;font-size:1.05rem;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:center}.lyric-box p{margin:1.5em auto}.lyric-box.with-bigger-line p{margin:3em auto}
 
/**
 *  便签纸
 *  notepaper
 */
 
.notepaper {
    background: linear-gradient(rgb(var(--lh-paper-bg)) 95%, #ddd 0);
    line-height: 2em;
    background-size: 100% 2em;
    background-attachment: local;
    border: 2em solid rgb(var(--lh-paper-bg));
    box-shadow: 0 0.1rem 0.3rem rgba(0,0,0,0.2);
    padding: 0;
    margin: 1em auto;
    box-sizing: border-box;
    position: relative
}
.notepaper p {
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: 0.1rem;
    line-height: inherit
}
.notepaper.narrow,
.notepaper.wide {
        width: 90%
}
@media screen and (min-width:768px){
    .notepaper.narrow {
        width: 50%
    }
    .notepaper.wide {
        width: 75%
    }
}
 
.notepaper.tight {
    border-width: 1rem;
    border-left-width: 1.2rem;
    border-right-width: 1.2rem;
    line-height: 1.8em;
    background-size: 100% 1.8em;
    font-size: 13px
}
 
.notepaper.with-string::before {
    content: '';
    width: 0.5em;
    height: 6rem;
    background: rgb(var(--lh-string-color));
    top: -2rem; right: -1rem;
    display: block;
    position: absolute;
    box-shadow: 0 0.1em 0.2em rgba(0,0,0,0.2);
    clip-path: polygon(-100% -100%,100% 0%,100% 100%,50% 98%,0% 100%);
}
.notepaper.with-tape::before {
    content: '';
    border: 1px solid #ddd;
    background: rgba(var(--lh-tape-color));
    width: 1.5em;
    height: 4em;
    transform: rotate(45deg);
    display: block;
    position: absolute;
    top: -3em;
    left: -1.8em
}
 
.notepaper.tight.with-string::before {
    top: -1rem; 
    right: -0.25rem;
}
.notepaper.tight.with-tape::before {
    top: -2.5em;
    left: -1.3em
}
 
.notepaper.page {
    min-height: 36em;
    counter-increment: page;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}
@media screen and (min-width:768px){
    .notepaper.page {
        width: 70%
    }
}
.notepaper.page:after {
    content: counter(page);
    display: block;
    text-align: center
}
.notepaper-group {
    counter-reset: page;
}
 
.book-pattern {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row
}
.book-pattern .notepaper.page:not(.notepaper > .notepaper) {
    width: 100%
}
@media screen and (min-width: 768px) {
    .book-pattern .notepaper.page:not(.notepaper > .notepaper) {
        width: 50%
    }
}
 
.book-wrapper {
    background: rgb(var(--lh-book-color));
    padding: 0.5rem;
    box-shadow: 0 0.1rem 0.2rem rgba(0,0,0,0.2);
    border-radius: 5px;
    margin: 1rem auto
}
@media screen and (min-width: 768px) {
    .book-wrapper .notepaper {
        margin: 0
    }
}
 
/**
 *  文字修饰
 */
 
.text-highlighted {
    position: relative
}
.text-highlighted::before {
    content: "";
    position: absolute;
    height: 0.9em;
    bottom: 2px;
    left: -2px;
    width: 105%;
    z-index: -1;
    background-color: rgb(var(--lh-highlighter));
    opacity: .6;
    transform: skew(-15deg);
    transition: opacity .2s ease;
    border-radius: 3px 8px 10px 6px;
    transition: 0.1s ease background-color;
}
 
.text-underlined {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    text-decoration-color: rgb(var(--lh-highlighter))
}
.text-wavy {
    text-decoration: underline wavy;
    text-underline-offset: 4px;
    text-decoration-color: rgb(var(--lh-highlighter))
}
 
.text-circled,
.text-squared {
    display: inline-block;
    border: 2px solid rgb(var(--lh-highlighter));
    border-radius: 100%;
    box-sizing: border-box
}
.text-squared { border-radius: 0 }
 
.text-shadow { text-shadow: 0.075em 0.075em 0 rgb(var(--lh-highlighter)) }
 
.text-highlighted.td-red::before { background: var(--lh-red) }
.text-circled.td-red, .text-squared.td-red { border-color: var(--lh-red) }
.text-underlined.td-red, .text-wavy.td-red { text-decoration-color: var(--lh-red) }
 
.text-highlighted.td-blue::before { background: var(--lh-blue) }
.text-circled.td-blue, .text-squared.td-blue { border-color: var(--lh-blue) }
.text-underlined.td-blue, .text-wavy.td-blue { text-decoration-color: var(--lh-blue) }
 
.text-highlighted.td-green::before { background: var(--lh-green) }
.text-circled.td-green, .text-squared.td-green { border-color: var(--lh-green) }
.text-underlined.td-green, .text-wavy.td-green { text-decoration-color: var(--lh-green) }
 
.text-highlighted.td-darkgreen::before { background: var(--lh-dark-green) }
.text-circled.td-darkgreen, .text-squared.td-darkgreen { border-color: var(--lh-dark-green) }
.text-underlined.td-darkgreen, .text-wavy.td-darkgreen { text-decoration-color: var(--lh-dark-green) }
 
.text-highlighted.td-purple::before { background: var(--lh-purple) }
.text-circled.td-purple, .text-squared.td-purple { border-color: var(--lh-purple) }
.text-underlined.td-purple, .text-wavy.td-purple { text-decoration-color: var(--lh-purple) }
 
.text-highlighted.td-yellow::before { background: var(--lh-yellow) }
.text-circled.td-yellow, .text-squared.td-yellow { border-color: var(--lh-yellow) }
.text-underlined.td-yellow, .text-wavy.td-yellow { text-decoration-color: var(--lh-yellow) }
 
.text-highlighted.td-orange::before { background: var(--lh-orange) }
.text-circled.td-orange, .text-squared.td-orange { border-color: var(--lh-orange) }
.text-underlined.td-orange, .text-wavy.td-orange { text-decoration-color: var(--lh-orange) }
 
/* 隐藏文字 */
 
.text-blank { color: rgba(0,0,0,0) }
.text-block { 
    background: rgb(var(--black-monochrome));
    color: rgb(var(--black-monochrome)); 
}
.text-blur { 
    filter: blur(0.3em);
    -webkit-filter: blur(0.3em)
}
 
.text-hoverback,
.text-selectback {
    transition-duration: 0.3s;
    transition-property: background, transform, color
}
 
.text-blank.text-hoverback:hover,
.text-blank.text-selectback::selection,
.text-blank.text-selectback *::selection { color: rgb(var(--black-monochrome)) }
 
.text-block.text-hoverback:hover { background: transparent!important }
.text-block.text-selectback::selection,
.text-block.text-selectback *::selection { color: rgb(var(--white-monochrome, 255, 255, 255)) }
 
.text-blur.text-hoverback:hover { filter: blur(0)!important; -webkit-filter: blur(0)!important }
 
/**
 * 附加项
 */
.with-border, .with-box-style { border: 1px solid rgb(var(--bright-accent)) }
.with-border-dark { border: 1px solid rgb(var(--black-monochrome)) }
.with-border-light { border: 1px solid rgb(var(--white-monochrome)) }
.with-border-thick { border-width: 2px }
 
.with-shadow-sm { box-shadow: 0 0 0.1em rgba(0,0,0,0.2) }
.with-shadow { box-shadow: 0 0.1em 0.2em rgba(0,0,0,0.2) }
.with-shadow-lg { box-shadow: 0 0.15em 0.3em rgba(0,0,0,0.2) }
.with-shadow-xl { box-shadow: 0 0.2em 0.5em rgba(0,0,0,0.2) }
.with-shadow-xxl { box-shadow: 0 0.25em 0.8em rgba(0,0,0,0.2) }
 
.with-padding, .with-box-style { padding: 0.25em 1em }
.with-p-sm { padding: 0.125em 0.5em }
.with-p-lg { padding: 0.5em 2em }
 
.with-margin, .with-box-style { margin: 1em auto }
.with-m-sm { margin: 0.5em auto }
.with-m-lg { margin: 2em auto }
 
.with-narrow-width { 
    width: 90%!important; 
    margin-left: auto; 
    margin-right: auto 
}
@media screen and (min-width: 768px) {
    .with-narrow-width { width: 75%!important }
}
[class*="with-bg-"], [class*="with-bg-"] h1 { color: #fff!important }
.with-bg-red { background: var(--lh-red)!important }
.with-bg-blue { background: var(--lh-blue)!important }
.with-bg-green { background: var(--lh-green)!important }
.with-bg-darkgreen { background: var(--lh-dark-green)!important }
.with-bg-yellow { background: var(--lh-yellow)!important }
.with-bg-orange { background: var(--lh-orange)!important }
.with-bg-purple { background: var(--lh-purple)!important }
 
/**
 * 删除类
 */
 
.offwith-shadow { box-shadow: none!important }
.offwith-border { border: none!important }
.offwith-padding, .offwith-pam { padding: 0!important }
.offwith-margin, .offwith-pam { margin: 0!important }
 
.offwith-width-limit {
    width: auto!important;
    margin-left: auto!important;
    margin-right: auto!important
}
 
div[class*="grider"].offwith-grid-gap { grid-gap: 0!important }
 
/**
 * 网格布局
 */
 
/* Gridder 容器 */
 
div[class*="gridder"] {
    display: grid;
    box-sizing: border-box;
    grid-gap: 1rem;
    padding: 0
}
div[class*="gridder"] * { box-sizing: border-box }
 
.gridder, .gridder-col-2 {
    grid-template-columns: 1fr 1fr;
}
.gridder-col-3 {
    grid-template-columns: repeat(3, 1fr);
}
.gridder-col-4 {
    grid-template-columns: repeat(4, 1fr);
}
 
@media screen and (min-width: 768px) {
    .pc-gridder, .pc-gridder-col-2 {
       grid-template-columns: 1fr 1fr;
   }
   .pc-gridder-col-3 {
       grid-template-columns: repeat(3, 1fr);
   }
   .pc-gridder-col-4 {
       grid-template-columns: repeat(4, 1fr);
   }
}
 
.spanner, .spanner-2 {
    grid-column-start: span 2;
}
.spanner-3 {
    grid-column-start: span 3;
}
 
/**
 * 告示组件
 */
.signblock,
.signblock-dark,
.signblock-warn {
    margin: 1rem auto;
    box-shadow: 0 0.1rem 0.3rem rgba(0,0,0,0.4);
    background: rgb(var(--lh-white-bg));
    font-size: 1.05rem;
    padding: 2rem
}
@media screen and (min-width: 768px) {
    .signblock,
    .signblock-dark,
    .signblock-warn {
        width: 75%
    }
}
.signblock-dark, 
.signblock-dark h1 {
    background: rgb(var(--lh-dark-bg));
    color: #fff
}
.signblock-warn, 
.signblock-warn h1 {
    background: var(--lh-red);
    color: #fff
}
 
.signblock h1,
.signblock-dark h1,
.signblock-warn h1 {
    text-align: center;
    font-size: 2rem;
    margin: 0;
    font-weight: 700
}
.signblock-img {
    display: flex;
    flex-direction: row;
    justify-content: center
}
.signblock-img img {
    width: 8em
}
.signblock-footer {
    font-size: 0.9em;
    text-align: center;
    margin: 0.5rem 0;
    font-weight: bolder;
    display: block
}
 
/**
 * 报告
 */
 
.reportblock,
.reportblock-dark {
    border: 2px solid rgb(var(--lh-border-color));
    box-shadow: 0 0.1rem 0.2rem rgba(0,0,0,0.3);
    background: rgb(var(--white-monochrome));
    padding: 0.8rem 1.5rem;
    padding-bottom: 0.4rem;
    margin: 1.5rem auto;
    margin-bottom: 1rem;
    position: relative
}
 
.reportblock hr,
.reportblock-dark hr {
    background-color: rgb(var(--lh-border-color));
    margin-left: -1.5rem;
    margin-right: -1.5rem
}
 
.reportblock h1:first-child,
.reportblock-dark h1:first-child {
    position: absolute;
    top: -1rem;
    left: 1.5rem;
    font-size: 110%;
    font-weight: 600;
    background: rgb(var(--lh-border-color));
    color: #fff;
    padding: 0.2rem 0.5rem;
    margin: 0;
}
 
.reportblock-dark,
.reportblock-dark h1 {
    border-color: rgb(var(--lh-white-bg));
    background: rgb(var(--lh-dark-bg));
    color: #fff
}
 
.reportblock-dark hr {
    background-color: rgb(var(--lh-white-bg));
}
 
/* 更好的折叠框 */
 
.bettercollap {
  margin: 1em 0;
}
 
.bettercollap .collapsible-block {
  width: auto;
  overflow: hidden;
  border: 1px solid rgb(var(--lh-border-color))
}
 
.bettercollap .collapsible-block-content,
.bettercollap .collapsible-block-link {
  background: rgb(var(--white-monochrome));
  padding: 0.5em
}
 
.bettercollap .collapsible-block-content {
  padding-left: 1em;
  padding-right: 1em
}
 
.bettercollap .collapsible-block-link {
  color: rgb(var(--lh-border-color));
  background: rgb(var(--white-monochrome));
  transition: .3s;
  display: block;
}
.bettercollap .collapsible-block-link:hover,
.bettercollap .collapsible-block-unfolded .collapsible-block-link,
.styledcollap.bettercollap .collapsible-block-link {
  color: rgb(var(--white-monochrome));
  background: rgb(var(--lh-border-color))!important;
  text-decoration: none
}
 
.bettercollap .collapsible-block-link:hover a { color: rgb(var(--white-monochrome)) }
 
.bettercollap .collapsible-block-link::before {
  content: "\25BC";
  display: inline-block;
  margin-right: 0.5em;
  transform: rotate(-90deg) scale(0.9)
}
.bettercollap .collapsible-block-unfolded .collapsible-block-link::before {
   transform: rotate(0) scale(0.9)
}
 
.bettercollap .collapsible-block + .collapsible-block { border-top: none }
 
.styledcollap.bettercollap .collapsible-block {
  border-radius: 2px;
  box-shadow: 0 0.1rem 0.2rem rgba(0,0,0,0.3)
}
 
.styledcollap.bettercollap .collapsible-block-content {
  background-color: rgb(var(--pale-gray-monochrome));
  border-width: 3px
}
 
.styledcollap.bettercollap .collapsible-block-link:hover {
  background: rgba(var(--lh-border-color),0.95)!important;
}
 
/**
 * 提示框
 */
 
.infoblock {
    color: #f1f1f1;
    font-weight: bold;
    background: #424242;
    padding: 5px 5px 5px 5px;
    border-radius: 4px;
    margin: -0.5rem 0 1rem 0;
    display: block;
    width: fit-content;
    padding-right: 25px;
}
 
.infoblock::before {
    content: "ⓘ "
}
 
/**
 * 单页迭代 
 */
 
.offset-page:not(:target), .offset-page:target ~ div#u-default-page { display: none }
.offset-page:target { display: block }


评分: 0+x

parallel-theme-logo.svg
parallel-theme-logo-zh.svg

2.0.0

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

信息

平行是为 SCP-CN 维基制作的 CSS 主题,是玄武岩项目基础版式基岩的深度修改版本,便于 Dr HormressDr Hormress 二次开发使用,提供一个具有工作感的视觉外观和多个预制配色方案。平行的最初目的并不是直接被引入,不过的确任何用户可以这么做。

平行从基岩引用了大量代码,不过为确保稳定性,维护者现已取消此主题早期版本的“外部依附式”设计方案,转而将其与基岩相互嵌入以便独立开发。你可以在这里看到它在 Github 上的小小占位符——当然还有平行的 Github 仓库

版式插件

平行组件是专为改变平行版式的方方面面而制作的组件,一般情况下无法脱离平行使用。

经典版头

[[include :scp-wiki-cn:component:parallel-classic-header]]

版式预设

与玄武岩相类似,可在你的 [[include]] 语法中添加预设来小规模修改平行的配色方案。

这些配色预设主要用于二次设计时提供一个方便的风格化基板,也可用于单独引用。点击以下预设图标可以切换此页面的预览状态,并切换所展示的 [[include]] 语法示例。

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

基本元素示例

这是引用块


嵌套引用

basalt_scp_logo-for_lightmode.svg

插图方块。

可通过至少四个连字符“----1创建水平分割线。若它未被放在其他部件(诸如引用块)中,则会左右延伸贯穿页面。

标题可通过在一行字起始处输入 1 至 6 个加号“+”来创建。

1 级标题

2 级标题

3 级标题

4 级标题

5 级标题
6 级标题

这是分页(Tab View)。

这是 表格
它的使用方法 一句话讲不完
而且单元格不能跨行,这很可恶

工具类

与 Tailwind CSS 的设计理念相类似,平行提供的基本排版元素包含一系列工具类;不过它们并不像 Tailwind CSS 那样基本完全独立,我们也没有一个脚本用于生成几乎可以代替任何内联样式的各种工具类。平行的大部分工具类针对 blockquote 类设计,需要提前引入,而主要排版元素都是 div.blockquote 元素的变体。平行 2.0 版本基本完全重新设计了这些类的使用,不过旧版类名仍然予以支持。以下只给出现版本的标准参考。

示例

你可以使用和 HTML 语法类似的 [[div class="类名"]] 语法来创建具有类的 div 元素,不要忘了用 [[/div]] 包裹住 div 的内容。

[[div class="blockquote 工具类1 工具类2"]]

[[div class="blockquote round-l bwidth-base bcolor-undertone shadow-thick"]]

[[div class="blockquote bg-pri b-l bwidth-base bcolor-overtone w-625"]]

通用

少部分处理块级样式和大部分仅处理文本样式的工具类是通用的。以下是一个列表。

文本对齐
用于调整元素内文本的对齐方式
t-left 文本左对齐
t-center 文本中间对齐
t-right 文本右对齐
t-justify 文本两端对齐
溢出处理
用于元素内存在溢出时进行处理
scroll-x 元素内超宽时添加滚动条

引用块

宽度控制
用于调整引用块的宽度,宽度使用公式 页面内容总宽度 * 相对系数 计算
w-125 相对系数 = 0.125
w-25 相对系数 = 0.25
w-375 相对系数 = 0.375
w-50 相对系数 = 0.50
w-625 相对系数 = 0.625
w-75 相对系数 = 0.75
w-875 相对系数 = 0.875
w-full 相对系数 = 1
边框
用于调整引用块的边框。引用块默认有与背景颜色相同的边框,工具类 b 仅供特殊情况使用
b-n 引用块不存在边框
b 引用块存在边框
b-l 左边框
b-r 右边框
b-lr 左右边框
b-t 上边框
b-b 下边框
b-tb 上下边框
边框宽度
用于调整引用块边框的宽度
bwidth-base 边框宽度为 --base-border-width
bwidth-thin 边框宽度为 --thin-border-width
边框颜色
用于调整引用块边框的颜色
bcolor-pri 边框颜色为 --basalt-primary-color
bcolor-sec 边框颜色为 --basalt-secondary-color
bcolor-ter 边框颜色为 --basalt-tertiary-color
bcolor-overtone 边框颜色为 --basalt-overtone
bcolor-undertone 边框颜色为 --basalt-undertone
bcolor-dark 边框颜色为 --basalt-dark-element-color
bcolor-darker 边框颜色为 --basalt-darker-element-color
圆角
用于调整引用块的边缘圆角,四角将同时变化,暂时无法分别应用到特定的角
round 圆角尺寸为 --base-border-radius
round-s 较小的圆角
round-m 中等的圆角
round-l 较大的圆角
阴影
用于调整引用块的阴影,若为暗色主题,阴影会变为发光
shadow 一般的阴影
shadow-thin 较轻的阴影
shadow-thick 较重的阴影
背景颜色
用于调整引用块的背景颜色
bg-pri 背景颜色为 --basalt-primary-color
bg-sec 背景颜色为 --basalt-secondary-color
bg-ter 背景颜色为 --basalt-tertiary-color
bg-overtone 背景颜色为 --basalt-overtone
bg-undertone 背景颜色为 --basalt-undertone
bg-dark 背景颜色为 --basalt-dark-element-color
bg-darker 背景颜色为 --basalt-darker-element-color
bg-alter 背景颜色为 --basalt-alternate-color,透明度 0.075
文本颜色
color-light 亮色文本

笔记块

div.wiki-note 元素与 note 元素并不包含任何特别的工具类。之所以在本节中特别提出,是因为 div.wiki-note 元素视觉上等价于一个经过样式化的 div.blockquote 元素,用户完全可以用样式化的 div.blockquote 元素取代 div.wiki-note 元素。

[[note]]

[[div class="wiki-note"]]

[[div class="blockquote w-50 b-n bg-alter t-justify"]]

维基内容表格

与先前的例子不同,一般情况下用于 div.table 的工具类并不作用在这个 div 元素上,而是影响其中放置的维基内容表格即 table.wiki-content-table 元素。特别地,用于改变宽度的工具类会作用在 div 元素上,并使其中的表格占满该 div 的宽度。

要使以下属性生效,请提前加入 table 类来声明这是用于处理表格的 div 元素。以下是可用于表格的工具类列表。

溢出处理
用于元素内存在溢出时进行处理
scroll-x 元素内超宽时添加滚动条
宽度控制
用于调整宽度,宽度使用公式 页面内容总宽度 * 相对系数 计算
w-125 相对系数 = 0.125
w-25 相对系数 = 0.25
w-375 相对系数 = 0.375
w-50 相对系数 = 0.50
w-625 相对系数 = 0.625
w-75 相对系数 = 0.75
w-875 相对系数 = 0.875
w-full 相对系数 = 1
特殊样式
用于为表格赋予特殊样式
b-d 使表格线与表头颜色一致强调
b-3 修改为三线表

杂项

平行过去曾加入的杂项修改和组件适配仍然有效,不过部分特性暂时没有继续开发和维护的计划,一些特性未来也可能发生变动。以下列出了这些修改和自定义元素。

目前暂时无法被工具类替代的自定义引用块

[[div class="blockquote title" data-title="示例标题"]]

部分代码移植自流明冲击

[[div class="blockquote title"]]

其实不写标题也可以用。

[[div class="blockquote warning-panel" data-title="通知标题" style="--warning-logo: url("背景图标链接");"]]

你可以替换代码里的链接和标题创建一个警告或通知。

替代标题格式支持(AIM 与 ACS)

将这两个组件的 [[include]] 语法分别放在 [[div class="Parallel-AIM"]][[div class="Parallel-ACS"]] 中,即可启用支持模式。分别提供了特色着色方案和视觉风格修改。

Earthworm 导航

Earthworm 导航在此版式下被修改为更简洁的样式。

致谢

此版式基本是 EstrellaYoshteEstrellaYoshteLirynLirynPlaceholder McDPlaceholder McD 所制作的 基岩版式的再创作。此版式的风格也受到 WoedenazWoedenaz黑色标记笔版式的相当影响,平行目前所使用的 SCP 标志也是基于其版式徽标。

中文分部的 hoah2333hoah2333 在最早期开发思路的起点新贵族提供了不少建设性意见。

以上这些人的贡献对于平行的开发直接影响相当大,当然还有更多为我汇报问题的使用者、各群聊中遇到的朋友。平行版式没有你们不可能走到今天!

project-parallel.svg
除非特别注明,本页内容采用以下授权方式: Creative Commons Attribution-ShareAlike 3.0 License