MediaWiki:Common.css:修订间差异
无编辑摘要 |
无编辑摘要 |
||
第10行: | 第10行: | ||
} | } | ||
/* Hide ConfirmAccount fields | /* Hide unnecessary ConfirmAccount fields */ | ||
#wpRealName, | #wpRealName, | ||
label[for="wpRealName"], | label[for="wpRealName"], | ||
第22行: | 第22行: | ||
label[for="wpTermsBox"], | label[for="wpTermsBox"], | ||
#mw-confirmaccount-info, | #mw-confirmaccount-info, | ||
#mw-confirmaccount-terms { | #mw-confirmaccount-terms { | ||
display: none !important; | display: none !important; | ||
第32行: | 第31行: | ||
} | } | ||
/* Hide description text below | /* Hide description text below biography label */ | ||
#mw-confirmaccount-bio > p { | #mw-confirmaccount-bio > p { | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* Completely hide "Other information" section | /* Completely hide "Other information" section */ | ||
#mw-confirmaccount-attach { | fieldset[aria-labelledby="mw-confirmaccount-attach"], | ||
legend#mw-confirmaccount-attach, | |||
#mw-confirmaccount-attach ~ * { | |||
display: none !important; | |||
} | |||
/* Extra hardening (if fallback needed) */ | |||
fieldset legend#mw-confirmaccount-attach, | |||
fieldset > #wpCV, | |||
fieldset > #wpNotes, | |||
fieldset > #wpSites { | |||
display: none !important; | display: none !important; | ||
} | } |
2025年5月2日 (五) 09:26的版本
/* 这里放置的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; } /* Completely hide "Other information" section */ fieldset[aria-labelledby="mw-confirmaccount-attach"], legend#mw-confirmaccount-attach, #mw-confirmaccount-attach ~ * { display: none !important; } /* Extra hardening (if fallback needed) */ fieldset legend#mw-confirmaccount-attach, fieldset > #wpCV, fieldset > #wpNotes, fieldset > #wpSites { display: none !important; }