Template talk:Ombox - 维基百科,自由的百科全书
Urgent: Please fix this template for printed content Template:Ombox/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.
編輯請求 2025-05-22
[编辑] 请求已拒绝
将MediaWiki:Common.css中的样式迁移至模板样式。在开头加上
<templatestyles src="Template:Ombox/style.css" />
以上。--碟之舞📀💿 2025年5月22日 (四) 08:50 (UTC)
撤回请求,被Module_talk:Message_box#編輯請求_2025-05-22代替。--碟之舞📀💿 2025年5月22日 (四) 10:52 (UTC)