×
创建新页面
在此填写您的页面标题:
我们当前在FBC镜像站上拥有23个页面。请在上方输入您的页面名称或点击以下任意标题来开始编写页面!



FBC镜像站
23个页面

Test.css:修订间差异

Apt install留言 | 贡献
无编辑摘要
Apt install留言 | 贡献
无编辑摘要
 
(未显示同一用户的3个中间版本)
第1行: 第1行:
/* ============================================================
/* ============================================================
   中文后联网 · 页面主题 CSS(FBC镜像站适配版)
   版式: Chrome(Fandom 后室中文 → MediaWiki/Cosmos 转换版)
   修复版(2026-08-06)
   来源: https://backrooms.fandom.com/zh/wiki/Template:Chrome
  协议: CC-BY-SA 3.0 | 加载: {{#css:Chrome.css}} 或 Common.css
   ------------------------------------------------------------
   ------------------------------------------------------------
   修复内容(原因:本站 CSS 扩展启用安全净化器,以下内容会被
   转换说明:
   整表拒绝,导致样式完全不生效):
   - --theme-* 变量已按浅色主题值展开({{#css:}} 净化器拒绝
  1. 已删除 @import(安全净化器明确禁止,全表失败)
    --* 声明)
  2. 已删除 :root { --* } CSS 变量声明(净化器不接受 --* 声明,
   - .theme-fandomdesktop-light/dark 前缀已去除
      所有 var() 引用已替换为具体颜色值)
   - 选择器映射: .page__main→#mw-content-text, .fandom-community-header
   3. 已删除 pointer-events 属性(不在净化器允许列表)
    →.cosmos-header, .page__right-rail→.cosmos-rail-inner 等
   4. 已删除 ::-webkit-scrollbar 系列(WebKit 私有伪元素不支持)
   - @import/pointer-events/::-webkit-scrollbar 已移除
  其余规则保持不变。
  部署:将本文件内容粘贴到 Test.css 页面,然后在目标页面写入
  {{#css:Test.css}}
  注意:若希望全站生效,建议粘贴到 MediaWiki:Common.css,
   绕过净化器后可保留全部花哨特性(变量/滚动条/pointer-events)。
   ============================================================ */
   ============================================================ */
/* ============================================================
  中文后联网 · 页面主题 CSS(FBC镜像站适配版)
  ------------------------------------------------------------
  原稿: Fandom 后室中文 User:APT_INSTALL/styles/中文后联网.css
  适配: fandombackroomscn.icu(MediaWiki 1.46 / Cosmos 皮肤)
  改动:
    1. 选择器映射 Fandom Oasis -> Cosmos:
        .page / .side-nav          -> .mw-body / .cosmos-rail-inner
        .wikiabar                  -> .cosmos-rail-inner
        .wds-tabs__tab            -> 保留(Cosmos 内置 WDS 组件)
    2. 移除 {{Template:纯黑.css}} 调用(body 已强制纯黑,无意义)
    3. 补齐原稿未定义的变量 (--accent-color / --border-glow)
    4. 新增 MediaWiki 元素黑化:wikitable / toc / catlinks /
        references / blockquote / thumbinner / editsection 等
    5. 头部、导航、侧栏、页脚、搜索框一并黑化,保证整页观感统一
  部署: 将本文件内容粘贴到
        「用户:<你的用户名>/styles/中文后联网.css」
        然后在目标页面写入:
        {{CSS|用户:<你的用户名>/styles/中文后联网.css}}
  ============================================================ */
/* ---- 基础科技主题变量 ---- */
/* ---- 页面主体(整页黑化) ---- */
body {
    background: #000000 !important;
    color: #fff;
    font-family: 'Orbitron', 'Rajdhani', 'Noto Sans SC', 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
}
/* ---- 头部 / 导航黑化(Cosmos 皮肤) ---- */
.cosmos-header {
    background: #000 !important;
    border-bottom: 1px solid rgba(0, 255, 255, 0.25);
    box-shadow: 0 2px 12px rgba(0, 255, 255, 0.12);
}
.cosmos-header__sitename {
    color: #fff;
    text-shadow: 0 0 10px #0ff;
}
.cosmos-header__counter {
    color: rgba(0, 255, 255, 0.8);
}
.cosmos-header__local-navigation {
    border-top-color: rgba(0, 255, 255, 0.2);
}
.cosmos-header__local-navigation .wds-dropdown__content,
.cosmos-tools-list,
.cosmos-personalTools-list {
    background: #000 !important;
    border: 1px solid rgba(0, 255, 255, 0.3);
}
.cosmos-header__local-navigation .wds-dropdown__content a,
.cosmos-tools-list a {
    color: #0ff !important;
}
/* 导航标签科技化(Cosmos 内置 WDS 组件,类名可直接复用) */
.wds-tabs__tab {
    border: 1px solid #0ff !important;
    background: rgba(0, 255, 255, 0.1) !important;
    margin: 0 5px;
    transition: all 0.3s ease;
}
.wds-tabs__tab:hover {
    box-shadow: 0 0 15px #0ff;
    background: rgba(0, 255, 255, 0.3) !important;
}
.wds-tabs__tab a {
    color: #0ff !important;
}
.wds-tabs__tab:hover a {
    color: #fff !important;
}
/* 搜索框 */
.cosmos-search-box input {
    background: #00161f !important;
    color: #0ff !important;
    border: 1px solid rgba(0, 255, 255, 0.4) !important;
    box-shadow: inset 0 0 8px #002233;
}
.cosmos-search-box input::placeholder {
    color: rgba(0, 255, 255, 0.5);
}
/* ---- 内容区 / 侧栏容器 ---- */
.mw-body, .cosmos-rail-inner {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}
/* ---- 容器黑化(补丁:Cosmos 皮肤 section#mw-content 默认米黄 #e0daa7,
      ID 选择器权重高,必须用 ID + !important 才能压过) ---- */
#mw-content, #catlinks {
    background: #000 !important;
}
#mw-content {
    padding: 10px 40px;  /* 保留皮肤原 padding,仅改色 */
}
/* 右侧栏星云效果(原 .wikiabar 映射) */
.cosmos-rail-inner {
    background: rgba(16, 45, 68, 0.9) !important;
    border-left: 1px solid #0ff;
    box-shadow: -3px 0 10px rgba(0, 255, 255, 0.3);
}
.railModule,
.recentchanges-module,
.cosmos-rail-inner .module {
    background: rgba(0, 0, 0, 0.75) !important;
    border: 1px solid rgba(0, 255, 255, 0.25) !important;
    color: #fff;
}
.railModule h2,
.railModule h3,
.recentchanges-module h3 {
    color: #0ff;
    text-shadow: 0 0 8px #0ff;
}
.railModule a,
.recentchanges-module a {
    color: #0ff;
}
/* 页脚 */
#cosmos-footer {
    background: #000 !important;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    color: #9fb3b3;
}
#cosmos-footer a {
    color: #0ff;
}


/* 移动端导航 */
.cosmos-mobile-navigation {
    background: #000 !important;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}
.cosmos-mobile-navigation a {
    color: #0ff !important;
}


/* ---- 标题特效 ---- */
.mw-content-text{
.mw-body h1,
     border: #d9d9d9 outset 3px;
.mw-body h2,
     /* backdrop-filter: blur(10px); */
.mw-body h3 {
     color: #fff;
     text-shadow: 0 0 10px #0ff;
    position: relative;
    padding-left: 25px;
}
}
.mw-body h1::before,
.cosmos-rail-inner{
.mw-body h2::before,
    /* backdrop-filter: blur(10px); */
.mw-body h3::before {
    border-top-width: 3px;
     content: ">";
    border-right-width: 3px;
     color: #0ff;
    border-bottom-width: 3px;
     position: absolute;
    border-left-width: 0px;
     left: 0;
    border-style:outset;
     text-shadow: 0 0 8px #0ff;
     border-top-color: rgb(217, 217, 217);
     transition: transform 0.3s ease, opacity 0.3s ease;
     border-right-color: rgb(217, 217, 217);
     border-bottom-color: rgb(217, 217, 217);
     border-left-color: rgb(217, 217, 217);
     border-image-source: initial;
     border-image-slice: initial;
    border-image-width: initial;
    border-image-outset: initial;
    border-image-repeat: initial;
}
}
.mw-body h1:hover::before,
.cosmos-header{
.mw-body h2:hover::before,
    border: #d9d9d9 outset 3px;
.mw-body h3:hover::before {
    /* backdrop-filter: blur(10px); */
    transform: translateX(0.2em);
     padding: 10px;
     opacity: 1;
     border-radius: 10px;
     text-shadow: 0 0 12px #0ff;
}
}
.page-header {
.mw-content-wrapper{
     border-bottom: 1px solid rgba(0, 255, 255, 0.2);
      
   
/* 已移除未定义变量声明:  */
color:white!important;
}
}
 
.page-content h2{
/* ---- 链接特效 ---- */
     border-bottom:white solid 3px;
a {
     color: #0ff;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}
}
a:hover {
.cosmos-rail-inner span{
    color: #fff;
color:white;
}
}
a::after {
.cosmos-rail-inner h2{
    content: "";
color:white;
    position: absolute;
    width: 100%;
    height: 2px;
    background: #0ff;
    bottom: -2px;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
}
a:hover::after {
.cosmos-rail-inner svg{
    transform: scaleX(1);
display:none;
}
}
 
.cosmos-header{
/* ---- 未来感表格(含 MediaWiki 标准 .wikitable) ---- */
background:linear-gradient(333deg,#eeeeee 5%, #ffffff 10%, rgb(200,200,200) 25%,  #8e8e8e 45%,#c6c6c6 75%,#535353 100%);
table,
height:auto;
.wikitable {
padding-left:10px;
    border: 2px solid #0ff;
padding-right:10px;
    background: rgba(0, 0, 0, 0.7);
width:auto;
     margin: 20px 0;
opacity:1;
    color: #fff;
z-index:2;
text-shadow:0 0 3px rgba(0,0,0,0.2);
      
}
}
th,
body > div.main-container > div.resizable-container > div.community-header-wrapper > header > a{
.wikitable > tr > th,
border-radius:50%;
.wikitable > * > tr > th {
border: 0.5rem outset #f5f3f5;
    background: rgba(0, 255, 255, 0.1);
box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-color: rgba(0, 255, 255, 0.3);
}
td,
.wikitable > tr > td,
.wikitable > * > tr > td {
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.15);
    padding: 12px;
    color: #e6f5f5;
}
}
.homebox{
background-color: #0093E9;


/* ---- 代码块终端效果(MediaWiki: pre / .mw-code) ---- */
color:#FFFFFF!important;
pre,
margin:0;
.mw-code {
    background: #00161f !important;
    border: 1px solid #004455;
    box-shadow: inset 0 0 10px #002233;
    color: #6cffeb !important;
    font-family: 'Space Mono', Consolas, 'Courier New', monospace;
    padding: 20px 15px 15px;
    position: relative;
    overflow-x: auto;
}
}
pre::before {
.mw-content-text{
    content: "CODE TERMINAL";
color:white;
    position: absolute;
    top: 0;
    left: 0;
    background: #004455;
    color: #0ff;
    font-size: 0.75em;
    letter-spacing: 2px;
    padding: 2px 10px;
}
}
code {
.cosmos-rail-inner{
    color: #6cffeb;
color:white;
    background: rgba(0, 255, 255, 0.08);
background: linear-gradient(110deg,#5e5e5e 5%, #7f7f7f 10%, rgb(200,200,200) 25%, #8e8e8e 45%,#d2d2d2 80%,#b5b5b5 97%);
    padding: 1px 5px;
    font-family: 'Space Mono', Consolas, monospace;
}
}
 
blockquote{
/* ---- MediaWiki 元素黑化补充 ---- */
  display:block;
.toc,
  background: #fff;
.tocbox {
  padding: 15px 20px 15px 45px;
    background: rgba(0, 0, 0, 0.8);
  margin: 0 0 20px;
    border: 1px solid rgba(0, 255, 255, 0.3);
  position: relative;
    color: #fff;
  /*Font*/
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.2;
  color: #666;
  text-align: justify;
  /*Borders - (Optional)*/
  border-left: 15px solid #c76c0c;
  border-right: 2px solid #c76c0c;
  /*Box Shadow - (Optional)*/
  box-shadow: 2px 2px 15px #ccc;
}
}
.toc a,
blockquote::before{
.tocbox a,
  content: "\201C"; /*Unicode for Left Double Quote*/
.tocnumber {
  /*Font*/
    color: #0ff;
  font-family: Georgia, serif;
  font-size: 60px;
  font-weight: bold;
  color: #999;
  /*Positioning*/
  position: absolute;
  left: 10px;
  top:5px;
}
}
.catlinks {
blockquote::after{
    background: rgba(0, 0, 0, 0.8);
  /*Reset to make sure*/
    border: 1px solid rgba(0, 255, 255, 0.3);
  content: "";
    color: #fff;
}
}
.catlinks a {
blockquote a{
    color: #0ff;
  text-decoration: none;
  background: #eee;
  cursor: pointer;
  padding: 0 3px;
  color: #c76c0c;
}
}
.mw-editsection a,
blockquote a:hover{
.mw-editsection-bracket {
color: #666;
    color: #0ff !important;
    opacity: 0.7;
}
}
.references {
blockquote em{
    background: rgba(0, 0, 0, 0.6);
  font-style: italic;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    color: #cfe9e9;
}
}
blockquote {
.is-ready{
     background: rgba(0, 255, 255, 0.05);
    border-top-right-radius:20px;
     border-left: 3px solid #0ff;
    margin-top:10px;
     padding: 10px 15px;
     background-color: rgba(0,0,0, 0.5);
    color: #cfe9e9;
     box-shadow: rgba(0, 0, 0, 0.3) 2px 8px 8px;
     padding: 20px;
}
}
.thumbinner {
.sticky-modules-wrapper{
     background: #000 !important;
     border-top-right-radius:20px;
     border: 1px solid rgba(0, 255, 255, 0.3) !important;
     background-color: rgba(0,0,0, 0.5);
}
     box-shadow: rgba(0, 0, 0, 0.3) 2px 8px 8px;
.thumbcaption {
     padding: 20px;
     color: #9fd8d8 !important;
     margin-top: 20px;
}
     margin-bottom:10px;
.hatnote,
.dablink {
    background: rgba(0, 255, 255, 0.06);
    border-left: 3px solid #0ff;
    color: #cfe9e9;
}
.infobox {
    background: #000;
    color: #fff;
    border: 2px solid #0ff;
}
 
/* ---- 未来感按钮(页面内使用 class="button" 时生效) ---- */
.button {
    background: linear-gradient(45deg, #000, #0ff);
    border: 1px solid #0ff;
     padding: 8px 20px;
     color: #fff;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}
.button:hover {
    box-shadow: 0 0 15px #0ff;
    transform: translateY(-2px);
}
 
/* ---- 动态扫描线效果 ---- */
@keyframes scanline {
    0% {
        transform: translateY(-100%);
        opacity: 0.8;
    }
    80% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0.2;
    }
}
body::after {
    content: "";
    position: fixed;
    top: 0;
     left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(
        to bottom,
        transparent 49%,
        rgba(0, 255, 255, 0.15) 50%,
        transparent 51%
    );
    background-size: 100% 5px;
    animation: scanline 3s linear infinite;
}
 
/* ---- 选中文字与滚动条(可选彩蛋) ---- */
::selection {
    background: #0ff;
    color: #000;
}
 
/* ---- 窄屏适配 ---- */
@media (max-width: 720px) {
    .mw-body h1,
    .mw-body h2,
    .mw-body h3 {
        padding-left: 18px;
    }
    .wds-tabs__tab {
        margin: 0 2px;
    }
}
}

2026年8月6日 (四) 18:11的最新版本

/* ============================================================
   版式: Chrome(Fandom 后室中文 → MediaWiki/Cosmos 转换版)
   来源: https://backrooms.fandom.com/zh/wiki/Template:Chrome
   协议: CC-BY-SA 3.0 | 加载: {{#css:Chrome.css}} 或 Common.css
   ------------------------------------------------------------
   转换说明:
   - --theme-* 变量已按浅色主题值展开({{#css:}} 净化器拒绝
     --* 声明)
   - .theme-fandomdesktop-light/dark 前缀已去除
   - 选择器映射: .page__main→#mw-content-text, .fandom-community-header
     →.cosmos-header, .page__right-rail→.cosmos-rail-inner 等
   - @import/pointer-events/::-webkit-scrollbar 已移除
   ============================================================ */


.mw-content-text{
    border: #d9d9d9 outset 3px;
    /* backdrop-filter: blur(10px); */
}
.cosmos-rail-inner{
    /* backdrop-filter: blur(10px); */
    border-top-width: 3px;
    border-right-width: 3px;
    border-bottom-width: 3px;
    border-left-width: 0px;
    border-style:outset;
    border-top-color: rgb(217, 217, 217);
    border-right-color: rgb(217, 217, 217);
    border-bottom-color: rgb(217, 217, 217);
    border-left-color: rgb(217, 217, 217);
    border-image-source: initial;
    border-image-slice: initial;
    border-image-width: initial;
    border-image-outset: initial;
    border-image-repeat: initial;
}
.cosmos-header{
    border: #d9d9d9 outset 3px;
    /* backdrop-filter: blur(10px); */
    padding: 10px;
    border-radius: 10px;
}
.mw-content-wrapper{
	
	
    
	
    
	
	
	
	
	/* 已移除未定义变量声明:  */
color:white!important;
}
.page-content h2{
    border-bottom:white solid 3px;
}
.cosmos-rail-inner span{
color:white;
}
.cosmos-rail-inner h2{
color:white;
}
.cosmos-rail-inner svg{
display:none;
}
.cosmos-header{
	background:linear-gradient(333deg,#eeeeee 5%, #ffffff 10%, rgb(200,200,200) 25%,  #8e8e8e 45%,#c6c6c6 75%,#535353 100%);
	height:auto;
	padding-left:10px;
	padding-right:10px;
	width:auto;
	opacity:1;
	z-index:2;
	text-shadow:0 0 3px rgba(0,0,0,0.2);
    
}
body > div.main-container > div.resizable-container > div.community-header-wrapper > header > a{
border-radius:50%;
border: 0.5rem outset #f5f3f5;
box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}
.homebox{
background-color: #0093E9;

color:#FFFFFF!important;
margin:0;
}
.mw-content-text{
color:white;
}
.cosmos-rail-inner{
color:white;
background: linear-gradient(110deg,#5e5e5e 5%, #7f7f7f 10%, rgb(200,200,200) 25%, #8e8e8e 45%,#d2d2d2 80%,#b5b5b5 97%);
}
blockquote{
  display:block;
  background: #fff;
  padding: 15px 20px 15px 45px;
  margin: 0 0 20px;
  position: relative;
  /*Font*/
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.2;
  color: #666;
  text-align: justify;
  /*Borders - (Optional)*/
  border-left: 15px solid #c76c0c;
  border-right: 2px solid #c76c0c;
  /*Box Shadow - (Optional)*/
  box-shadow: 2px 2px 15px #ccc;
}
blockquote::before{
  content: "\201C"; /*Unicode for Left Double Quote*/
  /*Font*/
  font-family: Georgia, serif;
  font-size: 60px;
  font-weight: bold;
  color: #999;
  /*Positioning*/
  position: absolute;
  left: 10px;
  top:5px;
}
blockquote::after{
  /*Reset to make sure*/
  content: "";
}
blockquote a{
  text-decoration: none;
  background: #eee;
  cursor: pointer;
  padding: 0 3px;
  color: #c76c0c;
}
blockquote a:hover{
 color: #666;
}
blockquote em{
  font-style: italic;
}
.is-ready{
    border-top-right-radius:20px;
    margin-top:10px;
    background-color: rgba(0,0,0, 0.5);
    box-shadow: rgba(0, 0, 0, 0.3) 2px 8px 8px;
    padding: 20px;
}
.sticky-modules-wrapper{
    border-top-right-radius:20px;
    background-color: rgba(0,0,0, 0.5);
    box-shadow: rgba(0, 0, 0, 0.3) 2px 8px 8px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom:10px;
}

最近更改

  • Stellaryu • 28分钟前
  • Apt install • 29分钟前
  • Apt install • 29分钟前
  • 1 • 29分钟前