模板討論:Cmbox
由Jon (WMF)在話題Urgent: Please fix this template for printed content Template:Cmbox/style.css.上作出的最新留言:3 個月前
Urgent: Please fix this template for printed content Template:Cmbox/style.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.