灰度

组件展示

存储特定组件的源代码。你可以使用他们。

在得到管理人员许可前请勿擅自编辑。


评分: 0+x

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

[[include :chen-xx:component:gray-world]](外站)
[[include component:gray-world]]

引用方块就是上面那位。

标题

2 级标题

logo.svg

这是一张测试图片。

可通过五个连字符“-----”创建水平分割线。若它未被放在其他部件(诸如引用块)中,则会左右延伸贯穿页面。这种将文件分割为多个部分的线就是分割线。


标题 标题 标题 标题 标题 标题
子内容 子内容 子内容 子内容 子内容 子内容

一个链接 (一个你可能已经访问过的链接)


此为分页(tab view)。

分页背后的代码已经过调整,故可以显示过渡。点击另一个tab来观看华丽顺畅的效果。



白昼之光,岂知黑夜之深。


/*
First Cteated On 16 Nov 2019 by Chen XX
Under Sigma-9 Theme and Follow CC-BY-SA 3.0 License
*/
@import url(http://chen-xx.wikidot.com/component:theme-summer/code/1);
 
div#container-wrap {
    background: url("http://scpsandboxcn.wikidot.com/local--files/chen-xx-pictures/top.png") top left repeat-x !important;
 
}
 
div#extra-div-1 {
    height: 140px;
    width: 100%;
    top: 0;
    position: absolute;
    background: url("http://scpsandboxcn.wikidot.com/local--files/chen-xx-pictures/darkstar.jpg");
    background-size: cover;
    background-position: 50% 50%;
    filter: grayscale(50%); 
}
 
#header {
    background: url("https://www.pexels.com/zh-cn/photo/iphone-1302436/") 15px 40px no-repeat !important;
    background-size: 6rem !important;
}
 
body {
    background-color: #ccc;
    color: #000;
}
/* head */
 
h1, #page-title {
    color: #000;
    padding: 0 0 0.25em;
    margin: 0 0 0.6em;
    font-weight: normal;
}
h1 {
    margin-top: 0.7em;
    padding: 0;
    font-weight: bold;
}
h2, h3, h4, h5, h6, h7 {
    margin: 0.5em 0 0.4em;
    padding: 0;
    letter-spacing: 1px;
}
#page-title {
    border-color: #000;
}
 
a {
    color: #eee;
    text-decoration: none;
    background: transparent;
}
 
a:visited {
    color: #000;
}
 
a.newpage {
    color: #eee;
    text-decoration: none;
    background: transparent;
}
 
a:hover {
    text-decoration: underline;
    background-color: transparent;
}
 
#side-bar a {
    color: #ccc;
    text-decoration: none;
    background: transparent;
    font-weight: bold;
}
 
#side-bar a:visited {
    color: #000;
    font-weight: bold
}
 
#side-bar a:hover {
    text-decoration: underline;
    background-color: transparent;
}
/* topbar */
#top-bar {
    position: absolute;
    z-index: 50;
    top: 140px;
    height: 21px;
    line-height: 18px;
    padding: 0;
    z-index: 20;
    font-size: 90%;
}
 
#top-bar ul {
    float: right;
}
 
#top-bar li {
    margin: 0;
}
 
#top-bar a {
    color: #fff;
    background: transparent;
}
 
#top-bar li a {
        padding: 1px 0.5em;
}
 
#top-bar ul li {
    border: 0;
    position: relative;
}
 
#top-bar ul li ul {
    border: solid 1px #666;
    box-shadow: 0 2px 6px rgba(0,0,0,.5);
    border-top: 0;
}
 
#top-bar ul li a {
    border-left: solid 1px rgba(64,64,64,.1);
    border-right: solid 1px rgba(64,64,64,.1);
    text-decoration: none;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 1px;
    max-height: 1px;
    overflow: hidden;
}
 
#top-bar ul li.sfhover a,
#top-bar ul li:hover a {
    background: #484848;
    color: #fff;
    border-left: solid 1px rgba(64,64,64,1);
    border-right: solid 1px rgba(64,64,64,1);
}
 
#top-bar ul li.sfhover ul li a,
#top-bar ul li:hover ul li a {
    border-width: 0;
    width: 150px;
    border-top: 1px solid #ddd;
    line-height: 160%;
    height: auto;
    max-height: none;
    padding-top: 0;
    padding-bottom: 0;
}
 
#top-bar ul li.sfhover a:hover,
#top-bar ul li:hover a:hover {
    background: #000;
    text-decoration: none;
}
#top-bar ul li ul {
    border-width: 0 1px 1px 1px;
    width: auto;
}
#top-bar ul li ul li, #top-bar ul li ul li.sfhover,
#top-bar ul li ul li, #top-bar ul li ul li:hover {
    border-width: 0;
}
#top-bar ul li ul li a {
    border-width: 0;
}
#top-bar ul li ul a, #top-bar a:hover {
    color: #a01;
}
 
.top-bar ul li:last-of-type ul {
    right: 0;
}
 
/* tab */
.yui-navset .yui-nav .selected a,
.yui-navset .yui-nav .selected a:focus,
.yui-navset .yui-nav .selected a:hover {
    background: #000;
    color: white;
    border: 0px solid #0b486b;
    border-bottom: 2px solid #fff;
}
 
.yui-navset .yui-nav a,
.yui-navset .yui-navset-top .yui-nav a,
.yui-navset .yui-navset-top .yui-nav a:focus,
.yui-navset .yui-navset-top .yui-nav a:hover {
    background: #808080;
    color: white;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 2px solid #fff;
}
 
.yui-navset .yui-nav a:focus,
.yui-navset .yui-nav a:hover {
    background: #333;
    border-bottom: 2px solid #fff;
}
 
.yui-navset .yui-nav,
.yui-navset .yui-navset-top .yui-nav { /* protect nested tabviews from other orientations */
    border:solid 1px #000; /* color between tab list and content */
    border-width:0 0 5px;
    Xposition:relative;
    zoom:1;
}
 
.yui-navset .yui-nav a em,
.yui-navset .yui-navset-top .yui-nav a em {
    border: 0px;
}
 
/* sidebar */
#side-bar {
    clear: none;
    float: none;
    position: absolute;
    top: 0.5em;
    left: 2em;
    width: 17em;
    padding: 0;
    border: none;
    display: block;
}
#side-bar .side-block {
    padding: 10px;
    border: 5px double #000 !important;
    border-radius: 10px;
    box-shadow: 0 2px 6px #eee;
    margin-bottom: 15px;
 
}
 
#side-bar img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}
 
#side-bar .side-block h2 {
    color: #eee !important;
    font-weight: bold
}
 
#side-bar div.side-block {
    border: 5px double #000 !important;
    background: #eee !important;
}
 
#side-bar .side-block .heading {
    border-bottom: solid 1px #000 !important;
    padding-left: 10px;
    margin-top: 5px;
    margin-bottom: 2px;
    font-size: 8pt;
    color: #000;
    box-shadow: none;
    font-weight: bold
}
 
@media (max-width: 768px) {
#side-bar{
background: #eee;
}
}
/* RATING MODULE */
.page-rate-widget-box {
    display: inline-block;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
    margin-right: 2em;
}
 
.page-rate-widget-box .rate-points {
    background-color: #000 !important;
    border: solid 1px #000;
    border-right: 0;
    border-radius: 5px 0 0 5px;
}
 
.page-rate-widget-box .rateup,
.page-rate-widget-box .ratedown {
    background-color: #000;
    border-top: solid 1px #000;
    border-bottom: solid 1px #000;
    font-weight: bold;
}
 
.page-rate-widget-box .rateup a,
.page-rate-widget-box .ratedown a {
    background: #eee;
    color: #000;
    padding: 0 4px;
    margin: 0 1px;
}
 
.page-rate-widget-box .rateup a:hover,
.page-rate-widget-box .ratedown a:hover {
    background: transparent;
    color: #ccc;
    text-decoration: none;
}
 
.page-rate-widget-box .cancel {
    background-color: #000;
    border: solid 1px #000;
    border-left: 0;
    border-radius: 0 5px 5px 0;
}
 
.page-rate-widget-box .cancel a {
    background: transparent;
    text-transform: uppercase;
    color: #ccc;
}
 
.page-rate-widget-box .cancel a:hover {
    background: transparent;
    color: #ccc;
    text-decoration: none;
    border-radius: 0 3px 3px 0;
}
 
.rate-box-with-credit-button {
    border: solid 1px #000;
    background: #000;
}
 
/* search */
#search-top-box input.empty {
    color: #eee;
}
#search-top-box {
    top: 96px;
}
#search-top-box-input {
    background-color: #ccc;
    border: solid 1px #000;
    box-shadow: inset 1px 1px 2px rgba(0,0,0,.3);
    color: #ccc;
}
#search-top-box-input:hover,
#search-top-box-input:focus {
    background-color: #808080;
    border: solid 1px #000;
    box-shadow: inset 1px 1px 3px rgba(0,0,0,0.8);
    color: #fff;
}
#search-top-box-form input[type=submit] {
    background: #fff;
    border: none;
    box-shadow: none;
    color: #000;
    font-family: Segoe UI;
    font-weight: normal;
    padding: 3px 5px 1px;
    position: relative;
    top: -2px;
}
#search-top-box-form input[type=submit]:hover,
#search-top-box-form input[type=submit]:focus {
    background: #fff;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,.8);
    color: #000;
    text-shadow: none;
}
 
/* bottom */
div#page-options-bottom a{
    color: #000;
}
 
div#page-options-bottom-2 a{
    color: #000;
}
 
.collapsible-block-unfolded-link {
    color: #fff;
}
 
.collapsible-block-link {
    color: #fff;
}
 
.emph {
    text-emphasis-style: dot ;
    -webkit-text-emphasis-style: dot ;
}
 
/* For FireFox */
@-moz-document url-prefix() {
.emph {
    /* For the environments which comply with CSS3. */
    font-family: monospace;
    font-style: normal;
    font-weight: normal;
    background-image: url(http://scp-wiki-cn.wikidot.com/local--files/component%3Atheme/dot.png), none;
    background-repeat: repeat-x;
    padding: 0.5em 0 0;
    background-color: transparent;
    background-clip: padding-box, content-box;
    background-size: 1em 1.3em, auto;
}
}
 
/* For IE10 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
.emph {
    /* For the environments which comply with CSS3. */
    font-family: monospace;
    font-style: normal;
    font-weight: normal;
    background-image: url(http://chen-xx.wikidot.com/local--files/component%3Atheme/dot.png), none;
    background-repeat: repeat-x;
    padding: 0.5em 0 0;
    background-color: transparent;
    background-clip: padding-box, content-box;
    background-size: 1em 1.3em, auto;
}
}
 
/* viewport */
 
@viewport {
    width: device-width;
    zoom: 1.0;
}
 
/* IE viewport */
@-ms-viewport {
    width: device-width;
    zoom: 1.0;
}
 
/* opera viewport */
@-o-viewport {
    width: device-width;
    zoom: 1.0;
}
 
/* chrome viewport - maybe it isn't work... */
@-webkit-viewport {
    width: device-width;
    zoom: 1.0;
}
 
/* firefox viewport - maybe it isn't work too... */
@-moz-viewport {
    width: device-width;
    zoom: 1.0;
}
 
/* webkit scrollbar */
::-webkit-scrollbar
{
    width: 9px; /* for vertical scrollbars */
    height: 9px; /* for horizontal scrollbars */
    border: solid 1px rgba(0, 0, 0, 0.1);
    border-round: 0.5px;
}
 
::-webkit-scrollbar-track
{
    background: rgba(0, 0, 0, 0.1);
}
 
::-webkit-scrollbar-thumb
{
    background: rgba(50, 50, 50, 0.3);
}
 
.page-source {
word-break: break-all;
}
 
/* Responsive Web Design */
img, embed, video, object, iframe, table {
    max-width: 100%;
}
 
#page-content div, #page-content div table {
    max-width: 100%;
}
 
#edit-page-comments {
    width: 100%;
}
 
/* basic Query for mobile devices */
 
@media (max-width: 767px) {
.owindow {
    min-width: 80%;
    max-width: 99%;
}
 
.modal-body .table, .modal-body .table ~ div {
    float: left;
}
 
.owindow .button-bar {
    float: right;
}
 
.owindow div a.btn-primary {
    width: 100%;
    float: left;
}
 
.mobile-top-bar ul li:last-of-type ul {
    right: 0;
}
 
span, a, td {
word-break: break-all;
}
}
 
/* Mobile Media Query */
@media (max-width: 479px) {
#search-top-box-input {
    width: 5em;
}
 
#page-content {
    font-size: 0.9em;
}
 
#main-content {
    margin: 0;
}
 
#recent-posts-category {
width: 100%;
}
 
#header, .mobile-top-bar {
    max-width: 100%;
}
 
#side-bar {
    width: 100%;
    position: relative;
}
 
.top-bar {
    display: none;
}
 
.mobile-top-bar {
    display: block;
    padding: 0;
}
 
.page-options-bottom a {
    padding: 0 4px;
}
 
#header h1 a {
    font-size: 100%;
}
 
blockquote {
    margin: 1em 0;
}
 
.license-area {
    font-size: 0.8em;
}
 
#header {
    background-position: 0 5.5em;
    background-size: 55px 55px;
}
 
#header h1, #header h2 {
    margin-left: 66px;
}
 
table.form td, table.form th {
    float: left;
}
 
/*
td.title {
    width: 30%;
}
*/
 
td.name {
    width: 15em;
}
 
table.form td, table.form th {
    padding: 0;
}
 
#edit-page-title {
    max-width: 90%;
}
 
.content-panel.left-column, .content-panel.right-column {
    width: 99%;
    float: left;
}
 
#page-content div, #page-content div table {
    clear: both;
}
 
#page-content div.title {
    word-break: keep-all;
}
 
}
 
/* Note Media Query */
@media (min-width: 480px) and (max-width: 580px) {
#search-top-box-input {
    width: 7em;
}
 
#main-content {
    margin: 0 2em 0 2em;
}
 
#header, .mobile-top-bar {
    max-width: 90%;
}
 
#side-bar {
    width: 80%;
    position: relative;
}
 
.top-bar {
    display: none;
}
 
.mobile-top-bar {
    display: block;
}
 
.page-options-bottom a {
    padding: 0 5px;
}
 
#header h1 a {
    font-size: 120%;
}
 
blockquote {
    margin: 0.5em;
}
 
.license-area {
    font-size: 0.85em;
}
 
#header {
    background-position: 0.5em 4.5em;
    background-size: 66px 66px;
}
 
#header h1, #header h2 {
    margin-left: 80px;
}
 
/*
td.title {
    width: 30%;
}
*/
 
#page-content div.title {
word-break: keep-all;
}
 
td.name {
    width: 15em;
}
 
.content-panel.left-column, .content-panel.right-column {
width: 99%;
float: left;
}
 
#page-content div, #page-content div table {
clear: both;
}
}
 
/* Mini Tablet Media Query */
@media (min-width: 581px) and (max-width: 767px) {
#search-top-box-input {
    width: 8em;
}
 
#side-bar {
    width: 80%;
    position: relative;
}
 
#main-content {
    margin: 0 3em 0 2em;
}
 
#header, .mobile-top-bar {
    max-width: 90%;
}
 
.top-bar {
    display: none;
}
 
.mobile-top-bar {
    display: block;
}
 
.page-options-bottom a {
    padding: 0 6px;
}
 
#header h1 a {
    font-size: 140%;
}
 
.license-area {
    font-size: 0.9em;
}
 
#header {
    background-position: 1em 4em;
    background-size: 77px 77px;
}
 
#header h1, #header h2 {
    margin-left: 93px;
}
}
 
/* Tablet Media Query */
@media (min-width: 768px) and (max-width: 979px) {
#main-content {
    margin: 0 4em 0 20em;
}
 
#header, #top-bar #side-bar {
    max-width: 100%;
}
 
.top-bar li {
    margin: 0;
}
 
#top-bar ul li.sfhover ul li a, #top-bar ul li:hover ul li a {
    width: 110px;
}
 
.page-options-bottom a {
    padding: 0 7px;
}
 
#header h1 a {
    font-size: 160%;
}
 
.license-area {
    font-size: 0.95em;
}
 
#header {
    background-position: 1em 4em;
    background-size: 88px 88px;
}
 
#header h1, #header h2 {
    margin-left: 106px;
}
 
.content-panel.left-column, .content-panel.right-column {
width: 99%;
float: left;
}
 
#page-content div, #page-content div table {
clear: both;
}
}
 
/* Desktop Media Query -----------
@media (min-width: 980px) and (max-width: 1399px) {
 
}
------------------------------------------ */
 
/* Wide Monitor Media Query -----
@media (min-width: 1400px) {
 
}
------------------------------------------ */
 
/* off-canvas */
 
.close-menu {
    display: none;
}
 
@media (max-width: 767px) {
 
.page-history tbody tr td:last-child {
width: 35%;
}
 
.owindow {
    min-width: 80%;
    max-width: 99%;
}
 
.modal-body .table, .modal-body .table ~ div {
    float: left;
}
 
.owindow .button-bar {
    float: right;
}
 
.owindow div .btn-primary {
width: 100%;
float: left;
}
 
.owindow div .btn-primary ~ div {
width: 100%;
}
 
.yui-navset {
z-index: 1;
}
 
#navi-bar, #navi-bar-shadow {
    display: none;
}
 
.open-menu a {
    position: fixed;
    top: 0.5em;
    left: 0.5em;
    z-index: 15;
    font-family: 'Nanum Gothic', san-serif;
    font-size: 30px;
    font-weight: 700;
    width: 30px;
    height: 30px;
    line-height: 0.9em;
    text-align: center;
    border: 0.2em solid #000 !important;
    background-color: #ffffff !important;
    border-radius: 3em;
    color: #000 !important;
}
 
.open-menu a:hover {
    text-decoration: none !important;
    -webkit-box-shadow: 0px 0px 20px 3px rgba(153,153,153,1);
    -moz-box-shadow: 0px 0px 20px 3px rgba(153,153,153,1);
    -ms-box-shadow: 0px 0px 20px 3px rgba(153,153,153,1);
    -o-box-shadow: 0px 0px 20px 3px rgba(153,153,153,1);
    box-shadow: 0px 0px 20px 3px rgba(153,153,153,1);
}
 
#main-content {
    max-width: 90%;
    margin: 0 5%;
    padding: 0;
    -webkit-transition: 0.5s ease-in-out 0.1s;
    -moz-transition: 0.5s ease-in-out 0.1s;
    -ms-transition: 0.5s ease-in-out 0.1s;
    -o-transition: 0.5s ease-in-out 0.1s;
    transition: 0.5s ease-in-out 0.1s;
}
 
#side-bar {
    display: block;
    position: fixed;
    top: 0;
    left: -25em;
    width: 17em;
    height: 100%;
    background-color: #eee;
    overflow-y: auto;
    z-index: 10;
    padding: 1em 1em 0 1em;
    -webkit-transition: left 0.5s ease-in-out 0.1s;
    -moz-transition: left 0.5s ease-in-out 0.1s;
    -ms-transition: left 0.5s ease-in-out 0.1s;
    -o-transition: left 0.5s ease-in-out 0.1s;
    transition: left 0.5s ease-in-out 0.1s;
}
 
#side-bar:after {
    content: "";
    position: absolute;
    top: 0;
    width: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
 
}
 
#side-bar:target {
    display: block;
    left: 0;
    width: 17em;
    margin: 0;
    border: 1px solid #dedede;
    z-index: 10;
}
 
#side-bar:target + #main-content {
    left: 0;
}
 
#side-bar:target .close-menu {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.3) 1px 1px repeat;
    z-index: -1;
}
}
div.scpnet-interwiki-wrapper {
    width: 17em;
    margin-left: -5px;
}
 
iframe.scpnet-interwiki-frame {
    height: 300px;
    width: 17em;
    border: none;
}
 
@media (min-width: 768px) {
    iframe.scpnet-interwiki-frame {
        height: 300px;
        width: 18em;
    }
    div.scpnet-interwiki-wrapper {
        width: 18em;
    }
}
#lock-info {
    background-color: #F3F3F3;
    border: 1px solid #ccc;
    color: #000;
    padding: 0.5em 1em;
    margin: 1em 0;
}
 
.hovertip .content {
    padding: 0.2em 0.5em;
    color: #000;
}
 
#header h1 a {
    color: #fff !important; 
    margin: 0 0 0 3px;
    font-family: Futura, "Trebuchet MS", Arial, sans-serif;
    text-shadow: none !important;
 
}
#header h1 a::before {
     content: "夜色之深";
}
 
#header h1 a span {
    content: "";
    visibility: hidden;
}
 
div#header h2:after {
    content: "三星并行 两点一线 单程递归";
    font-weight: bold;
    font-family: Futura, "Trebuchet MS", Arial, sans-serif;
    color: #fff;
    padding: 15px 0;
    white-space: pre;
    line-height: 2.4;
    text-shadow: none !important;
除非特别注明,本页内容采用以下授权方式: Creative Commons Attribution-ShareAlike 3.0 License