SquareMioMiko(讨论 | 贡献) 无编辑摘要 |
SquareMioMiko(讨论 | 贡献) 无编辑摘要 |
||
第41行: | 第41行: | ||
.infobox .title { | .infobox .title { | ||
font-size: 1.5rem; | font-size: 1.5rem; | ||
line-height: 1.6rem; | |||
} | |||
.infobox .subtitle { | |||
font-size: 0.8rem; | |||
line-height: 0.9rem; | |||
color: #888; | |||
} | } | ||
2024年1月29日 (一) 20:29的最新版本
/* 这里放置的CSS将应用于所有皮肤 */
@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 img {
max-width: 300px;
min-width: 300px;
height: 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: column;
width: 50%;
min-width: 4rem;
}
.infobox .detail th {
text-decoration: none;
color: #888;
}
.overworld-coordinate {
color: darkgreen;
}
.nether-coordinate {
color: crimson;
}
.end-coordinate {
color: purple;
}