Apt install(留言 | 贡献) 无编辑摘要 |
Apt install(留言 | 贡献) 无编辑摘要 |
||
| (未显示同一用户的3个中间版本) | |||
| 第1行: | 第1行: | ||
/* ============================================================ | /* ============================================================ | ||
版式: 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{ | |||
.mw- | border: #d9d9d9 outset 3px; | ||
/* backdrop-filter: blur(10px); */ | |||
} | } | ||
. | .cosmos-rail-inner{ | ||
/* backdrop-filter: blur(10px); */ | |||
border-top-width: 3px; | |||
border-right-width: 3px; | |||
color: | border-bottom-width: 3px; | ||
border-left-width: 0px; | |||
left: | 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{ | |||
background: rgba(0, | border-top-right-radius:20px; | ||
margin-top:10px; | |||
padding: | 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; | |||
padding: | |||
} | } | ||
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;
}