Sniðaspjall:Sticky header
Útlit
Urgent: Please fix this template for printed content Snið:Sticky header/styles.css.
[breyta frumkóða]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.
For any questions feel free to ask them at phab:T369874.
Jon (WMF) (spjall) 2. ágúst 2024 kl. 18:03 (UTC) on behalf of the web team.
- Already fixed way ahead of you. There is a "@media screen" at line 29, which ends at line 155. "@media (prefers-color-scheme: dark)" and "clientpref-night" is within that.
- Verified by doing a print preview on an Söngvakeppni evrópskra sjónvarpsstöðva with a print preview which gives me only light mode colors. Snævar (spjall) 2. ágúst 2024 kl. 19:04 (UTC)