著作信息
这是由Proasek为安布罗斯餐厅制作的安布罗斯餐厅第二章CSS主题版式,其代码大量修改自
c_bonefish制作的“黄金盛宴”主题。
该主题原本旨在用于与安布罗斯第二章项目相关的作品。不过,如果你更喜欢将其用于其他地方,也可以自行使用。
要将此主题导入你的页面,请将以下文本放置在页面内的任意位置:
[[include :scp-wiki-cn:theme:ambrose-chapter-two]]
如果你希望使用此主题时不显示“第二章”副标题,可以在作品中加入以下代码:
[[module CSS]]
:root:lang(cn) {
—header-subtitle: "";
}
[[/module]]
页面元素
标题1
标题2
标题3
标题4
标题5
标题6
这里是一些正文文本,让你了解正文的显示效果。
未访问链接 | 已访问链接
显示CSS
/*
"Ambrose Chapter two" theme, based on colours for Ambrose: Under Johannesburg.
Created by Proasek, based on the Golden Feast theme by c_bonefish. Further sub-
segment credits are copied from the original:
Header Code adopted from The Buck Stops Here CSS Theme by thd-glasses
Info Bar and Page Rating Code adopted from Technoblast Theme by EstrellaYoshte
Background Image1: https://pixabay.com/vectors/ornate-decoration-banner-greeting-3068591/
Background Image2: https://pixabay.com/illustrations/chandelier-ornament-decor-golden-3006697/
CC BY-SA 3.0
*/
@import url('https://fonts.bunny.net/css?family=Poiret+One');
:root:lang(cn) {
--title: "安布罗斯餐厅";
--short_title: "安布罗斯";
--header-subtitle: "第二章";
background-color: #876D6D;
}
/* Header */
div#container-wrap {
background: url(https://scp-wiki.wdfiles.com/local--files/theme%3Aambrose-chapter-two/background.png) center top repeat-x;
background-size: 224px 400px;
}
#header h1 {
margin-left: 0;
padding: 0px;
clear: both;
float: none;
}
#header h1 a {
color: transparent;
font-size: 0px;
font-family: 'Poiret One', cursive;
letter-spacing: 0.5px;
}
#header h1 a::before {
display: inline-block;
width: 100%;
text-align: center;
content: var(--title);
color: #FFF;
font-size: 50px;
text-shadow: 1px 1px 3px black;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 0;
padding-top: 75px;
}
#header h2::before {
position: absolute;
left: 70%;
font-size: 15px;
content: var(--header-subtitle);
}
#header h2 span {
font-size: 0px
}
#header #header-extra-div-1 {
z-index: -1;
width: 100%;
height: 100%;
display: flex;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 0;
margin-top: 0px;
}
#header #header-extra-div-1::before{
z-index: -1;
content: "";
width: 100px;
height: 100px;
position: absolute;
background-repeat: no-repeat;
background-position: center center;
background-size : 280px
flex: 1;
}
#header #header-extra-div-1 {
background: url(https://scp-wiki.wikidot.com/local--files/theme%3Aambrose-chapter-two/top-image.png) center top no-repeat;
background-size : 280px
}
#header {
background: none;
}
#login-status {
position: absolute;
top: 30px;
z-index: 2;
}
#login-status {
color: #ffffff;
font-size: 90%;
}
#login-status ul a {
color: #A38800;
}
#search-top-box {
position: absolute;
top: 105px;
right: 0px;
width: 250px;
text-align: right;
z-index: 1;
}
#search-top-box-input{
border: solid 1px #EACC54;
border-radius: 5px;
color: #EACC54;
background-color: #332B2E;
box-shadow: inset 1px 1px 3px rgba(0,0,0,.5);
}
#search-top-box-input:hover,
#search-top-box-input:focus,
#search-top-box-form input[type=submit]:hover,
#search-top-box-form input[type=submit]:focus{
background-color: #967F88;
}
#search-top-box-form input[type=submit]{
border: solid 1px #EACC54;
border-radius: 5px;
padding: 2px 5px;
font-size: 90%;
font-weight: bold;
color: #EACC54!important;
background-color: #0000FF;
background: #332B2E;
box-shadow: 0 1px 3px rgba(0,0,0,.5);
}
#top-bar {
width: 100%;
top: 160px;
z-index: 20;
display: flex;
justify-content: center;
}
.top-bar {
position: relative;
margin: 0 auto;
}
.mobile-top-bar{
position: relative;
margin: 0 auto;
margin-top: -1em;
}
#page-title {
font-size: 2.1em;
color: #FFFFFF;
font-weight: bold;
font-family: 'Poiret One', cursive;
}
#content-wrap {
margin: 30px auto 0;
}
h1,h2,h3,h4,h5,h6 {
color: #FFFFFF;
font-weight: bolder;
font-family: 'Poiret One', cursive;
}
a:link {
color: #F8F13E;
}
a:visited {
color: #F8E392;
}
/* Side bar */
#side-bar {
background: rgba(255, 255, 255, 0);
}
#side-bar .side-block,
#side-bar .side-block.media,
#side-bar .side-block.resources,
#interwiki .side-block {
background: #332B2E !important;
border: 5px solid #D8A33A;
border-radius: 10px 0px;
}
#side-bar .heading,
#interwiki .heading {
color: #C4B73B;
border-bottom: solid 3px #C4B73B;
}
div.open-menu a {
color: #A38800;
border-color: #A38800;
}
#side-bar div.menu-item.inactive a {
color: #ffffff;
}
#side-bar div.menu-item .sub-text {
color: #ffffff;
}
#side-bar a:link,
#interwiki a:link {
color: #FAF33E;
}
#side-bar a:visited,
#interwiki a:visited {
color: #FFF7D8;
}
/* side-bar collapsible stuff */
#side-bar .collapsible-block-unfolded-link {
border-bottom: solid 1px #000000;
}
#side-bar .collapsible-block-unfolded-link .collapsible-block-link {
color: #000000;
}
#side-bar .collapsible-block-unfolded-link .collapsible-block-link:hover {
color: #000000;
}
/* Rate Module */
.page-rate-widget-box {
box-shadow: none;
margin: unset;
background-color: #8A7500;
}
div.page-rate-widget-box .rate-points {
background-color: #8A7500!important;
color: #ffffff;
}
.page-rate-widget-box .rateup,
.page-rate-widget-box .ratedown {
background: #ffffff;
color: #8A7500;
}
.page-rate-widget-box .rateup a,
.page-rate-widget-box .ratedown a {
background: #ffffff;
color: #8A7500;
}
.page-rate-widget-box .rateup a:hover,
.page-rate-widget-box .ratedown a:hover {
background: #8A7500;
color: #ffffff;
}
.page-rate-widget-box .cancel {
background: transparent;
background-color: #8A7500;
}
.page-rate-widget-box .cancel a {
color: #ffffff;
}
.page-rate-widget-box .cancel a:hover {
background: #ffffff;
color: #8A7500;
}
.info-container .collapsible-block-content .wiki-content-table{
width: 100%;
}
#page-content .creditRate{
margin: unset;
}
#page-content .rate-box-with-credit-button {
background-color: #8A7500;
border: solid 1px #8A7500;
box-shadow: none;
}
#page-content .rate-box-with-credit-button .fa-info {
border: none;
color: #ffffff;
}
#page-content .rate-box-with-credit-button .fa-info:hover {
background: #8A7500;
color: #FFFFFF;
}
/* Tab */
div.yui-navset div.yui-content {
background: #F29C63;
color: #000000;
}
div.yui-navset ul.yui-nav a,
div.yui-navset div.yui-navset-top ul.yui-nav a {
background: #CA8453;
color: #FFFFFF;
}
div.yui-navset ul.yui-nav a:hover,
div.yui-navset ul.yui-nav a:focus {
background: #B26A46;
color: #FFFFFF;
}
div.yui-navset ul.yui-nav .selected a,
div.yui-navset ul.yui-nav .selected a:focus,
div.yui-navset ul.yui-nav .selected a:hover {
background: #B26A46;
color: #FFFFFF;
}
/* blockquote */
blockquote,
blockquote p,
div.blockquote,
div.blockquote p {
background: #AB6643;
color: #FFFFFF;
}
.scp-image-block {
border: solid 1px #CA8453;
box-shadow: none;
}
.scp-image-block .scp-image-caption {
background: #AB6643!important;
border-top: solid 1px #CA8453;
}
@media (max-width: 499px) {
#header h1 a::before {
content: var(--short_title);
font-size: 50px;
padding-top: 80px;
}
}
@media (max-width: 767px) {
#content-wrap {
margin: 43px auto 0;
}
#login-status {
top: 25px;
}
}
/* Footnotes */
.hovertip {
background-color: #dab8b8!important;
}
/* Table of Contents */
#toc{
background-color: #876D6D;
border: 2px solid #A38800;
}
/* Code */
.code {
color: #000000;
background-color: #D8B6C7;
}
/* Page footer */
#license-area{
color: #FFFFFF;
}
/* Pop-ups*/
.owindow{
background-color: #876D6D;
color: #FFFFFF;
border: 2px solid #A38800;
}
div.modalbox{
background-image: unset;
background-color: #876D6D;
color: #FFFFFF;
border: 2px solid #A38800;
}
.owindow .title {
background-color: #A38800;
color: #FFFFFF;
}
.owindow .button-bar a {
background-color: #876D6D;
}
.owindow img {
background-color: #876D6D!important;
}
#lock-info{
color: #000000;
}
table.form td div.sub, form div.sub {
color: #ffffff;
}
#who-rated-page-area span:not(.printuser) {
color: #ffffff!important;
}
div.buttons input, input.button, button, file, a.button {
color: #000!important;
}
table.page-files .highlight {
background-color: #876D6D;
}
/* Body */
body{
background-color: transparent;
}
#main-content {
color: #FFFFFF;
}1. 这段文字也位于此处,不过你需要向下滚动页面,或将鼠标悬停在“1”上才能看到它。真不错。2. 哦,原来是这样!







