这个版式由dby2022制作,服务于本人的个人站点,借用了逐光版式的代码。
想要用这个版式,可以把
[[include :r-sandbox-cn.wikidot.com:theme:dby2022-new]]
或者
[[include :dby2022:theme:dby2022]]
塞到你的文档里!(但是第二个方法是通过@import+iftags实现的,容易崩,不推荐)
我的LOGO
文字
文字
文字
文字
文字
文字
文字1
文字
文字
文字
标题文字 | 标题文字 |
---|---|
文字 | 文字 |
文字 |
[[div class="lightblock"]]
文字
[[/div]]
[[div class="darkblock"]]
文字
[[/div]]
[[div class="styled-quote"]]
文字
[[/div]]
[[div class="dark-styled-quote"]]
文字
[[/div]]
标题示例
[[div class="titleblock"]]
[[span class="titlebox"]]标题示例[[/span]]
[[/div]]
标题示例
[[div class="dark-titleblock"]]
[[span class="dark-titlebox"]]标题示例[[/span]]
[[/div]]
[[div class="whiteblock"]]
[[/div]]
[[div class="dark-styled-quote"]]
[[/div]]
[[div class="glassblock"]]
[[/div]]
[[div class="hoverblock"]]
试试把鼠标放在上面
[[/div]]
[[div class="light-hoverblock"]]
试试把鼠标放在上面
[[/div]]
[[div class="dark-hoverblock"]]
试试把鼠标放在上面
[[/div]]
[[div class="white-hoverblock"]]
试试把鼠标放在上面
[[/div]]
[[div class="gray-hoverblock"]]
试试把鼠标放在上面
[[/div]]
[[div class="light-borderblock"]]
[[/div]]
[[div class="dark-borderblock"]]
[[/div]]
[[div class="light-border-logoblock"]]
[[/div]]
[[div class="dark-border-logoblock"]]
[[/div]]
[[div class="logoblock"]]
[[/div]]
隐藏文字:试试复制一下文字
源代码:
[[span class="bblock"]]试试复制一下[[/span]]
版式作者:dby2022
/* Purple Dby Theme [2022 Wikidot Theme] template by Lynch & Etoile theme by dby2022 */ @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://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'); @import url("https://arandintday.github.io/thebackhubscn/bhl-new.css"); @import url("https://arandintday.github.io/thebackhubscn/sidebar.css"); :root { --theme-base: "black-highlighter"; --theme-id: "liminal"; --theme-name: "Liminal Theme"; --logo-image: url(" http://r-sandbox-cn.wikidot.com/local--files/theme:dby2022-new/logo"); --header-title: "The Dbyrooms"; --header-subtitle: "绝不以群蚁的庸碌为自己内心的丰碑"; --body-font: Inter, Noto Sans SC, Arimo, Verdana, Geneva, sans-serif; --header-font: Inter, Noto Sans SC, Franklin Gothic Medium, Franklin Gothic, ITC Franklin Gothic, Arial, sans-serif; --title-font: var(--header-font); --mono-font: Recursive, Noto Serif SC, Consolas, monaco, monospace; --white-monochrome: 251, 249, 255; --pale-gray-monochrome: 251,249,255; --light-gray-monochrome: 216,191,216; --gray-monochrome: 142,95,188; --black-monochrome: 25, 20, 16; --bright-accent: 48,43,37; --medium-accent: 142,84,188; --dark-accent: 142,84,188; --pale-accent: 142,84,188; --swatch-topmenu-border-color: var(--medium-accent); --link-color: 139,0,139; --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); } /* #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: .063rem 0.1rem 0.1rem #0c0c0c; } a.newpage { background: transparent; text-decoration: none } a.newpage { color: rgb(var(--newpage-color)) } blockquote { box-shadow: 0.05rem 0.1rem 0.3rem rgba(0, 0, 0, .25); } .styled-quote { background-color: rgb(var(--white-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; } /* 去除用户信息中头像白边 */ #odialog-container .owindow>div.modal-body>img[style*="padding: 2px 8px;"]:first-child { background-color: initial!important; } form#edit-page-form .edit-page-bottomtable tr>td:nth-of-type(1)>div:nth-of-type(1)::before { content: "简要修改说明"; } table.page-history tr:nth-of-type(2) td:nth-of-type(1)::before { content: "版本"; } table.page-history tr:nth-of-type(2) td:nth-of-type(3)::before { content: "标记"; } table.page-history tr:nth-of-type(2) td:nth-of-type(4)::before { content: "操作"; } table.page-history tr:nth-of-type(2) td:nth-of-type(5)::before { content: "更新者"; } table.page-history tr:nth-of-type(2) td:nth-of-type(6)::before { content: "日期"; } #site-tools-box::before { content: "网站工具"; } #main-content .page-tags::before { content: "标签\0021b4"; } #login-status #account-options li>a[href*="/messages"]::after { content: "消息"; } [id*="u-credit"] div.credit-back::before { content: "返回"; } #toc #toc-action-bar a::after { content: "目录"; } .whiteblock { 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); } .titleblock { background-color: rgb(var(--pale-gray-monochrome)); padding: 0.5rem 1rem 0.10rem; margin: 1.5rem 0rem 0.5rem 0rem; box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25); border-top: solid rgb(var(--pale-accent)) 0.3rem; } .dark-titlebox{ position: relative; top: -1.6rem; left: -0.5rem; background-color: rgb(var(--gray-monochrome)); color: rgb(var(--black-monochrome)); padding: 0.25rem 1rem; line-height: 0.1rem; } .dark-titleblock { background-color:rgb(var(--pale-accent)); color:rgb(var(--white-monochrome)); padding: 0.5rem 1rem 0.10rem; margin: 1.5rem 0rem 0.5rem 0rem; box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25); border-top: solid rgb(var(--pale-gray-monochrome)) 0.3rem; } .titlebox{ position: relative; top: -1.6rem; left: -0.5rem; background-color: rgb(var(--pale-accent)); color: rgb(var(--white-monochrome)); padding: 0.25rem 1rem; line-height: 0.1rem; } .glassblock { background-image: linear-gradient(-30deg, rgba(var(--medium-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); } .hoverblock{ padding: 0.01rem 1rem; margin: 0.5rem 0 0.5rem 0rem; transition: box-shadow 0.3s ease-out; -webkit-transition: box-shadow 0.3s ease-out; } .hoverblock:hover,.hoverblock:focus{ box-shadow: 0px 4px 10px 0 rgba(0,0,0, .25); } .light-hoverblock{ padding: 0.01rem 1rem; margin: 0.5rem 0 0.5rem 0rem; transition: all 0.3s ease-out; -webkit-transition: all 0.3s ease-out; /* Safari */ } .light-hoverblock:hover,.light-hoverblock:focus{ background-color: rgb(var(--pale-gray-monochrome)); box-shadow: 0px 4px 10px 0 rgba(0,0,0, .25); } .dark-hoverblock{ padding: 0.01rem 1rem; margin: 0.5rem 0 0.5rem 0rem; transition: all 0.3s ease-out; -webkit-transition: all 0.3s ease-out; /* Safari */ } .dark-hoverblock:hover,.dark-hoverblock:focus{ background-color: rgb(var(--gray-monochrome)); color: rgb(var(--white-monochrome)); box-shadow: 0px 4px 10px 0 rgba(0,0,0, .25); } .white-hoverblock{ padding: 0.01rem 1rem; margin: 0.5rem 0 0.5rem 0rem; transition: box-shadow 0.3s ease-out; -webkit-transition: all 0.3s ease-out; } .white-hoverblock:hover,.white-hoverblock:focus{ box-shadow: 0px 4px 10px 0 rgba(var(--white-monochrome), .25); background-color: rgb(var(--white-monochrome)); } .gray-hoverblock{ padding: 0.01rem 1rem; margin: 0.5rem 0 0.5rem 0rem; transition: box-shadow 0.3s ease-out; -webkit-transition: all 0.3s ease-out; } .gray-hoverblock:hover,.hoverblock:focus{ background-color: rgb(var(--pale-accent)); color: rgb(var(--white-monochrome)); } div.titleaoe { text-align: center; font-size: 60px; cursor: default; width: fit-content; margin: 0 auto; height:300px; } .maintitle { font-size: 80px; padding-right: 160px; font-family: 'Italianno', serif; } .midtitle { font-size: 30px; font-family:"Times New Roman",Georgia,Serif; } .subtitle { padding-left: 100px; font-family:"Times New Roman",Georgia,Serif; } .titleaoe:hover .maintitle { padding-right: 300px; } .titleaoe:hover .subtitle { padding-left: 240px; } .maintitle, .subtitle, .midtitle { transition: all .5s ease-in-out; color: #381e02; } .titleaoe:hover .maintitle { font-size: 82px; filter: drop-shadow(0px 0px 3px rgb(var(--hover-link-color))); color: #381e02; } .titleaoe:hover .subtitle { font-size: 62px; filter: drop-shadow(0px 0px 3px rgb(var(--hover-link-color))); color: #381e02; } .titleaoe:hover .midtitle { font-size: 32px; filter: drop-shadow(0px 0px 3px rgb(var(--hover-link-color))); color: #381e02; } @media (max-width:767px) { div.titleaoe { text-align: center; font-size: 40px; cursor: default; width: fit-content; margin: 0 auto; } .maintitle { font-size: 65px; padding-right: 40px; font-family: 'Italianno', serif; } .midtitle { font-size: 20px; } .subtitle { padding-left: 40px; font-family:"Times New Roman",Georgia,Serif; } .titleaoe:hover .maintitle { padding-right: 50px; } .titleaoe:hover .subtitle { padding-left: 50px; } .maintitle, .subtitle, .midtitle { transition: all .5s ease-in-out; color: #381e02; } .titleaoe:hover .maintitle { font-size: 67px; filter: drop-shadow(0px 0px 3px rgb(var(--hover-link-color))); color: #381e02; } .titleaoe:hover .subtitle { font-size: 42px; filter: drop-shadow(0px 0px 3px rgb(var(--hover-link-color))); color: #381e02; } .titleaoe:hover .midtitle { font-size: 22px; filter: drop-shadow(0px 0px 3px rgb(var(--hover-link-color))); color: #381e02; } } .interwiki1 { background: rgb(var(--light-gray-monochrome)); margin: 10px 15px; padding: 10px; border: none; border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,102,.5); box-sizing: border-box; /*width: 15em;*/ width: calc(var(--base-font-size*0.93333*19)); } .interwiki1_title { color: rgb(var(--black-monochrome)); border-bottom: solid 1px rgb(var(--black-monochrome)); 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(var(--black-monochrome)); position: relative; margin: 0 7px 0 5px; bottom: 3px; } .interwiki1_entry a, .interwiki1_entry a:visited { font-weight: bold; color: rgb(var(--black-monochrome)); text-decoration: none; background: transparent; } .interwiki1_entry a:hover { color: rgb(var(--black-monochrome)); background-color: transparent; text-decoration: underline; } .dark-borderblock { background-color:rgb(var(--gray-monochrome)); color:rgb(255, 255, 255); padding: 0.01rem 1rem; margin: 0.5rem 0 0.5rem 0.25rem; box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25); border: solid 0.3rem rgb(var(--white-monochrome)); } .light-borderblock { 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); border: solid 0.3rem rgb(var(--dark-accent)); } .light-border-logoblock{ padding: 0.01rem 1rem; box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25); color:rgb(0,0,0); margin: 0.5rem 0 0.5rem 0.25rem; display: block; position: relative; background-color: rgb(var(--white-monochrome)); border: solid 0.3rem rgb(var(--dark-accent)); } .light-border-logoblock::after{ content: ""; float: center; border: solid 2px #0000; background: url( http://r-sandbox-cn.wikidot.com/local--files/theme:dby2022-new/logo) center/25% no-repeat; opacity: 0.25; top: 0; left: 0; bottom: 0; right: 0; position: absolute; z-index: 1; } .dark-border-logoblock{ padding: 0.01rem 1rem; box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25); color:rgb(255, 255, 255); margin: 0.5rem 0 0.5rem 0.25rem; display: block; position: relative; background-color: rgb(var(--gray-monochrome)); border: solid 0.3rem rgb(var(--white-monochrome)); } .dark-border-logoblock::after{ content: ""; float: center; border: solid 2px #0000; background: url( http://r-sandbox-cn.wikidot.com/local--files/theme:dby2022-new/logo) center/25% no-repeat; opacity: 0.25; top: 0; left: 0; bottom: 0; right: 0; position: absolute; z-index: 1; } .logoblock{ padding: 0.01rem 1rem; color:rgb(255, 255, 255); box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25); margin: 0.5rem 0 0.5rem 0.25rem; display: block; position: relative; background-color: rgb(var(--dark-accent)); } .logoblock::after{ content: ""; float: center; border: solid 2px #0000; background: url( http://r-sandbox-cn.wikidot.com/local--files/theme:dby2022-new/logo) center/25% no-repeat; opacity: 0.25; top: 0; left: 0; bottom: 0; right: 0; position: absolute; z-index: 1; } .borderblock { background-color:rgb(var(--dark-accent)); color:rgb(255, 255, 255); padding: 0.01rem 1rem; margin: 0.5rem 0 0.5rem 0.25rem; box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25); border: solid 0.3rem rgb(var(--white-monochrome)); } .green-sn-block { background-color:rgb(var(--dark-accent)); color:rgb(255, 255, 255); border-left: 0.5rem solid rgb(0, 255, 0); padding: 0.1rem 1rem; margin: 0.5rem 0 0.5rem 0.25rem; box-shadow: 0.05rem 0.1rem 0.3rem rgba(0,0,0,.5); } .bblock::hover{ color:white; }