934
个编辑
MCBBS Wiki欢迎您共同参与编辑!在参与编辑之前请先阅读Wiki方针。
如果在编辑的过程中遇到了什么问题,可以去讨论板提问。
为了您能够无阻碍地参与编辑 未验证/绑定过邮箱的用户,请尽快绑定/验证。
MCBBS Wiki GitHub群组已上线!
您可以在回声洞中发表吐槽!
服务器状态监控。点击进入
本站由MCBBS用户自行搭建,与MCBBS及东银河系漫游指南(北京)科技有限公司没有从属关系。点此了解 MCBBS Wiki 不是什么>>
CrablePotion(留言 | 贡献) 小 (→2022年12月: // Edit via Wikiplus) |
CrablePotion(留言 | 贡献) (本地化CSS) 标签:段首空两格 |
||
| 第1行: | 第1行: | ||
{{不完整|缺少坛友评价|CSS兼容性}} | {{不完整|缺少坛友评价|CSS兼容性}} | ||
<!--/////全部CSS代码已经本地化。/////--> | |||
{{用户:CrablePotion/Info}} | {{用户:CrablePotion/Info}} | ||
{{用户信息 | {{用户信息 | ||
| 第200行: | 第201行: | ||
==勋章墙== | ==勋章墙== | ||
{{用户:CrablePotion/CSS/勋章墙效果}} | {{用户:CrablePotion/CSS/勋章墙效果}} | ||
<!--/////使用<gallery class="medal"></gallery>代码情况下/////--> | |||
{{CSS|1=<nowiki> | |||
ul.gallery.mw-gallery-traditional.medal img:hover { | |||
/* filter: drop-shadow(0 0 6px #9999); */ | |||
image-rendering: pixelated; | |||
} | |||
ul.gallery.mw-gallery-traditional.medal img:hover { | |||
transform: scale(1.75); | |||
} | |||
ul.gallery.mw-gallery-traditional.medal img { | |||
transition: all 0.3s ease; | |||
transform:scale(1.15); | |||
} | |||
</nowiki>}} | |||
<gallery class="medal"> | <gallery class="medal"> | ||
File:石镐矿工勋章.png|石镐矿工勋章 | File:石镐矿工勋章.png|石镐矿工勋章 | ||
| 第222行: | 第237行: | ||
{{MCBBS论坛用户|用户|J-A~G}} | {{MCBBS论坛用户|用户|J-A~G}} | ||
{{:Crable_Potion/CSS}} | {{:Crable_Potion/CSS}} | ||
{{CSS|1=<nowiki> | |||
#mw-panel #p-logo a { | |||
background-size: contain; | |||
} | |||
#mw-panel { | |||
border-radius: 10px; | |||
} | |||
#p-logo a { | |||
background-size: contain; | |||
} | |||
#p-logo a { | |||
background-position: center center; | |||
background-repeat: no-repeat; | |||
display: block; | |||
width: 10em; | |||
height: 160px; | |||
text-decoration: none; | |||
padding-top: 45px; | |||
} | |||
.mw-wiki-logo { | |||
background-image: url(//mcbbs.wiki/images/d/dd/水桶-MCBBSWiki.png); | |||
} | |||
.mw-body h1, .mw-body-content h1 { | |||
font-size: 2em; | |||
} | |||
.mw-body h1, .mw-body-content h1, .mw-body-content h2 { | |||
margin-bottom: 0.25em; | |||
padding: 0; | |||
font-family: 'Linux Libertine','Georgia','Times',serif; | |||
line-height: 1.3; | |||
} | |||
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td { | |||
border: 2px solid #a2a9b1; | |||
padding: 0.2em 0.4em; | |||
border-radius: 10px; | |||
} | |||
.wikitable > * > tr { | |||
background-color: #eaecf0; | |||
} | |||
.wikitable > * > tr > td { | |||
background-color: #fbf2dc; | |||
} | |||
:root {; | |||
--lightcolor: #fbf2dc; | |||
} | |||
</nowiki>}} | |||
{{CSS|1=<nowiki> | |||
.vector-menu-portal .vector-menu-heading { | |||
display: block; | |||
color: #7048e8; | |||
margin: 0.5em 0 0 0.66666667em; | |||
border: 0; | |||
padding: 0.25em 0; | |||
font-size: 0.75em; | |||
font-weight: normal; | |||
cursor: default; | |||
} | |||
#mw-panel .portal .vector-menu-heading { | |||
margin: 0; | |||
padding: 0; | |||
position: relative; | |||
background-image: none; | |||
font-size: 1.05rem; | |||
line-height: 1.3rem; | |||
font-weight: bold; | |||
cursor: pointer; | |||
} | |||
.mw-body h1, .mw-body-content h1 { | |||
font-size: 2em; | |||
} | |||
.mw-body h1, .mw-body-content h1, .mw-body-content h2 { | |||
margin-bottom: 0.25em; | |||
padding: 0; | |||
font-family: 'Linux Libertine','Georgia','Times',serif; | |||
line-height: 1.3; | |||
} | |||
h1 { | |||
font-size: 188%; | |||
/* font-weight: normal; */ | |||
} | |||
h1, h2, h3, h4, h5, h6 { | |||
color: #004578; | |||
margin: 0; | |||
padding-top: 0.5em; | |||
padding-bottom: 0.17em; | |||
overflow: hidden; | |||
font-weight: bold; | |||
} | |||
element.style { | |||
} | |||
body { | |||
border-color: var(--linecolor); | |||
animation: colorchange 5s infinite | |||
} | |||
.vector-body .toc h2 { | |||
font-family: sans-serif; | |||
font-size: 100%; | |||
color: #004578; | |||
background: #ffffff00 | |||
} | |||
div { | |||
display: block; | |||
} | |||
</nowiki>}} | |||
{{CSS|1=<nowiki> | |||
.vector-search-box-input { | |||
color: #000000; | |||
height: 2.45384615em; | |||
box-sizing: border-box; | |||
border: 2px solid #a2a9b1; | |||
border-radius: 4px; | |||
box-shadow: inset 0 0 0 1px transparent; | |||
font-size: 0.8125em; | |||
direction: ltr; | |||
transition-property: border-color,box-shadow; | |||
transition-duration: 250ms; | |||
width: 60%; | |||
background-color: #fdf6e6; | |||
background-position: 10px 10px; | |||
background-repeat: no-repeat; | |||
-webkit-transition: all 0.4s ease-in-out; | |||
transition: all 0.4s ease-in-out; | |||
padding: 0 0 0 6px | |||
} | |||
.vector-search-box-input:focus { | |||
width: 100%; | |||
} | |||
.searchButton { | |||
background-color: transparent; | |||
position: absolute; | |||
bottom: 1px; | |||
right: 40%; | |||
min-width: 28px; | |||
width: 2.45384615em; | |||
border: 0; | |||
padding: 0; | |||
cursor: pointer; | |||
font-size: 0.8125em; | |||
direction: ltr; | |||
text-indent: -99999px; | |||
white-space: nowrap; | |||
overflow: hidden; | |||
z-index: 1; | |||
transition: all 0.4s ease-in-out; | |||
} | |||
.vector-search-box-input:focus~.searchButton { | |||
position: absolute; | |||
right: -0%; | |||
} | |||
</nowiki>}} | |||
个编辑