模板讨论:Documentation
Kcx36在话题“Urgent: Please fix this template for printed content Template:Documentation/styles.css.”中的最新留言:4个月前
Urgent: Please fix this template for printed content Template:Documentation/styles.css.
编辑Firstly, apologies for writing in English if this is not your first language (this is an automated message).
This template has been detected as one of 436 pages using styles that break the page when printed when the user is using dark mode. The fix is very straightforward - all your styles relating to dark mode must be scoped to. Since there is a high risk of this templates being copied to other wikis it is important this notice is acted on ASAP.
To fix this:
- Update `@media (prefers-color-scheme: dark` to `@media screen and (prefers-color-scheme: dark`
- Wrap any styles relating to `html.skin-theme-clientpref-night` in `@media screen`
If this message has not been acted on in 7 days, this will be fixed by an automated script. Thank you for your help fixing this important issue.
Jon (WMF)(留言) 2024年8月2日 (五) 17:55 (UTC) on behalf of the web team.
- 完成。--Kcx36(留言) 2024年8月3日 (六) 14:56 (UTC)