MediaWiki:Common.css:修订间差异
MediaWiki界面页面
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第71行: | 第71行: | ||
.infobox .detail { | .infobox .detail { | ||
display: flex; | display: flex; | ||
flex-direction: | flex-direction: row; | ||
width: | width: 100%; | ||
min-width: 4rem; | min-width: 4rem; | ||
} | } | ||
.infobox .detail th { | .infobox .detail th { | ||
width: 50%; | |||
text-decoration: none; | text-decoration: none; | ||
color: #888; | color: #888; | ||
} | |||
.infobox .detail td { | |||
width: 50%; | |||
} | } | ||
2025年8月1日 (五) 23:12的版本
/* 这里放置的CSS将应用于所有皮肤 */
/* 隐藏分类页面的子页面 */
.mw-category-generated { display: none; }
@media (min-width: 720px) {
.infobox {
float: right;
clear: right;
}
}
.infobox {
max-width: 300px;
margin: 1rem auto;
text-align: left;
background: #fafafa;
border-radius: 10px;
box-shadow: 0px 15px 20px LightGray;
}
.infobox tbody {
display: flex;
flex-wrap: wrap;
}
.infobox tr {
box-sizing: border-box;
padding: 0 0.5rem;
}
.infobox .infobox-img {
margin-bottom: 0.5rem;
padding: 0;
overflow: hidden;
}
.infobox .infobox-img td {
display: flex;
justify-content: center;
}
.infobox .infobox-img img {
height: 400px;
width: auto;
}
.infobox .title {
font-size: 1.5rem;
line-height: 1.6rem;
}
.infobox .subtitle {
font-size: 0.8rem;
line-height: 0.9rem;
color: #888;
}
.infobox .detail-header {
margin-top: 0.5rem;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
border-top: 1px solid #eee;
}
.infobox :not(.detail) {
width: 100%;
}
.infobox .detail {
display: flex;
flex-direction: row;
width: 100%;
min-width: 4rem;
}
.infobox .detail th {
width: 50%;
text-decoration: none;
color: #888;
}
.infobox .detail td {
width: 50%;
}
.overworld-coordinate {
color: darkgreen;
}
.nether-coordinate {
color: crimson;
}
.end-coordinate {
color: purple;
}