- 致编者:请牢记我们的域名wiki.mcbe-dev.net!
- 致编者:欢迎加入本Wiki的官方交流QQ群或Discord服务器!
- 基岩版1.19.31现已发布!(了解更多)
- Inner Core现已支持Xbox模组联机!(了解更多)
- 如果您是第一次来到本Wiki,欢迎注册一个账户
- 点击顶部的“编辑”或“编辑源代码”按钮即可编辑当前页面
- 请知悉:在不登录时也可以编辑和新建页面,但是您当前的IP地址会记录在编辑历史中
Template:Infobox/styles.css:修订间差异
来自Minecraft基岩版开发Wiki
添加的内容 删除的内容
Miemie Method(讨论 | 贡献) 小无编辑摘要 |
2190303755(讨论 | 贡献) (应该吧) 标签:已被回退 |
||
第24行: | 第24行: | ||
margin: .6em 0; |
margin: .6em 0; |
||
} |
} |
||
} |
|||
.notaninfobox > div:not(:first-child) { |
|||
padding-top: 2px; |
|||
} |
} |
||
2022年2月8日 (二) 16:52的版本
.notaninfobox {
position: relative;
float: right;
clear: right;
margin: 0 0 .6em .6em;
font-size: 90%;
background-color: #d9e9fa;
overflow-x: auto;
box-shadow: 0px 3px 1px 0 rgba(81, 90, 97, .25);
border-radius: 2px;
}
@media screen and (min-width: 720px) {
.notaninfobox {
width: 300px;
}
}
@media screen and (max-width: 720px) {
.notaninfobox {
position: static;
float: none;
clear: none;
margin: .6em 0;
}
}
.infobox-title {
background-color: #96bcd9;
font-weight: bold;
font-size: 1.25em;
text-align: center;
color: #262a2d;
padding: .25em 0;
}
.infobox-imagearea {
text-align: center;
padding: 6px;
background-color: #cae3fa;
}
.infobox-imagearea > div:not(:first-child) {
margin-top: .8em;
}
.infobox-subheader {
text-align: center;
background-color: #bedaf3;
}
.infobox-rows {
display: grid;
grid-template-columns: max-content 1fr;
border-top: 4px solid #8eb3d4;
}
.notaninfobox > div.infobox-rows {
padding-top: 0;
}
.infobox-row {
display: contents;
}
.infobox-cell-header {
background-color: #97bcda;
}
.infobox-cell-header,
.infobox-cell-data {
padding: 1px 3px;
}
.infobox-footer {
font-size: 90%;
/* text-align: center; */
}
.infobox-row:nth-child(2n) > .infobox-cell-header {
background-color: #97bcda;
}
.infobox-row:nth-child(2n) > .infobox-cell-data {
background-color: #e5f3f9;
}
.infobox-row:nth-child(2n+1) > .infobox-cell-header {
background-color: #abcde8;
}
.infobox-row:nth-child(2n+1) > .infobox-cell-data {
background-color: #f1fafe;
}
.subinfobox.infobox-rows {
border-top: 0;
}
.infobox-cell-data .subinfobox {
margin: -1px -3px;
}
.infobox-row:nth-child(2n) .subinfobox .infobox-cell-header {
background-color: #abcde3;
}
.infobox-row:nth-child(2n) .subinfobox .infobox-cell-data {
background-color: #e5f3f9;
}
.infobox-row:nth-child(2n+1) .subinfobox .infobox-cell-header {
background-color: #c1d9e9;
}
.infobox-row:nth-child(2n+1) .subinfobox .infobox-cell-data {
background-color: #f1fafe;
}
.subinfobox .infobox-row:not(:first-child) .infobox-cell-header {
border-top: 1px solid #7c8a94;
}
.subinfobox .infobox-row:not(:first-child) .infobox-cell-data {
border-top: 1px solid #bcd0e0;
}