站点版式
这是一个由 BaiRX 制作的 FS站点 版式。(logo也由bairx制作)
若需使用本版式,请将以下代码放置在你页面的顶部:
[[include :fs-backrooms-wiki-cn:theme:fs]]
但由于FS分站的神秘属性,所以你得自己加。but现在好了。
代码如下:
/*
改自Liminal Theme[2020 Wikidot Theme]
*/
@import url('https://fontlibrary.org/face/fantasque-sans-mono');
@import url("https://backrooms-wiki.wdfiles.com/local--files/component%3Atheme/normalize-archived.css");
@import url("https://backrooms-wiki.wdfiles.com/local--files/component%3Atheme/bhl-archived.css");
@import url("https://backrooms-wiki.wikidot.com/local--files/component:theme/sidebar.css");
:root {
--theme-base: "black-highlighter";
--theme-id: "liminal";
--theme-name: "Liminal Theme";
--logo-image: url("https://i.postimg.cc/pTJ4Y7mJ/FSlogo.png");
--header-title: "后室FS层群";
--header-subtitle: "自由且安全";
--body-font: Arial, sans-serif;
--header-font: 'Fantasque Sans Mono', monospace;
--title-font: 'Fantasque Sans Mono', monospace;
--mono-font: 'Fantasque Sans Mono', monospace;
--white-monochrome: 237, 233, 223;
--pale-gray-monochrome: 255, 251, 240;
--light-gray-monochrome: 160, 160, 160;
--gray-monochrome: 72, 69, 60;
--black-monochrome: 25, 20, 16;
--bright-accent: 140, 136, 126;
--medium-accent: 72, 69, 60;
--dark-accent: 140, 136, 126;
--pale-accent: 140, 136, 126;
--swatch-topmenu-border-color: var(--medium-accent);
--link-color: 230, 23, 68;
--hover-link-color: 230, 23, 68;
--background-gradient-distance: 0rem;
--gradient-header: linear-gradient(to top,
rgba(var(--medium-accent)) 0%,
rgba(var(--medium-accent), 0.90) 100%
);
--diagonal-stripes: linear-gradient(transparent 0);
}
body#html-body{
overflow-x: hidden;
}
#skrollr-body {
background-image:
radial-gradient(circle, rgb(var(--medium-accent)) 50%, transparent 0);
background-repeat: repeat;
background-size: 0.25em 0.25em;
width: 100%;
height: 7.5rem;
}
#side-bar .side-block div a img {
filter: grayscale(100%);
}
#container {
background-image: radial-gradient(circle, rgb(var(--medium-accent), 0.05) 50%, transparent 0);
background-size: 0.25em 0.25em;
background-repeat: repeat;
background-attachment: fixed;
}
div#page-options-bottom-2 > a, div#page-options-bottom > a {
border-radius: 0em;
-moz-border-radius: 0em;
border: none;
}
div#page-options-bottom-2 > a:active, div#page-options-bottom-2 > a:hover, div#page-options-bottom > a:active, div#page-options-bottom > a:hover {
border: none;
}
#header, #top-bar {
background-attachment: scroll;
}
#header {
background-image: none;
}
#header::before {
content: "";
position: absolute;
height: 100%;
width: 100%;
left: 0;
top: 0;
background-image: var(--logo-image);
background-size: auto 16rem;
background-position: center;
background-repeat: no-repeat;
opacity: 0.4;
}
#header h1, #header h1 a {
position: absolute;
top: 1rem;
margin: 0;
width: 100%;
display: flex;
justify-content: center;
z-index: 0;
}
#header h2, #header h2 span, #header h2 span::before {
position: absolute;
top: 2rem;
margin: 0;
width: 100%;
display: flex;
justify-content: center;
}
#header h1 a::before, #header h2 span::before {
text-shadow: .063rem 0.1rem 0.1rem #0c0c0c;
}
a.newpage {
background: transparent;
text-decoration: none
}
a.newpage {
color: rgb(var(--newpage-color))
}
div.block-center {
min-width: 30%
}
@media only screen and (max-width:768px) {
div.block-center {
min-width: 40%
}
}
blockquote {
box-shadow: 0.05rem 0.1rem 0.3rem rgba(0,0,0,.25);
}
.styled-quote {
background-color:rgb(var(--pale-gray-monochrome));
border-left: 0.5rem solid rgba(var(--gray-monochrome));
padding: 0.1rem 1rem;
margin: 0.5rem 0 0.5rem 0.25rem;
box-shadow: 0.05rem 0.1rem 0.3rem rgba(0,0,0,.25);
}
.dark-styled-quote {
background-color:rgb(var(--gray-monochrome));
border-left: 0.5rem solid rgba(var(--pale-gray-monochrome));
color:rgb(var(--white-monochrome));
padding: 0.1rem 1rem;
margin: 0.5rem 0 0.5rem 0.25rem;
box-shadow: 0.05rem 0.1rem 0.3rem rgba(0,0,0,.25);
}
.dark-styled-quote a{
color: rgb(var(--swatch-menubg-medium-color));
}
.lightblock {
background-color:rgb(var(--white-monochrome));
padding: 0.01rem 1rem;
margin: 0.5rem 0 0.5rem 0.25rem;
box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25);
}
.darkblock {
background-color:rgb(var(--gray-monochrome));
color:rgb(var(--white-monochrome));
padding: 0.01rem 1rem;
margin: 0.5rem 0 0.5rem 0.25rem;
box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25);
}
.darkblock a {
color: rgb(var(--swatch-menubg-medium-color));
}
.interwiki1_title {
color: rgb(80,77,66);
border-bottom: solid 1px rgb(80,77,66);
padding-left: 15px;
margin-top: 10px;
margin-bottom: 5px;
font-size: 8pt;
font-weight: bold;
}
.interwiki1_entry {
position: relative;
margin: 2px 0;
}
.interwiki1_entry p::before {
content: "■";
font-size: 9px;
color: rgb(80,77,66);
position: relative;
margin: 0 7px 0 5px;
bottom: 3px;
}
.interwiki1_entry a, .interwiki1_entry a:visited {
font-weight: bold;
color: #b01;
text-decoration: none;
background: transparent;
}
.interwiki1_entry a:hover {
background-color: transparent;
text-decoration: underline;
}
div.scpnet-interwiki-wrapper {
margin: 0;
width: auto;
}
iframe.scpnet-interwiki-frame {
border: inherit;
width: 100%;
height: 230px;
}
@media (min-width:768px) {
div.scpnet-interwiki-wrapper,
iframe.scpnet-interwiki-frame {
width: 100%;
}
}
/* remove the input on the searchbar because it doesn't work */
#search-top-box-input {
display: none;
}
/* add a wee message to the deletion thing or the rename thing */
#rename-option-rename::before, #rename-option-delete::before {
content: "提醒:后室FS层群用户可以重命名他们自己的页面,但要负责任地使用(最好是在名称有错误的情况下)。只有工作人员才能删除页面,甚至是您自己的页面:请询问管理员,我们将帮助您!";
color: red;
display: block;
margin-top: 1rem;
}页面版本: 6, 最后编辑于: 21 Feb 2024 14:37