|
|
| 第1行: |
第1行: |
| /* 这里放置的CSS将应用于所有皮肤 */ | | /* 这里放置的CSS将应用于所有皮肤 */ |
|
| |
|
| |
|
| /* 隐藏分类页面的子页面 */ | | /* 隐藏分类页面的子页面 */ |
| .mw-category-generated { display: none; } | | .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 img {
| |
| height: auto;
| |
| }
| |
|
| |
| .infobox .infobox-img td {
| |
| display: flex;
| |
| justify-content: center;
| |
| }
| |
|
| |
| .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 { | | .overworld-coordinate { |
/* 这里放置的CSS将应用于所有皮肤 */
/* 隐藏分类页面的子页面 */
.mw-category-generated { display: none; }
.overworld-coordinate {
color: darkgreen;
}
.nether-coordinate {
color: crimson;
}
.end-coordinate {
color: purple;
}