这个版式由 scutoid studios 为荒芜后室1制作——这是一个我在参与建设的新阈限设定。可以期待下看到这个设定里的层级和实体!如果你想在此设定外的文章内使用这个版式,请使用 CSS 来将标志修改为主站点标志。就是说,我又阻止不了你……但拜托啦?
若需将该版式引入到你的页面中,你需要先自行设置数个值。请使用:
[[include :backrooms-wiki-cn:theme:watch-your-back
|banner=
|pale-accent=
|visited-link-color=
|bright-accent=
|medium-accent=
|dark-accent=
|alt-accent=
]]
Banner(横幅)应该是一张图片的链接,所有的颜色都应填写 RGB 数值。
比如,要做一个像本页中使用的 Level 4 主题版式,请使用:
[[include :backrooms-wiki-cn:theme:watch-your-back
|banner=http://backrooms-wiki.wdfiles.com/local--files/level-4/Level-4-new
|pale-accent=112,126,125
|visited-link-color=215, 193, 246
|bright-accent=255, 170, 0
|medium-accent=143, 150, 160
|dark-accent=87, 91, 96
|alt-accent=255, 125, 125
]]
这一版式的 bright accent colour(亮色强调色)是橙色——考虑使 bright-accent 与 alt-accent 保持不变,并将其它颜色改为与你的横幅图相适配的颜色。Pale accent colour(浅色强调色)是覆盖在背景图之上的颜色,应该要比 visited link color(已访问链接颜色)更暗,且已访问链接颜色应该要调得非常亮。如果你需要帮助的话,请直接私信我。2
示例

这是 Image Block 组件。
可通过五个连字符“-----”创建水平分割线。若它未被放在其他部件(诸如引用块)中,则会左右延伸贯穿页面。这种将文档分割为多个部分的线就是分割线。
标题可通过在一行字起始处输入 1 至 6 个加号“+”来创建。
此为分页(tab view)。
看,这有更多文字。
多么精巧绝伦。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个引用块,在一行字的起始处加上“> ”来创建。
更多文字
一条分割线
嵌套引用块
这是 | 表格 |
---|---|
你应该老早 | 就知道怎么 |
做这个了吧 |
这个版式没有 Darkblock 和 Lightblock,直接用 [[div class="blockquote"]] 就好了。
- 链接颜色
- 已访问链接颜色
- 新页面链接颜色
@supports(display: grid) { :root { --sidebar-width-on-desktop: calc((var(--base-font-size) * (14 / 15)) * 19); --body-width-on-desktop: 45.75rem; } @media only screen and (min-width: 769px) { #side-bar .close-menu { display: block; position: fixed; top: 0.5rem; left: 0.5rem; width: 3rem; height: 3rem; background: unset; opacity: 1; pointer-events: all; z-index: -1; } #side-bar .close-menu img { color: transparent; } #side-bar .close-menu::before, #side-bar .close-menu::after { content: ""; box-sizing: border-box; position: fixed; display: block; top: 0.5rem; left: 0.5rem; width: 3rem; height: 3rem; padding: 0; margin: 0; text-align: center; pointer-events: all; cursor: pointer; transition: opacity var(--sidebar-transition-timing); } #side-bar .close-menu::before { --mask:url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' id='Hamburger' x='0' y='0' baseProfile='tiny' overflow='visible' version='1.2' viewBox='0 0 32 32' xml:space='preserve'%3E%3Cpath d='M4 10h24c1.1 0 2-.9 2-2s-.9-2-2-2H4c-1.1 0-2 .9-2 2s.9 2 2 2zm24 4H4c-1.1 0-2 .9-2 2s.9 2 2 2h24c1.1 0 2-.9 2-2s-.9-2-2-2zm0 8H4c-1.1 0-2 .9-2 2s.9 2 2 2h24c1.1 0 2-.9 2-2s-.9-2-2-2z'/%3E%3C/svg%3E"); z-index: -1; background-color: var(--toggle-icon-color, rgb(var(--sidebar-links-text))) !important; -webkit-mask: var(--mask); mask: var(--mask); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 50% 50%; mask-position: 50% 50%; -webkit-mask-size: 60%; mask-size: 60%; } #side-bar .close-menu::after { z-index: -2; background-color: var(--toggle-button-bg, rgb(var(--sidebar-bg-color))) !important; border-radius: var(--toggle-roundness, 50%); border: var(--toggle-border-color, rgb(var(--sidebar-links-text))) var(--toggle-border-width, 0.25rem) solid; } #side-bar:focus-within .close-menu, #side-bar:not(:has(.close-menu:hover)):not(:focus-within):hover .close-menu { pointer-events: none; } #side-bar:focus-within .close-menu::before, #side-bar:focus-within .close-menu::after { opacity: 0; pointer-events: none; } #side-bar:not(:has(.close-menu:hover)):not(:focus-within):hover .close-menu::before, #side-bar:not(:has(.close-menu:hover)):not(:focus-within):hover .close-menu::after { opacity: 0; pointer-events: none; } #side-bar { display: block; position: fixed; top: 0; left: calc(var(--sidebar-width-on-desktop)*-1); z-index: 10; transition: left 500ms cubic-bezier(0.4, 0, 0.2, 1) 100ms; height: 100%; overflow-y: auto; overflow-x: hidden; margin-top: 0; } #side-bar:focus-within { left: 0; } #side-bar:not(:has(.close-menu:hover)):not(:focus-within):hover { left: 0; } #side-bar .side-block { margin-top: 1rem; background-color: rgb(0, 0, 0, 0); border-radius: 0; border-left-width: 0px; border-right-width: 0px; } #main-content::before { content: ""; display: block; position: fixed; top: 0; right: 0; z-index: -1; opacity: 0; transition: opacity 500ms cubic-bezier(0.4, 0, 0.2, 1) 100ms, width 500ms cubic-bezier(0.4, 0, 0.2, 1) 100ms; margin-left: var(--sidebar-width-on-desktop); background: rgba(var(--swatch-menubg-black-color), .3) 1px 1px repeat; padding-right: 0; width: 100%; height: 100vh; pointer-events: none; z-index: 99; } #side-bar:focus-within ~ #main-content::before { width: calc(100% - var(--sidebar-width-on-desktop)); opacity: 1; pointer-events: all; } #side-bar:not(:has(.close-menu:hover)):not(:focus-within):hover ~ #main-content::before { width: calc(100% - var(--sidebar-width-on-desktop)); opacity: 1; pointer-events: all; } @supports (-moz-appearance:none) and (background-attachment:local) and (not (-moz-osx-font-smoothing:auto)) { #side-bar { padding: inherit; } } #content-wrap { display: flex; flex-direction: row; width: calc(100vw - (100vw - 100%)); min-height: calc(100vh - calc(var(--final-header-height-on-desktop, 10.125rem))); flex-grow: 2; height: auto; position: relative; margin: 0 auto; max-width: inherit; } #main-content { width: 100%; position: initial; max-height: 100%; padding: 2rem 1rem; max-width: var(--body-width-on-desktop, 45.75rem); margin: 0 auto; } #page-content { max-width: min(90vw, var(--body-width-on-desktop, 45.75rem)); } @supports (-webkit-hyphens:none) { #side-bar { transition: left 500ms cubic-bezier(0.4, 0, 0.2, 1) 100ms, padding-right 500ms cubic-bezier(0.4, 0, 0.2, 1) 100ms, background-color 500ms cubic-bezier(0.4, 0, 0.2, 1) 100ms; padding-right: 0; background-color: rgb(0, 0, 0, 0); pointer-events: all; overflow-x: visible; overflow-y: visible; z-index: 999; } #side-bar::-webkit-scrollbar { opacity: 0; -webkit-transition: opacity 500ms cubic-bezier(0.4, 0, 0.2, 1) 100ms; transition: opacity 500ms cubic-bezier(0.4, 0, 0.2, 1) 100ms; } #side-bar .close-menu::before { z-index: 999; } #side-bar .close-menu::after { z-index: 998; } #side-bar:hover .close-menu::before, #side-bar:hover .close-menu::after { opacity: 0; } #side-bar:hover { left: 0; background-color: rgba(var(--swatch-menubg-color), 1); padding-right: 0; } #side-bar:hover::-webkit-scrollbar { opacity: 1; } #side-bar:hover~#main-content::before { width: calc(100% - var(--sidebar-width-on-desktop)); opacity: 1; pointer-events: all; } } } }
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100;300;400;500;700;900&display=swap'); /* root variables */ :root { max-width: 100vw; overflow-x: hidden; /* ===S-CSjavascript:;S-P INTEGRATION=== */ --theme-base: "black-highlighter"; --theme-id: "isolate-canon"; --theme-name: "Isolate Canon"; /* ===HEADER ELEMENTS=== */ --logo-image: url("http://scutoidbox.wikidot.com/local--files/watch-your-back/isolate%20canon.png"); --header-title: "后室"; --header-subtitle: "留意身后……"; /* ===TYPEFACES=== */ --body-font: Ubuntu Mono, Consolas, Noto Sans SC, Noto Sans TC, monospace; --UI-font: var(--body-font); --header-font: var(--body-font); --title-font: var(--body-font); --mono-font: var(--body-font); /* ===HEADER TITLES=== */ --header-h1-font-size: 4rem; --header-h2-font-size: 2rem; --swatch-headerh2-color: var(--light-gray-monochrome); /* ===STANDARD THEME COLORS=== */ --white-monochrome: 255, 255, 255; --pale-gray-monochrome: 255, 255, 255, 0.8; --light-pale-gray-monochrome: 255, 255, 255, 0.5; --very-light-gray-monochrome: 255, 255, 255, 0.4; --light-gray-monochrome: 255, 255, 255, 0.5; --gray-monochrome: 0, 0, 0, 0.3; --dark-gray-monochrome: 0, 0, 0, 0.7; --black-monochrome: 0, 0, 0, 0.8; --pale-accent: {$pale-accent}; /* background */ --bright-accent: {$bright-accent}; /* link */ --medium-accent: {$medium-accent}; --dark-accent: {$dark-accent}; --alt-accent: {$alt-accent}; /* newpage link */ --link-color: var(--bright-accent); --visited-link-color: {$visited-link-color}; --newpage-link-color: var(--alt-accent); --swatch-background: var(--pale-accent); --article-image: url("{$banner}"); /* ===GENERAL TEXT COLORS=== */ --swatch-text-dark: var(--black-monochrome); --swatch-text-light: var(--white-monochrome); --swatch-text-general: var(--swatch-text-light); --swatch-important-text: var(--bright-accent); /* ===MENU COLORS=== */ /* ===MENU BACKGROUND COLORS=== */ --swatch-menubg-color: var(--white-monochrome); --swatch-menubg-light-color: var(--pale-gray-monochrome); --swatch-menubg-medium-color: var(--dark-gray-monochrome); --swatch-menubg-medium-dark-color: var(--gray-monochrome); --swatch-menubg-dark-color: var(--gray-monochrome); --swatch-menubg-black-color: var(--black-monochrome); --swatch-menubg-hover-color: var(--black-monochrome); /* ===MENU TEXT COLORS=== */ --swatch-menutxt-dark-color: var(--black-monochrome); --swatch-menutxt-light-color: var(--white-monochrome); --swatch-menutxt-general-color: var(--swatch-menutxt-dark-color); /* ===SECONDARY & TERTIARY COLORS=== */ /* Editing these will edit a vast majority of theme elements. Useful for making dark themes */ /* Colors for Secondary & Tertiary items like Blockquote and YUI Tabs */ --swatch-secondary-color: var(--swatch-menubg-dark-color); --swatch-tertiary-color: var(--swatch-menubg-light-color); --swatch-alternate-color: var(--medium-accent); /* Text Colors for Secondary & Tertiary items like Sidebar Headers and Top-Bar Menu Text */ --swatch-text-secondary-color: var(--swatch-menutxt-light-color); --swatch-text-tertiary-color: var(--swatch-menutxt-light-color); /* ===STRUCTURAL MEASUREMENTS=== */ --header-height-on-desktop: 12rem; --header-height-on-mobile: 12rem; --header-width-on-desktop: 40rem; --body-width-on-desktop: 45rem; --topbar-height-on-desktop: 1.9rem; /* ===SIDEBAR BUTTON=== */ --toggle-button-bg: rgb(var(--gray-monochrome)); --toggle-border-color: transparent; --toggle-border-width: 0; --toggle-icon-color: rgb(var(--white-monochrome)); --toggle-roundness: 25%; } /* background */ #skrollr-body { background-color: rgb(var(--swatch-background)); } #skrollr-body::before { content: ""; position: fixed; background-image: linear-gradient(to bottom, transparent, rgb(var(--swatch-background))), var(--article-image); background-size: 100% 100%, cover; width: 100vw; height: 100vh; } #container-wrap-wrap::before { content: ""; position: fixed; width: 100vw; height: 100vh; -webkit-backdrop-filter: blur(13px); backdrop-filter: blur(13px); } @media only screen and (min-width: 56.25rem) { /* main content */ #main-content { padding: 0.5rem 1rem; margin: 3.5rem auto 1.5rem auto; background: rgba(var(--gray-monochrome)); --swatch-background: 0,0,0,0; grid-template-areas: "action-area-top action-area-top action-area-top action-area-top action-area-top action-area-top""page-tags page-tags page-tags page-tags page-tags page-tags""page-title page-title page-title page-title page-title page-title""breadcrumbs breadcrumbs breadcrumbs breadcrumbs breadcrumbs breadcrumbs""page-content page-content page-content page-content page-content page-content""page-info-break page-info-break page-info-break page-info-break page-info-break page-info-break"". . pwatch pwatch pwatch pwatch"". . pinfo pinfo pinfo pinfo""options-1 options-1 options-1 options-1 options-1 options-1""options-2 options-2 options-2 options-2 options-2 options-2""pbottom pbottom pbottom pbottom pbottom pbottom""action-area-btm action-area-btm action-area-btm action-area-btm action-area-btm action-area-btm"; } /* topmenu */ #header div[class*="top-bar"] > ul { background: rgba(var(--gray-monochrome)); border-radius: 0.75rem; padding: 0 1rem; box-sizing: border-box; } #header div[class*="top-bar"] > ul > li > a { border-left: 1px dotted rgb(var(--white-monochrome)); } #header div[class*="top-bar"] > ul > li:first-of-type > a{ border: none; } /* make the login info go to the actual screen edge */ #header { position: static; } /* border under topmenu */ #header::after { content: ""; position: absolute; height: 1px; background: rgba(var(--pale-gray-monochrome)); width: 60rem; left: calc(calc(100vw - 60rem) / 2); } /* header logo */ #header { background-image: none; } #header::before { content: ""; width: 100%; height: var(--header-height-on-desktop); position: absolute; top: 0; left: 0; background: var(--logo-image); opacity: 0.25; background-position: center bottom; background-size: auto calc(var(--header-height-on-desktop) - 2rem); background-repeat: no-repeat; } #header div#top-bar { font-size: 1rem; } } /* tags */ #main-content .page-tags { box-shadow: none; padding: 0; margin: 0; font-size: 1rem; } #main-content .page-tags::before { display: none; } #main-content .page-tags span { display: inline-flex; padding-top: -1px; font-size: inherit; } #main-content .page-tags span::before { color: rgb(var(--swatch-text-general)); content: "标签:" font-weight: bold; } @media only screen and (min-width: 56.25rem) { /* title */ #page-title, .meta-title { margin: 0; margin-top: 0.5rem; font-size: 2.5em; } #page-title, .meta-title { font-size: 3em; } /* center header */ #header :is(h1, h2) { width: 100%; max-width: var(--header-width-on-desktop); display: flex; } #header h1 a { margin: 4rem auto; } #header h2 span { margin-left: unset; font-size: 0; margin-top: 7.5rem; align-content: center; width: 100%; text-align: center; } #header h2 span::before { font-size: var(--header-h2-font-size); } } /* buttons */ div[id*=page-options-bottom]:not(.page-rate-widget-box):not(#search-top-box-form)>a.btn { padding: 3px; box-shadow: none; flex-basis: 7rem; } div[id*=page-options-bottom]>a:after { content: none; } /* removing --swatch-background in places */ form#edit-page-form table.form:first-of-type tr:focus-within td:first-of-type, form#edit-post-form table.form:first-of-type tr:focus-within td:first-of-type, form#new-post-form table.form:first-of-type tr:focus-within td:first-of-type, form#new-thread-form table.form:first-of-type tr:focus-within td:first-of-type { color: rgb(var(--pale-gray-monochrome)); } form#edit-page-form .edit-page-bottomtable tr > td:nth-of-type(1) > div:nth-of-type(1):focus-within::before, form#edit-post-form .edit-page-bottomtable tr > td:nth-of-type(1) > div:nth-of-type(1):focus-within::before, form#new-post-form .edit-page-bottomtable tr > td:nth-of-type(1) > div:nth-of-type(1):focus-within::before, form#new-thread-form .edit-page-bottomtable tr > td:nth-of-type(1) > div:nth-of-type(1):focus-within::before { color: rgb(var(--pale-gray-monochrome)); } /* mobile */ @media only screen and (max-width: 56.25rem) { :root { --header-h1-font-size: 6vw; --header-h2-font-size: 3vw; } #main-content > *, #main-content > * ~ * { max-width: var(--body-width-on-mobile); } #header :is(h1, h2), #top-bar { max-width: unset; } #header div#top-bar { max-width: unset; } #header div[class*="top-bar"] > ul { max-width: unset; } #content-wrap { background: rgba(var(--gray-monochrome)); } #main-content { --swatch-background: 0,0,0,0; grid-template-areas: "action-area-top action-area-top action-area-top action-area-top action-area-top action-area-top""page-tags page-tags page-tags page-tags page-tags page-tags""page-title page-title page-title page-title page-title page-title""breadcrumbs breadcrumbs breadcrumbs breadcrumbs breadcrumbs breadcrumbs""page-content page-content page-content page-content page-content page-content""page-info-break page-info-break page-info-break page-info-break page-info-break page-info-break"". . pwatch pwatch pwatch pwatch"". . pinfo pinfo pinfo pinfo""options-1 options-1 options-1 options-1 options-1 options-1""options-2 options-2 options-2 options-2 options-2 options-2""pbottom pbottom pbottom pbottom pbottom pbottom""action-area-btm action-area-btm action-area-btm action-area-btm action-area-btm action-area-btm"; } #top-bar { -webkit-backdrop-filter: blur(13px); backdrop-filter: blur(13px); } } /* blockquote */ :is(blockquote, .blockquote, div.blockquote, [class*="blockquote"]) { background-color: rgb(var(--gray-monochrome)); } /* footnotes */ .hovertip { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); } .footnotes-footer a[href*="javascript"]::before { display: none; } .footnotes-footer a[href*="javascript"], .footnotes-footer a[href*="javascript"]:visited { color: rgb(var(--link-color)); min-width: unset; width: 1ch; } /* owindow */ #odialog-container div.owindow { -webkit-backdrop-filter: blur(13px); backdrop-filter: blur(13px); } /* tags */ #main-content { --pagetags-text-color: var(--pale-gray-monochrome); --pagetags-text-hover-color: var(--dark-gray-monochrome); } .page-tags span::before { content: "标签:"; font-size: 90%; display: inline-flex; align-items: center; } #main-content .page-tags span a:not([href^="/system:page-tags/tag/_"]), #main-content .page-tags span a:visited:not([href^="/system:page-tags/tag/_"]) { margin: 0; font-size: 90%; }