版式:The Backrooms-P

这是severinesunseverinesun为The Backrooms-P中文wiki制作的主题文件。
这里引用了所有排版工具组的代码
请参见此教程

/*
   Liminal Theme
   [2020 Wikidot Theme]
   改自The Backrooms主站
*/
 
/*
@import url('https://fontlibrary.org/face/fantasque-sans-mono');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC&display=swap');
*/
@import url("https://arandintday.github.io/thebackhubscn/normalize-archived.css");
@import url("https://arandintday.github.io/thebackhubscn/bhl-archived.css");
@import url("https://arandintday.github.io/thebackhubscn/sidebar-archived.css");
@import url("https://arandintday.github.io/thebackhubscn/banlist.css");
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@300;400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@300;400;700;900&display=swap');
@import url('https://fastly.jsdelivr.net/gh/scp-cn-tech/sigma9@cn/modules/colstyle.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');
:root {
    --theme-base: "black-highlighter";
    --theme-id: "liminal";
    --theme-name: "Liminal Theme";
    --logo-image: url("http://backrooms-p-cn.wikidot.com/local--files/start/Backrooms-p%20Logo%20New");
    --header-title: "The Backrooms-P";
    --header-subtitle: "你将会来到这里";
    --body-font: Noto Serif SC;
    --header-font: Noto Serif SC;
    --title-font: var(--header-font);
    --mono-font: Noto Serif SC;
    --white-monochrome:  255,228,196;
    --very-light-gray-monochrome: 157,61,12;
    --light-gray-monochrome: 157,61,12;
    --gray-monochrome: 215,177,158;
    --dark-gray-monochrome: 115,142,159;
    --black-monochrome: 205 102 29;
    --medium-accent: 115,142,159;
    --dark-accent: 157,61,12;
    --pale-gray-monochrome: 215,177,158
    --bright-accent: 215,177,158;
    --swatch-topmenu-border-color: var(--medium-accent);
    --link-color: 230, 23, 68;
    --hover-link-color: 187, 0, 34;
    --visited-link-color: 150, 24, 43;
    --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);
    --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)
    --accentColor: var(--medium-accent);
    --palte-gradient: linear-gradient(90deg, #ff6b6b, #ff8e53, #ffca28, #4ecdc4, #45b7d1, #96ceb4, #ff6b6b);
  --gold-gradient: linear-gradient(135deg, #d4af37, #ffd700, #b8860b, #ffd700, #d4af37);
  --silver-gradient: linear-gradient(135deg, #a9a9a9, #c0c0c0, #808080, #c0c0c0, #a9a9a9);
    --gold-gradient-hover: linear-gradient(135deg, #fffacd, #ffd700, #fffacd, #ffec8b, #fffacd);
    --silver-gradient-hover: linear-gradient(135deg, #e6e6e6, #f5f5f5, #ffffff, #f0f0f0, #e6e6e6);
    --blue-white-gradient: linear-gradient(135deg, #1e40af, #3b82f6, #93c5fd, #ffffff, #93c5fd);
 /* 彩虹渐变变量 */
  --rainbow-gradient: linear-gradient(
    90deg,
    #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff, #ff0000
  );
  --rainbow-gradient-hover: linear-gradient(
    90deg,
    #ff6666, #ffa366, #ffff66, #66ff66, #6666ff, #7d4bb8, #b366ff, #ff6666
  );
  /* 彩虹色系变量 */
  --rainbow-red: #ff0000;
  --rainbow-orange: #ff7f00;
  --rainbow-yellow: #ffff00;
  --rainbow-green: #00ff00;
  --rainbow-blue: #0000ff;
  --rainbow-indigo: #4b0082;
  --rainbow-violet: #8b00ff;
}
 
/*
#login-status {
   position: absolute !important;
}
#account-options {
   display: none !important;
}
*/
 
#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, transparent 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: .093rem 0.3rem 0.3rem #778899;
}
 
#page-title:hover {
    color: #FFE4C4;
    background: #9D3D0C;
}
 
a.newpage {
    background: transparent;
    text-decoration: none
}
 
a.newpage {
    color: rgb(var(--newpage-color))
}
 
@keyframes rainbow2 {
  from {
    color: #114514;
  }
  10% {
    color: #191981;
  }
  50% {
    color: #893364;
  }
  75% {
    color: #810931;
  }
  100% {
    color: #889464;
  }
}
 
.rainbow2{  
  animation-name: rainbow2;
  animation-duration: 2s;
  animation-iteration-count: infinite;
 }
 
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));
}
 
#side-bar div.menu-item a[href*="/scp-"] {
    text-align: left !important;
    width: auto !important;
}
 
#side-bar div.menu-item.small a {
    justify-content: center;
    width: auto;
    padding: 0 0.25em;
    text-indent: 0;
    white-space: nowrap;
}
 
#side-bar div.menu-item a {
    justify-content: flex-start;
    padding: 0 0 0 calc(var(--base-font-size)*.93333);
}
 
#side-bar div.menu-item,
#side-bar div.menu-item>p {
    display: flex;
    flex-shrink: 0;
    flex-basis: 100%;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-start;
    height: 1.5rem;
    min-height: 1.5rem;
    margin: 0;
    padding: 0;
    box-shadow: inset 0 calc(var(--sidebar-internal-border-thickness)*-1) 0 0 rgba(var(--sidebar-border-color));
    font-size: 0;
}
 
#side-bar div.menu-item>:last-child {
    flex-grow: 2;
}
 
#side-bar .side-block {
    margin-top: -0.5rem;
}
 
#side-bar div.menu-item a:not(a:first-child) {
    border-left: var(--sidebar-internal-border-thickness) solid rgba(var(--swatch-border-color), .08)
}
 
#side-bar div.scpnet-interwiki-wrapper {
    min-height: 300px;
}
 
.thread-container .post .long .content .image:not(.collapsible-block .image) {
    object-fit: cover;
    max-height: 2em;
    width: 100%;
    transition: max-height 0.5s;
}
 
.thread-container .post .long .content .image:hover:not(.collapsible-block .image) {
    max-height: 100em;
}
 
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%;
    }
}
/* Content Warning */
#page-content div#u-adult-warning {
    width: fit-content;
    margin: 0 auto 1.25rem;
    padding: 0.5rem 1rem;
    border: 3px solid #333;
    background: #e4e4e4;
    color: #333;
    text-align: center;
    font-weight: bold;
}
#page-content div#u-adult-warning > div#u-adult-header {
    font-size: 300%;
    text-shadow: 1px 2px 3px rgba(0, 0, 0, .5);
    color: #901;
}
#page-content div#u-adult-warning > div#u-adult-header p {
    margin: 0;
}
#page-content div#u-adult-warning > .error-block {
    color: unset;
    padding: unset;
    margin: unset;
    border: unset;
    margin-bottom: 1em;
}
 
code{
    color:black;
    background:white;
    font-size: 1rem;
    font-family: 'Fira Code' , monospace;
}
 
.hl-code {color: black;}
.hl-var {color: #caff70;}
.hl-identifier {color: black;}
.hl-identifier {color: black;}
.hl-reserved {color: #ffaeb9;}
.hl-number {color: #b0e2ff;font-style:italic;}
.hl-string {color: #ffd700;}
.hl-brackets {color: #969696;}
.hl-special {color: #5b5bff;font-weight: bold;}
 
/* 去除用户信息中头像白边 */
#odialog-container .owindow>div.modal-body>img[style*="padding: 2px 8px;"]:first-child {
    background-color: initial!important;
}
/**
 *  旧代码合集
 *  为了向下兼容而保留
 */
 
.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;
    margin-left: auto;
    margin-right: auto
}
 
div[class*="grider"].offwith-grid-gap { grid-gap: 0 }
 
/**
 * 网格布局
 */
 
/* 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: "ⓘ "
}
div.note {
    background: #4f4f4f;
    border-left: dashed 6px var(--accentColor);
    border-top: none;
    border-right: none;
    border-bottom: none;
    padding: 0.2em 0.2em 0.2em 0.5em;
    box-shadow: 5px 5px 0px #404040;
    max-width:
}
 
div.typer {
    background: #000;
    border-top: solid 3px #7f7;
    padding: 1rem;
    width: 90%;
    margin: 0 auto;
    border-bottom: solid 3px #7f7;
    transition:box-shadow 0.5s;
    box-shadow:0px 0px 0px rgba(0,0,0,0);
    margin-top: 0.5em;
}
 
div.blockquote {
    box-shadow:-3px 0px 0px var(--accentColor) !important;
}
 
div.typer:hover {
    box-shadow:0px 0px 15px rgba(0,255,0,0.5);
}
 
div.typer blockquote {
    border-left:solid 3px #0c0;
    box-shadow:none;
}
 
div.typer div.note {
    border-left: dashed 6px #0c0;
}
 
div.typer a {
    color:#00ff00;
}
 
div.typer a:hover {
    color:#ffffff;
    background-color:#00dd00;
    text-decoration: underline !important;
 
}
 
div.typer a:hover::before {
    content:'>'
}
 
div.modal {
    background: #4b4b4b;
    padding: 0.3em 1em 0.3em 1em;
    margin-top: 0.5em;
    border: solid 2px #5d5d5d;
}
 
div.modal2 {
    background: #4b4b4b;
    padding: 0.3em 1em 0.3em 1em;
    margin-top: 0.5em;
    border: solid 2px #5d5d5d;
    border-radius: 12px;
}
 
div.modal3 {
    background: #292929;
    padding: 0.3em 1em 0.3em 1em;
    margin-top: 0.5em;
    border-left: solid 5px #999999;
    border-right: solid 5px #999999;
}
span.type-cursor::after {
    content: '_';
    background: rgba(255,255,255,0);
    animation: typeblink 0.6s infinite;
    -webkit-animation: typeblink 1s infinite;
    padding-left: 0.1rem;
    padding-right: 0.1rem;
}
.code {
    background-color: #FFFFFF;
    border: solid 3px var(--accentColor);
    box-shadow: 0px 0px 10px var(--accentColor);
}
 
.code pre, .code p, .code {
    color: #fff;
}
 
.hl-code {color: #c1c1c1;}
.hl-var {color: #6dff6d;}
.hl-identifier {color: #FFB6C1;}
.hl-identifier {color: #FFB6C1;}
.hl-reserved {color: #9898ff;}
.hl-number {color: #de80ff;font-style:italic;}
.hl-string {color: #fffb3e;}
.hl-brackets {color: #969696;}
.hl-special {color: #5b5bff;font-weight: bold;}
 
.forum-group div.head {
    background-color: #CD661D;
    color: #FFDEAD;
    padding: 0.5em 1em;
    margin: 0;
    border: 3px solid #717171;
}
 
.forum-group table,.forum-category-box table {
    border-spacing: 0px;
}
 
.forum-category-box table {
    border:none;
}
 
.forum-group table td {
    border: 2px solid rgba(115,142,159,0.3);
    padding: 2px 10px;
}
 
.forum-group table tr.head td,.forum-category-box table tr.head td {
    text-align: center;
    font-size: 85%;
    background-color: var(--accentColor);
}
 
.forum-category-box .description-block {
    border: 3px solid #FFE4C4;
    margin: 1em 4em;
    padding: 0.5em;
    background-color: #FFDAB9;
    height: 100%;
    overflow: hidden;
}
 
div.new-post {
    text-align: center;
    margin: 20px 0;
}
 
div.new-post a {
    border: 6px solid var(--accentColor);
    background-color: #CD661D;
    padding: 5px 10px;
    font-size: 100%;
    font-weight: bold;
    color: #fff;
    border-radius: 18px;
    transition:background-color 0.4s, color 0.4s, padding 0.4s
}
 
div.new-post a:hover {
    background-color: var(--accentColor);
    color: #CD661D;
    padding: 5px 50px;
}
 
.forum-thread-box .description-block {
    padding: 0.5em 1em;
    border-radius: 0px;
    box-shadow: none;
    background: #FFDAB9;
    border: solid 3px var(--accentColor);
}
 
.thread-container .post .head {
    padding: 0.5em 1em;
    background-color: #FFE4C4;
    background-image: linear-gradient(63deg, #483D8B, #7B68EE);
    box-shadow: inset 2px 3px 6px rgb(0 0 0 / 15%);
    border-radius: 0px;
}
 
.thread-container .post {
    padding: 10px 0 10px 0;
    width: 99%;
    border-left: solid 4px var(--accentColor);
    padding-left: 1em;
    margin-top: 1em;
}
 
.thread-container .post .long .head .info {
    background-image: linear-gradient(45deg, transparent, transparent);
    padding: 3px;
    border-radius: 1em;
    padding: 0px;
    font-size: 0.8rem;
    left: -2em;
    position: relative;
}
 
div.info .printuser img.small {
    vertical-align: -1.7em;
    margin: 0px;
    width: 32px;
    height: 32px;
    z-index: 0;
    padding: 11px 11px 11px 11px;
    background-repeat: no-repeat;
    background-position: 395% 80%;
    border-radius: 50%;
    background-size: 45px 17px;
}
 
.glassblock {
   background-image: linear-gradient(-30deg,
      rgba(var(--bright-accent),.8) -80%,
      rgba(var(--white-monochrome),.4) 100%);
   border: solid rgb(var(--pale-accent)) 2px;
   padding: 0.01rem 1rem;
   margin: 0.5rem 0 0.5rem 0rem;
   box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25);
}
/*备用彩蛋
img.small {
background-image:url(http://www.wikidot.com/common--theme/base/images/karma/karma_5.png)!important;
}
*/
div#lock-info {
  font-size: 0;
  margin: .8rem 0;
  padding: 0.4rem .8rem;
}
 
div#lock-info > strong {
  font-size: .82rem;
}
 
div#lock-info > br {
  display: none;
}
 
div#lock-info::before {
  content: '我告诉你啊,你现在拥有一个15分钟的闲置锁定,别墨迹,快点写,别瞎写,别整个垃圾出来\A这个锁定将在闲置 ';
  display: inline;
  font-size: .82rem;
  white-space: pre-wrap;
}
 
div#lock-info::after {
  content: ' 秒后失效嗷,快点嗷!——severinesun';
  display: inline;
  font-size: .82rem;
}
 
body[class="wait"] a[name="page-top"][target]+div #main-content #action-area div#lock-info::before {
  content: '保存页面中……\A若此提示因为傻逼Wikidot已经显示了很长时间,建议将编辑框中的内容复制到剪切板然后刷新本页重新编辑。';
  display: inline;
  font-size: .82rem;
  color: red;
  white-space: pre-wrap;
}
 
/* 动态渐变 - palte */
a[href*="user:info/palte"] .username,
a[href*="user:info/palte"] {
  background: linear-gradient(90deg, #ff6b6b, #ff8e53, #ffca28, #4ecdc4, #45b7d1, #96ceb4, #ff6b6b) !important;
  background-size: 300% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: palte-gradient-animation 3s ease infinite !important;
  font-weight: bold !important;
  color: transparent !important;
}
 
/* 金色渐变用户组 */
a[href*="user:info/gangjing999"] .username,
a[href*="user:info/severinesun"] .username,
a[href*="user:info/luohaotian"] .username,
a[href*="user:info/starry_milky_way"] .username,
a[href*="user:info/capybara13"] .username,
a[href*="user:info/gangjing999"],
a[href*="user:info/severinesun"], 
a[href*="user:info/luohaotian"],
a[href*="user:info/starry_milky_way"],
a[href*="user:info/capybara13"] {
  background: var(--gold-gradient) !important;
  background-size: 200% 200% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: bold !important;
  color: transparent !important;
  text-shadow: 0 0 1px rgba(255, 215, 0, 0.3) !important;
}
 
/* 银色渐变用户组 - 修正blueberrybushilanmei */
a[href*="user:info/a-sleepy"] .username,
a[href*="user:info/blueberrybushilanmei"] .username,  /* 修正为 bushilanmei */
a[href*="user:info/lmaojoker"] .username,
a[href*="user:info/a-sleepy"],
a[href*="user:info/blueberrybushilanmei"],  /* 修正为 bushilanmei */
a[href*="user:info/lmaojoker"] {
  background: var(--silver-gradient) !important;
  background-size: 200% 200% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: bold !important;
  color: transparent !important;
  text-shadow: 0 0 1px rgba(192, 192, 192, 0.4) !important;
}
 
/* 动画定义 */
@keyframes palte-gradient-animation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
 
/* 悬停效果 */
a[href*="user:info/palte"]:hover .username,
a[href*="user:info/palte"]:hover {
  animation-duration: 1.5s !important;
}
 
a[href*="user:info/gangjing999"]:hover .username,
a[href*="user:info/severinesun"]:hover .username,
a[href*="user:info/luohaotian"]:hover .username,
a[href*="user:info/starry_milky_way"]:hover .username,
a[href*="user:info/capybara13"]:hover .username {
  background: linear-gradient(135deg, #fffacd, #ffd700, #fffacd, #ffec8b, #fffacd) !important;
  text-shadow: 0 0 2px rgba(255, 215, 0, 0.5) !important;
}
 
/* 悬停效果 - 修正blueberrybushilanmei */
a[href*="user:info/a-sleepy"]:hover .username,
a[href*="user:info/blueberrybushilanmei"]:hover .username,  /* 修正为 bushilanmei */
a[href*="user:info/lmaojoker"]:hover .username {
  background: linear-gradient(135deg, #e6e6e6, #f5f5f5, #ffffff, #f0f0f0, #e6e6e6) !important;
  text-shadow: 0 0 2px rgba(192, 192, 192, 0.6) !important;
}
 
/* 蓝白渐变用户 - KWLDXSC */
a[href*="user:info/kwldxsc"] .username,
a[href*="user:info/kwldxsc"] {
  background: var(--blue-white-gradient) !important;
  background-size: 200% 200% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: bold !important;
  color: transparent !important;
  text-shadow: 0 0 2px rgba(30, 64, 175, 0.4) !important;
}
 
/* 蓝白渐变悬停效果 */
a[href*="user:info/kwldxsc"]:hover .username,
a[href*="user:info/kwldxsc"]:hover {
  background: linear-gradient(135deg, #3b82f6, #60a5fa, #bfdbfe, #ffffff, #bfdbfe) !important;
  text-shadow: 0 0 3px rgba(59, 130, 246, 0.6) !important;
}
 
/* 快速彩虹闪烁效果 - 无阴影 
a[href*="user:info/sleeped"] .username,
a[href*="user:info/sleeped"] {
  animation: rainbow-flash 0.8s linear infinite !important;
  font-weight: bold !important;
  padding: 0 2px !important;
  border-radius: 3px !important;
}
 
@keyframes rainbow-flash {
  0% { color: var(--rainbow-red) !important; }
  14% {color: var(--rainbow-orange) !important;}
  28% {color: var(--rainbow-yellow) !important;}
  42% {color: var(--rainbow-green) !important;}
  56% {color: var(--rainbow-blue) !important;}
  70% {color: var(--rainbow-indigo) !important;}
  84% {color: var(--rainbow-violet) !important;}
  100% {color: var(--rainbow-red) !important;}}
 
a[href*="user:info/sleeped"]:hover .username,
a[href*="user:info/sleeped"]:hover {
  animation-duration: 0.5s !important;
}
 
a[href*="user:info/sleeped"]::after {
  background: var(--after-background) !important;
  background-size: 100% !important;
  animation: none !important;
}*/
/* 替代方案:使用背景渐变动画 */
a[href*="user:info/sleeped"] .username,
a[href*="user:info/sleeped"] {
  background: linear-gradient(90deg, 
    #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #8b00ff, #ff0000);
  background-size: 600% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow-scroll 1.2s linear infinite;
  font-weight: bold;
  padding: 0 2px;
  border-radius: 3
除非特别注明,本页内容采用以下授权方式: Creative Commons Attribution 3.0 License