Jump to content

Template talk:Visible anchor

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Template-protected edit request on 22 July 2024

[edit]

Replace the contents of Template:Visible anchor/styles.css with Template:Visible anchor/sandbox/styles.css. The changes add support for the new dark mode and follow the format used at Module:Documentation/styles.css. BrandonXLF (talk) 17:38, 22 July 2024 (UTC)[reply]

 Done Sohom (talk) 08:14, 25 July 2024 (UTC)[reply]

Urgent: Please fix this template for printed content Template:Visible anchor/styles.css.

[edit]

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:

  1. Update `@media (prefers-color-scheme: dark` to `@media screen and (prefers-color-scheme: dark`
  2. 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.

For any questions feel free to ask them at phab:T369874.

Jon (WMF) (talk) 18:15, 2 August 2024 (UTC) on behalf of the web team.[reply]

 Done BrandonXLF (talk) 18:36, 2 August 2024 (UTC)[reply]