MediaWiki:Common.css:修订间差异
外观
无编辑摘要 |
LocalAdmin(留言 | 贡献) AllPages 4-column layout |
||
| 第39行: | 第39行: | ||
fieldset:has(legend#mw-confirmaccount-attach) { | fieldset:has(legend#mw-confirmaccount-attach) { | ||
display: none !important; | display: none !important; | ||
} | |||
/* ── AllPages: 4-column layout ─────────────────────────────────────── */ | |||
.mw-allpages-chunk { | |||
column-count: 4; | |||
column-gap: 1.5em; | |||
list-style: none; | |||
padding: 0; | |||
} | |||
.mw-allpages-chunk li { | |||
break-inside: avoid; | |||
padding: 0.15em 0; | |||
} | |||
@media (max-width: 900px) { | |||
.mw-allpages-chunk { column-count: 2; } | |||
} | |||
@media (max-width: 500px) { | |||
.mw-allpages-chunk { column-count: 1; } | |||
} | } | ||
2026年3月12日 (四) 10:46的版本
/* 这里放置的CSS将应用于所有皮肤 */
.infobox {
border: 1px solid #aaa;
background-color: #f9f9f9;
color: black;
margin-bottom: 10px;
padding: 15px;
float: right;
clear: right;
}
/* Hide unnecessary ConfirmAccount fields */
#wpRealName,
label[for="wpRealName"],
#wpCV,
label[for="wpCV"],
#wpNotes,
label[for="wpNotes"],
#wpSites,
label[for="wpSites"],
#wpTermsBox,
label[for="wpTermsBox"],
#mw-confirmaccount-info,
#mw-confirmaccount-terms {
display: none !important;
}
/* Make biography field one-line */
#wpBio {
height: 2em !important;
}
/* Hide description text below biography label */
#mw-confirmaccount-bio > p {
display: none !important;
}
/* Fully hide the "Other Information" section */
fieldset:has(legend#mw-confirmaccount-attach) {
display: none !important;
}
/* ── AllPages: 4-column layout ─────────────────────────────────────── */
.mw-allpages-chunk {
column-count: 4;
column-gap: 1.5em;
list-style: none;
padding: 0;
}
.mw-allpages-chunk li {
break-inside: avoid;
padding: 0.15em 0;
}
@media (max-width: 900px) {
.mw-allpages-chunk { column-count: 2; }
}
@media (max-width: 500px) {
.mw-allpages-chunk { column-count: 1; }
}