Template talk:Intro to single
Increase padding on lead
editI'd argue the padding should be more like 50 or even 60px on the lead. — Hugh (talk) 20:02, 28 February 2018 (UTC)
- @Hl: Good plan. I've increased the side padding to 60px, but left the top/bottom padding as 30px so that that section doesn't get too tall. A max-width parameter could also be used to restrict it to not get too wide. T.Shafee(Evo&Evo)talk 23:34, 28 February 2018 (UTC)
Line height of main title
editThe line height of the main title is currently displaying at 1.5em, while the text is at 250%. The text extends beyond its background. I'm using Monobook in Chrome, Version 80.0.3987.149 (Official Build) (64-bit). --RexxS (talk) 18:16, 30 March 2020 (UTC)
- RexxS, fixed. I used 120% as it is the bigger of most popular default values:
The default line-height is about 110% to 120% for the majority of the browsers
. —andrybak (talk) 19:33, 30 March 2020 (UTC)- Thanks Andrybak, looking at Help:Introduction, I see about 1px to 2px of residual background below the descender of the 'p' in 'Wikipedia'. That's acceptable, so your choice of 120% is about the minimum workable. I also tested 110% (not enough) and 130% (looked good to me). Cheers --RexxS (talk) 21:57, 30 March 2020 (UTC)
- @RexxS and Andrybak: I'd prefer to see just a little bit more of a buffer if that's possible. Since this is a space for newcomers, it should have a friendly roomier design to it. Sdkb (talk) 00:30, 31 March 2020 (UTC)
- @Sdkb and Andrybak: I've just pushed the line height up to 130%. Does that look better to you? The other option would be to increase the padding as the class is only used in the div containing the title, but it's best to get the line height right first. --RexxS (talk) 01:52, 31 March 2020 (UTC)
- I pushed it up a little more; looks good to me now. Sdkb (talk) 01:58, 31 March 2020 (UTC)
- @RexxS and Sdkb:, I've looked at what Vector and MonoBook do for line-height by default and switched 150% to 1.6em. —andrybak (talk) 06:18, 31 March 2020 (UTC)
- I pushed it up a little more; looks good to me now. Sdkb (talk) 01:58, 31 March 2020 (UTC)
- @Sdkb and Andrybak: I've just pushed the line height up to 130%. Does that look better to you? The other option would be to increase the padding as the class is only used in the div containing the title, but it's best to get the line height right first. --RexxS (talk) 01:52, 31 March 2020 (UTC)
- @RexxS and Andrybak: I'd prefer to see just a little bit more of a buffer if that's possible. Since this is a space for newcomers, it should have a friendly roomier design to it. Sdkb (talk) 00:30, 31 March 2020 (UTC)
- Thanks Andrybak, looking at Help:Introduction, I see about 1px to 2px of residual background below the descender of the 'p' in 'Wikipedia'. That's acceptable, so your choice of 120% is about the minimum workable. I also tested 110% (not enough) and 130% (looked good to me). Cheers --RexxS (talk) 21:57, 30 March 2020 (UTC)
Urgent: Please fix this template for printed content Template:Intro to single/styles.css.
editFirstly, 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) (talk) 18:18, 2 August 2024 (UTC) on behalf of the web team.