网站的版式

我和我的小伙伴们都惊呆了!!

此页为于此维基内部使用的组件页。

在未经同意的情况下
请不要动这页里面的东西


这是为 SCP 维基制作的主题文件。

源代码位于Github

网站指南

要将此主题应用于你的 Wikidot 网站,请遵循以下步骤:

  1. 复制此页的所有附件。
  2. 在你的网站上创建一个名为“component:theme”的页面。你可能会希望锁定该页。
  3. 将所有附件上传至该页。
  4. 复制此页上的代码至你的“component:theme”页面上。将所有“scp-wiki-cn.wikidot.com”修改为你的 Wikidot 网站 URL 地址。
  5. 打开你的网站的控制台,前往外观与表现,布景主题,点击外部,然后输入“https://your-site-name.wdfiles.com/local--code/component%3Atheme/1”。
  6. 如果你希望使用导航栏的新格式,复制侧栏和/或顶栏。注意项目图标也在侧边栏页面的附件中。
  7. 复制主页的模版,包括附件。
  8. 要激活移动端界面,打开你的维基任意页面,点击底端的“+ 选项”。
  9. 点击“编辑元信息”。
  10. 点击“新增一个 meta 标签”。“name”输入“viewport”(不带引号),“content”输入“width=device-width, initial-scale=1.0”(同样也不带引号)。
  11. 完成!
@charset "utf-8";
@import url("https://sigma9.scpwikicn.com/cn/fonts/font-bauhaus.css");
@import url("https://fonts.font.im/earlyaccess/nanumgothic.css");
@import url("https://fonts.font.im/earlyaccess/nanumgothiccoding.css");
/* @import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"); */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css");
@import url("https://sigma9.scpwikicn.com/cn/modules/colstyle.min.css");
 
#content-wrap {
    position: relative;
    margin: 2em auto 0;
    max-width: 1040px;
    min-height: 1300px;
    height: auto!important;
}
 
h1 {
    color: #901;
    margin: 0 0 .6em;
    margin-top: .7em;
    padding: 0;
    font-weight: 700;
}
 
#page-title,
.meta-title {
    color: #901;
    font-weight: 400;
    margin: 0 0 .6em;
    padding: 0 0 .25em;
}
 
#page-title {
    border-color: #bbb;
}
 
h2, h3, h4, h5, h6 {
    margin: .5em 0 .4em;
    padding: 0;
    letter-spacing: 1px;
}
 
.meta-title {
    border-bottom: solid 1px #bbb;
    font-size: 200%;
}
 
#side-bar p,
#top-bar li,
.content-panel .panel-footer>p,
.content-panel .panel-heading>p,
.meta-title p {
    margin: 0;
}
 
ul {
    list-style: square;
}
 
li,p {
    line-height: 141%;
}
 
a {
    text-decoration: none;
    background: 0 0;
}
 
a:visited {
    color: #824;
}
 
a:hover {
    text-decoration: underline;
    background-color: transparent;
}
 
#side-bar a:visited,a {
    color: #b01;
}
 
a.newpage {
    color: #d61;
    text-decoration: none;
    background: 0 0;
}
 
.form-control {
    width: 95%;
}
 
#header {
    width: 90%;
    margin: 0 auto;
}
 
#header,#top-bar {
    max-width: 980px;
}
 
.mobile-top-bar {
    display: none;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 0;
}
 
body {
    background-color: #fff;
    font-size: .8em;
    color: #333;
}
 
div#container-wrap {
    background: url("https://fendsfox.wdfiles.com/local--files/component:theme/body_bg.png")top left repeat-x;
}
 
td.name {
    width: 40%;
    word-break: break-all;
}
 
td.title {
    width: 30%;
}
 
#header,sup {
    position: relative;
}
 
sup {
    vertical-align: top;
    top: -.5em;
}
 
#header {
    height: 140px;
    z-index: 10;
    padding-bottom: 22px;
    background: url("https://fendsfox.wdfiles.com/local--files/component%3Atheme/logo.png")10px 40px no-repeat;
  background-size: 100px;
}
 
#search-top-box {
    position: absolute;
    top: 79px;
    right: 9px;
    width: 250px;
    text-align: right;
}
 
#search-top-box-input {
    border: solid 1px #999;
    border-radius: 5px;
    color: #ccc;
    background-color: #300;
    box-shadow: inset 1px 1px 3px rgba(0,0,0,.5);
}
 
#search-top-box-input:focus,#search-top-box-input:hover {
    border: solid 1px #fff;
    color: #fff;
    background-color: #633;
    box-shadow: inset 1px 1px 3px rgba(0,0,0,.8);
}
 
#search-top-box-input {display: none;}/* 加一下 */
 
#search-top-box-form input[type=submit] {
    border: solid 1px #999;
    border-radius: 5px;
    padding: 2px 5px;
    font-size: 90%;
    font-weight: 700;
    color: #ccc;
    background-color: #633;
    background: linear-gradient(to bottom,#966,#633,#300);
    box-shadow: 0 1px 3px rgba(0,0,0,.5);
    cursor: pointer;
}
 
#search-top-box-form input[type=submit]:focus,#search-top-box-form input[type=submit]:hover {
    border: solid 1px #fff;
    color: #fff;
    text-shadow: 0 0 1px rgba(255,255,255,.25);
    background-color: #966;
    background: linear-gradient(to bottom,#c99,#966,#633);
    box-shadow: 0 1px 3px rgba(0,0,0,.8);
}
 
#login-status {
    color: #aaa;
    font-size: 90%;
    z-index: 30;
}
 
#login-status a {
    background: 0 0;
    color: #ddd;
}
 
#login-status ul a {
    color: #700;
    background: 0 0;
}
 
#account-topbutton {
    background: #ccc;
    color: #700;
}
 
.printuser img.small {
    margin-right: 1px;
}
 
#header h1,#header h2 {
    margin-left: 120px;
    padding: 0;
    float: left;
    max-height: 95px;
}
 
#header h2 {
    clear: left;
    font-size: 105%;
    max-height: 38px;
}
 
#header h1 a,#header h2 span {
    display: block;
    margin: 0;
    line-height: 0;
    max-height: 0;
}
 
#header h1 a {
    padding: 80px 0 25px;
    color: #eee;
    background: 0 0;
    font-family: BauhausLTDemi,Simhei,Arial,sans-serif;
    font-size: 180%;
    text-decoration: none;
    text-shadow: 3px 3px 5px #000;
    letter-spacing: .9px;
}
 
#header h2 span {
    padding: 19px 0;
    font-weight: 700;
    color: #f0f0c0;
    text-shadow: 1px 1px 1px rgba(0,0,0,.8);
}
 
#top-bar {
    position: absolute;
    top: 140px;
    right: auto;
    width: 100%;
    height: 21px;
    line-height: 18px;
    padding: 0;
    margin: 0 auto;
    z-index: 20;
    font-size: 90%;
}
 
#top-bar ul {
    float: right;
}
 
#footer a,#top-bar a {
    color: #fff;
    background: 0 0;
}
 
#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-width: 0 1px 1px;
    width: auto;
}
 
#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: #eee;
    color: #a01;
    border-left: solid 1px #404040;
    border-right: solid 1px #404040
}
 
#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: #fff;
    text-decoration: none;
}
 
#top-bar ul li ul li,#top-bar ul li ul li a,#top-bar ul li ul li.sfhover,#top-bar ul li ul li:hover {
    border-width: 0;
}
 
#top-bar a:hover,#top-bar ul li ul a {
    color: #a01;
}
 
.top-bar ul li:last-of-type ul {
    right: 0;
}
 
#top-bar ul>li>ul {
    *margin-top: -4px;
}
 
#side-bar {
    clear: none;
    float: none;
    position: absolute;
    top: .5em;
    left: 2em;
    width: 17em;
    padding: 0;
    border: 0;
    display: block;
    overscroll-behavior: contain;
}
 
#side-bar .side-block {
    padding: 10px;
    border: 1px solid #600;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(102,0,0,.5);
    background: #fff;
    margin-bottom: 15px;
}
 
#side-bar .side-area {
    padding: 10px;
}
 
#side-bar .heading {
    color: #600;
    border-bottom: solid 1px #600;
    padding-left: 15px;
    margin-bottom: 5px;
    font-size: 8pt;
    font-weight: 700;
}
 
#side-bar .heading:not(:first-child) {
    margin-top: 10px;
}
 
#side-bar div.menu-item {
    margin: 2px 0;
}
 
#side-bar div.menu-item img {
    width: 13px;
    height: 13px;
    border: 0;
    margin-right: 2px;
    position: relative;
    bottom: -2px;
}
 
#side-bar div.menu-item a {
    font-weight: 700;
}
 
#side-bar div.menu-item.inactive img {
    opacity: .25;
}
 
#side-bar div.menu-item.inactive a {
    color: #999;
}
 
#side-bar div.menu-item .sub-text {
    font-size: 80%;
    color: #666;
}
 
#side-bar .collapsible-block-folded {
    background: url(https://sigma9.scpwikicn.com/cn/img/expand.png)0 2px no-repeat;
}
 
#side-bar .collapsible-block-link {
    margin-left: 15px;
    font-weight: 700;
}
 
#side-bar .collapsible-block-unfolded-link {
    border-bottom: solid 1px #600;
}
 
#side-bar .collapsible-block-unfolded-link .collapsible-block-link {
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 8pt;
    color: #600;
}
 
#side-bar .collapsible-block-unfolded-link .collapsible-block-link:hover {
    color: #b01;
    text-decoration: none;
}
 
#side-bar ul {
    list-style-type: none;
    padding: 0 5px;
}
 
div.scpnet-interwiki-wrapper {
    margin: -4px -6px 1em;
    min-height: 300px;
}
 
iframe.scpnet-interwiki-frame {
    width: 100%;
    height: 0;
    border: 0;
    overflow-y: hidden;
}
 
#main-content {
    margin: 0 2em 0 22em;
    padding: 1em;
    position: relative;
}
 
#main-content .page-tags a[href^="/system:page-tags/tag/_"] {
    display: none;
}
 
#breadcrumbs,.pseudocrumbs {
    margin: -1em 0 1em;
}
 
.yui-navset .yui-content {
    background-color: #f5f5f5;
}
 
.yui-navset .yui-nav a,.yui-navset .yui-navset-top .yui-nav a {
    background-color: #FBFBFB;
    background-image: none;
}
 
.yui-navset .yui-nav .selected a,.yui-navset .yui-nav .selected a:focus,.yui-navset .yui-nav .selected a:hover {
    background: #700;
    color: #fff;
}
 
.yui-navset .yui-nav a:focus,.yui-navset .yui-nav a:hover {
    background: #d88;
    text-decoration: none;
}
 
.yui-navset .yui-nav,.yui-navset .yui-navset-top .yui-nav {
    border-color: #444;
}
 
.yui-navset li {
    line-height: normal;
}
 
#footer {
    clear: both;
    font-size: 77%;
    background: #444;
    color: #bbb;
    margin-top: 15px;
    padding: 3px 10px;
}
 
#footer .options {
    visibility: visible;
    display: block;
    float: right;
    width: 50%;
    font-size: 100%;
    text-align: right;
}
 
div.sexy-box {
    background: #eee;
    border: 1px solid #ccc;
    padding: 0 10px 12px;
    margin: 7px 4px 12px;
    overflow: hidden;
}
 
div.sexy-box div.image-container img {
    margin: 5px;
    padding: 2px;
    border: 1px solid #999;
}
 
#page-content {
    min-height: 720px;
}
 
.unmargined > p {
    margin: 0;
    line-height: 100%;
}
 
.content-panel {
    border: solid 1px #888880;
    border-radius: 10px;
    background-color: #243151;
    margin: 10px 0 15px;
    box-shadow: 3px 3px 6px #bbb;
}
 
.content-panel.standalone {
    background: #fcfdfb;
}
 
.content-panel.series {
    padding: 0 20px;
    margin-bottom: 20px;
}
 
.content-panel.centered {
    text-align: center;
}
 
.content-panel.left-column {
    float: left;
    width: 48%;
}
 
.content-panel.right-column {
    float: right;
    width: 48%;
}
 
.content-panel .panel-heading {
    padding: 2px 10px;
    color: #fff;
    font-size: 90%;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,.35);
}
 
.content-panel .panel-body {
    padding: 5px 10px;
    background: #fff9f0;
}
 
.content-panel .panel-footer {
    padding: 1px 10px;
    color: ivory;
    font-size: 80%;
    font-weight: 700;
    text-align: right;
    text-shadow: 1px 1px 2px rgba(0,0,0,.5)
}
 
.content-panel .panel-footer a {
    color: #fff
}
 
.content-panel .content-toc {
    float: right;
    padding: 0 20px;
    background-color: #fff;
    border: solid 1px #ccc;
    border-radius: 10px;
    margin: 20px 0 5px 5px;
    white-space: nowrap;
    box-shadow: inset 1px 2px 6px rgba(0,0,0,.15)
}
 
.alternate:nth-child(even) {
    background-color: rgba(255,255,255,.9)
}
 
.heritage-rating-module,.page-rate-widget-box {
    display: inline-block;
    border-radius: 5px;
    box-shadow: 1px 1px 3px rgba(0,0,0,.5);
    margin-bottom: 10px;
    margin-right: 2em
}
 
div.page-rate-widget-box .rate-points {
    background-color: #633;
    border: solid 1px #633;
    border-right: 0;
    border-radius: 5px 0 0 5px
}
 
.page-rate-widget-box .ratedown,.page-rate-widget-box .rateup {
    background-color: #fff6f0;
    border-top: solid 1px #633;
    border-bottom: solid 1px #633;
    font-weight: 700
}
 
.page-rate-widget-box .ratedown a,.page-rate-widget-box .rateup a {
    background: 0 0;
    color: #633;
    padding: 0 4px;
    margin: 0 1px
}
 
.page-rate-widget-box .cancel a:hover,.page-rate-widget-box .ratedown a:hover,.page-rate-widget-box .rateup a:hover {
    background: #633;
    color: ivory;
    text-decoration: none
}
 
.page-rate-widget-box .cancel {
    background-color: #633;
    border: solid 1px #633;
    border-left: 0;
    border-radius: 0 5px 5px 0
}
 
.page-rate-widget-box .cancel a {
    background: 0 0;
    text-transform: uppercase;
    color: #966
}
 
.page-rate-widget-box .cancel a:hover {
    border-radius: 0 3px 3px 0
}
 
.heritage-rating-module {
    background-color: #633;
    padding: 2px 8px 2px 5px;
    border: solid 1px #ccc066;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,.25)
}
 
.heritage-rating-module .page-rate-widget-box {
    box-shadow: none;
    margin-bottom: 0;
    margin-right: 0
}
 
.heritage-rating-module .heritage-emblem {
    float: left;
    position: relative;
    top: -2px;
    left: 2px;
    height: 16px;
    width: 16px;
    overflow: visible;
    margin-right: 2px;
}
 
.heritage-rating-module .heritage-emblem img {
    width: 20px;
    height: 20px;
    border: 0;
}
 
#main-content .page-tags {
    margin: 1em 0 0;
    padding: 0;
}
 
#main-content .page-tags span {
    display: inline-block;
    padding: 0;
    max-width: 60%;
}
 
#main-content .page-tags a {
    display: inline-block;
    white-space: nowrap;
}
 
.scp-image-block {
    border: solid 1px #666;
    box-shadow: 0 1px 6px rgba(0,0,0,.25);
    width: 300px;
}
 
.scp-image-block.block-right {
    float: right;
    clear: right;
    margin: 0 2em 1em;
}
 
.scp-image-block.block-left {
    float: left;
    clear: left;
    margin: 0 2em 1em 0;
}
 
.scp-image-block.block-center {
    margin-right: auto;
    margin-left: auto;
}
 
.scp-image-block img {
    border: none;
}
 
.scp-image-block .scp-image-caption {
    background-color: #eee;
    border-top: solid 1px #666;
    padding: 2px 0;
    font-size: 80%;
    font-weight: 700;
    text-align: center;
    width: 300px;
}
 
#page-content div#u-adult-warning>div#u-adult-header p,#page-content div#u-archived-top-box>div#u-archived-header p,#page-content div#u-component-top-box>div#u-component-header p,.scp-image-block>p {
    margin: 0;
}
 
.scp-image-block .scp-image-caption>p {
    margin: 0;
    padding: 0 10px
}
 
.footer-wikiwalk-nav {
    font-weight: 700;
    font-size: 75%
}
 
.licensebox .collapsible-block-link {
    margin-left: .25em;
    padding: .25em;
    font-weight: 700;
    opacity: .5;
    color: inherit;
    -webkit-transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
}
 
.licensebox .collapsible-block-link:active,.licensebox .collapsible-block-link:hover {
    opacity: 1;
}
 
.inline-diff br+del::before,.inline-diff br+ins::before,.inline-diff del:first-of-type::before,.inline-diff ins:first-of-type::before {
    display: inline-block;
    font: 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "";
    position: absolute;
    left: .75em;
}
 
.inline-diff ins::before {
    color: #ddf;
}
 
.inline-diff del::before {
    color: #fcc;
}
 
.inline-diff del+ins::before,.inline-diff ins+del::before {
    color: transparent;
}
 
.forum-thread-box .description-block {
    padding: .5em 1em;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0,0,0,.15),inset 0 1px 0 rgba(255,255,255,.8),inset 0 10px 5px rgba(255,255,255,.25),inset 0-15px 30px rgba(0,0,0,.1);
}
 
.thread-container .post .head {
    padding: .5em 1em;
    background-color: #eee;
    background: linear-gradient(to right,#eee,#eeecec);
    box-shadow: inset 2px 3px 6px rgba(0,0,0,.15);
    border-radius: 5px 5px 0 0;
}
 
.thread-container .post .content {
    position: relative;
    overflow: hidden;
}
 
.signature,.thread-container .post .content img,.thread-container .post .content>.image-container .image {
    display: none!important;
}
 
.ruby,ruby {
    display: inline-table;
    text-align: center;
    line-height: 1;
    height: 1em;
    vertical-align: text-bottom;
}
 
.keycap,.rt,.ruby,rt,ruby {
    white-space: nowrap;
}
 
.rt,rt {
    display: table-header-group;
    font-size: .6em;
    line-height: 1.1;
    text-align: center;
}
 
.keycap {
    border: 1px solid;
    border-color: #ddd #bbb #bbb #ddd;
    border-bottom-width: 2px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-color: #f9f9f9;
    padding: 1px 3px;
    font-family: inherit;
    font-size: .85em;
}
 
.tags {
    display: inline-block;
    margin: 0 0 0 5px;
    padding: 3px 5px 3px 0;
    height: 13px;
    line-height: 13px;
    font-size: 11px;
    background: #666;
    color: #fff;
    text-decoration: none;
    -moz-border-radius-bottomright: 4px;
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
}
 
.tags::after,.tags::before {
    content: "";
    position: relative;
    float: left;
}
 
.tags::before {
    padding: 0 1px 3px;
    top: -3px;
    left: -10px;
    width: 0;
    height: 0;
    border-color: transparent #666 transparent transparent;
    border-style: solid;
    border-width: 8px 8px 8px 0;
}
 
.tags::after {
    top: 4.5px;
    left: -8px;
    width: 4px;
    height: 4px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    background: #fff;
    -moz-box-shadow: -1px -1px 2px #004977;
    -webkit-box-shadow: -1px -1px 2px #333;
    box-shadow: -1px -1px 2px #333;
}
 
.bblock,.bblock:hover,.dblock {
    background-color: #000;
    text-decoration: none;
}
 
.bblock,.dblock {
    color: #000;
    transition: 2s;
}
 
.bblock:hover {
    color: #060;
}
 
.dblock:hover {
    background-color: transparent;
    text-decoration: none;
}
 
div.blockquote {
    border: 1px dashed #999;
    background-color: #f4f4f4;
    padding: 0 1em;
    margin: 1em 3em;
}
 
div.curved {
    border-radius: 10px;
    margin: 1em 3em;
}
 
#page-content div#u-adult-warning {
    width: fit-content;
    margin: 0 auto 1.25rem;
    padding: .5rem 1rem;
    border: 3px solid #333;
    background: #e4e4e4;
    color: #333;
    text-align: center;
    font-weight: 700;
}
 
#page-content div#u-adult-warning>div#u-adult-header {
    color: #901;
}
 
#page-content div#u-adult-warning>.error-block {
    color: unset;
    padding: unset;
    margin: unset;
    border: unset;
    margin-bottom: 1em;
}
 
#page-content div#u-component-top-box {
    max-width: 500px;
    margin: 0 auto 1.25rem;
    padding: 1rem;
    background-color: #b01;
    border-radius: 20px;
    box-shadow: 0 1px 6px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.5),inset 0 10px 1px rgba(255,255,255,.5),inset 0-15px 30px rgba(0,0,0,.25);
    color: #fff;
    text-align: center;
    font-weight: 700;
}
 
#page-content div#u-adult-warning>div#u-adult-header,#page-content div#u-component-top-box>div#u-component-header {
    font-size: 300%;
    text-shadow: 1px 2px 3px rgba(0,0,0,.5);
}
 
#page-content div#u-archived-top-box {
    max-width: 375px;
    margin: 0 auto 1.75rem;
    padding: 1rem 1rem .5rem;
    background-color: #e3e3e3;
    border: 2px solid #a1a1a1;
    border-radius: 2px;
    color: #333;
    text-align: center;
}
 
#page-content div#u-archived-top-box>div#u-archived-header {
    font-size: 150%;
    font-weight: 700;
}
 
.emph {
    text-emphasis-style: dot;
    -webkit-text-emphasis-style: dot;
}
 
@-moz-document url-prefix() {
    .emph {
        font-family: monospace;
        font-style: normal;
        font-weight: 400;
        background-repeat: repeat-x;
        padding: .5em 0 0;
        background-color: transparent;
        background-clip: padding-box,content-box;
        background-size: 1em 1.3em,auto;
    }
}
 
@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none) {
    .emph {
        font-family: monospace;
        font-style: normal;
        font-weight: 400;
        background-repeat: repeat-x;
        padding: .5em 0 0;
        background-color: transparent;
        background-clip: padding-box,content-box;
        background-size: 1em 1.3em,auto;
    }
}
 
@viewport {
    width: device-width;
    zoom:1}
 
@-ms-viewport {
    width: device-width;
    zoom:1}
 
@-o-viewport {
    width: device-width;
    zoom:1}
 
@-webkit-viewport {
    width: device-width;
    zoom:1}
 
@-moz-viewport {
    width: device-width;
    zoom:1}
 
::-webkit-scrollbar {
    width: 9px;
    height: 9px;
    border: solid 1px rgba(0,0,0,.1);
}
 
::-webkit-scrollbar-track {
    background: rgba(0,0,0,.1);
}
 
::-webkit-scrollbar-thumb {
    background: rgba(50,50,50,.3);
}
 
.page-source {
    word-break: break-all;
}
 
#page-content div,#page-content div table,embed,iframe,img,object,table,video {
    max-width: 100%;
}
 
#edit-page-comments {
    width: 100%;
}
 
@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;
    }
 
    #action-area td,a,span {
        word-break: break-all;
    }
}
 
@media (max-width: 479px) {
    #search-top-box-input {
        width:5em;
    }
 
    #page-content {
        font-size: .9em;
    }
 
    #main-content {
        margin: 0;
    }
 
    #recent-posts-category {
        width: 100%;
    }
 
    #header {
        max-width: 90%;
    }
 
    #side-bar {
        width: 80%;
        position: relative;
    }
 
    #top-bar .top-bar {
        display: none;
    }
 
    #top-bar .mobile-top-bar {
        display: block;
        padding: 0;
    }
 
    .page-options-bottom a {
        padding: 0 4px;
    }
 
    #header h1 a {
        font-size: 100%;
    }
 
    blockquote,div.blockquote,div.curved {
        margin: 1em 0;
    }
 
    .license-area {
        font-size: .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;
        padding: 0;
    }
 
    td.name {
        width: 15em;
    }
 
    #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;
    }
}
 
@media (min-width: 480px) and (max-width:580px) {
    #search-top-box-input {
        width:7em;
    }
 
    #main-content {
        margin: 0 2em;
    }
 
    #header {
        max-width: 90%;
    }
 
    #side-bar {
        width: 80%;
        position: relative;
    }
 
    #top-bar .top-bar {
        display: none;
    }
 
    .mobile-top-bar {
        display: block;
    }
 
    .page-options-bottom a {
        padding: 0 5px;
    }
 
    #header h1 a {
        font-size: 120%;
    }
 
    blockquote,div.blockquote,div.curved {
        margin: .5em;
    }
 
    .license-area {
        font-size: .85em;
    }
 
    #header {
        background-position: .5em 4.5em;
        background-size: 66px 66px;
    }
 
    #header h1,#header h2 {
        margin-left: 80px;
    }
 
    #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;
    }
}
 
@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 {
        max-width: 90%;
        background-position: 1em 4em;
        background-size: 77px 77px;
    }
 
    #top-bar div.top-bar {
        display: none;
    }
 
    #top-bar div.mobile-top-bar {
        display: block;
    }
 
    .page-options-bottom a {
        padding: 0 6px;
    }
 
    #header h1 a {
        font-size: 140%;
    }
 
    .license-area {
        font-size: .9em;
    }
 
    #header h1,#header h2 {
        margin-left: 93px;
    }
}
 
@media (min-width: 768px) and (max-width:979px) {
    #main-content {
        margin:0 4em 0 20em;
    }
 
    #header,#side-bar,#top-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: .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;
    }
}
 
.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;
    }
 
    #top-bar .open-menu a {
        position: fixed;
        top: .5em;
        left: .5em;
        z-index: 15;
        font-family: "Nanum Gothic",san-serif;
        font-size: 30px;
        font-weight: 700;
        width: 30px;
        height: 30px;
        line-height: .9em;
        text-align: center;
        border: .2em solid #888;
        background-color: #fff;
        border-radius: 3em;
        color: #888;
    }
 
    #top-bar .open-menu a:hover {
        text-decoration: none;
        -webkit-box-shadow: 0 0 20px 3px #999;
        -moz-box-shadow: 0 0 20px 3px #999;
        -ms-box-shadow: 0 0 20px 3px #999;
        -o-box-shadow: 0 0 20px 3px #999;
        box-shadow: 0 0 20px 3px #999;
    }
 
    #main-content {
        max-width: 90%;
        margin: 0 5%;
        padding: 0;
        -webkit-transition: .5s ease-in-out .1s;
        -moz-transition: .5s ease-in-out .1s;
        -ms-transition: .5s ease-in-out .1s;
        -o-transition: .5s ease-in-out .1s;
        transition: .5s ease-in-out .1s
    }
 
    #side-bar {
        display: block;
        position: fixed;
        top: 0;
        left: -25em;
        width: 17em;
        height: 100%;
        background-color: #b88686;
        overflow-y: auto;
        z-index: 10;
        padding: 1em 1em 0;
        -webkit-transition: left .5s ease-in-out .1s;
        -moz-transition: left .5s ease-in-out .1s;
        -ms-transition: left .5s ease-in-out .1s;
        -o-transition: left .5s ease-in-out .1s;
        transition: left .5s ease-in-out .1s;
    }
 
    #side-bar::after {
        content: "";
        position: absolute;
        top: 0;
        width: 0;
        height: 100%;
        background-color: rgba(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,.3) 1px 1px;
        z-index: -1;
    }
}
 
.thread-container .post .content>.image {
    content: " ";
    width: 0!important;
    height: 0!important;
}
 
.thread-container .post .content>.image-container::before,.thread-container .post .content>.image::before {
    content: "讨论区图片请折叠";
    font-style: italic;
}
 
.thread-container .post .content .avatarhover>a>img,.thread-container .post .content .collapsible-block>.collapsible-block-unfolded>.collapsible-block-content .avatarhover>a>img {
    display: inline!important;
}
 
.thread-container .post .content .collapsible-block>.collapsible-block-unfolded>.collapsible-block-content img {
    display: block!important;
}
 
@supports selector(:has(a, b)) {
    .thread-container .post .content :has(>img)::before,.thread-container .post .content:has(>img)::before {
        content: "讨论区图片请折叠";
        font-style: italic;
    }
 
    .thread-container .post .content .avatarhover>a::before,.thread-container .post .content .collapsible-block>.collapsible-block-unfolded :has(>img)::before {
        content: " ";
        font-style: unset;
    }
}
 
.thread-container .post .content [style*=position] {
    position: static!important;
}
 
.thread-container .post .content :not(img)[style*=background] {
    background-image: none!important;
}
 
.thread-container .post .content [style*=margin] {
    margin: 0!important;
}
 
.thread-container .post .content [style*=padding] {
    padding: 0!important;
}
 
.thread-container .post .content [style*=line-through] {
    text-decoration: none!important;
}
 
.thread-container .post .content [style*=important]::after {
    content: " ";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #e1e1e1;
    background-image: url("data:image/svg+xml,%3C!DOCTYPE svg PUBLIC %22-//W3C//DTD SVG 20010904//EN%22 %22http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd%22%3E%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22370%22 height=%2236%22%3E%3Cstyle xmlns=%22http://www.w3.org/2000/svg%22%3Etext%7Bfont-family:verdana,arial,helvetica,sans-serif;font-weight:bold;%7D%3C/style%3E%3Cg%3E%3Crect width=%22100%25%22 height=%22100%25%22 x=%220%22 y=%220%22 fill=%22%23e1e1e1%22 /%3E%3Ctext xml:space=%22preserve%22 font-size=%2224%22 x=%221%22 y=%2225.6%22 fill=%22%23f00%22%3E%E8%AF%B7%E5%8B%BF%E5%9C%A8%E8%AE%A8%E8%AE%BA%E5%8C%BA%E4%B8%AD%E4%BD%BF%E7%94%A8%20!important%3C/text%3E%3C/g%3E%3C/svg%3E");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
 
/* 下面这段是防止卡saving*/
 
body[class="wait"] #odialog-shader-iframe, body[class="wait"] #odialog-shader {
    display: none !important;
}
#odialog-container {
    position: fixed !important;
}
body[class="wait"] #odialog-container {
    z-index: -1;
}
body[class="wait"] #odialog-container #owindow-1 {
    display: none !important;
}
body[class="wait"] a[name="page-top"][target]+div #main-content #action-area #lock-info {
    background-color: #ffcdd2;
    border: 1px solid #e53935;
}
#lock-info {
    font-size: 0;
    margin: 0.8rem 0;
    padding: 0.4rem 0.8rem;
}
#lock-info::before {
  content: "您握有一个独占的15 分钟锁定,这将会阻止其他人编辑您正在作业的页面。\A这个锁定将在闲置 ";
  display: inline;
  font-size: 12.8px;
  white-space: pre-wrap;
}
#lock-info>strong {
  font-size: 12.8px;
}
#lock-info>br {
  display: none;
}
#lock-info::after {
    content: " 秒后失效。";
    display: inline;
    font-size: 12.8px;
}
body[class="wait"] a[name="page-top"][target]+div #main-content #action-area #lock-info::before {
    content: "保存页面中……\A若此提示已经显示了很长时间,建议将编辑框中的内容复制到剪切板然后刷新本页重新编辑。";
    display: inline;
    font-size: 12.8px;
    color: red;
    white-space: pre-wrap;
}
body[class="wait"] a[name="page-top"][target]+div #main-content #action-area #lock-info::after {
    font-size: 0;
}
body[class="wait"] a[name="page-top"][target]+div #main-content #action-area #lock-info>strong {
    font-size: 0;
}
body[class="wait"] a[name="page-top"][target]+div #main-content #action-area #lock-info::after {
    font-size: 0;
}
 
/* textarea */
#action-area #wd-editor-toolbar-panel+div {
    max-width: 100%;
    width: 100%;
}
#action-area #edit-page-textarea {
    font-family: "Andale Mono", "Courier New", Courier;
    margin: auto;
    min-width: 100%;
    box-sizing: border-box;
}
除非特别注明,本页内容采用以下授权方式: Creative Commons Attribution-ShareAlike 3.0 License