Jump to content

Topic on Template talk:Main page/styles.css

Request: change margins of `.mainpage_box h3`

12
Lens0021 (talkcontribs)
Jon Harald Søby (talkcontribs)

I haven't tested this, but wouldn't it fail to work because of the way TemplateStyles work? TemplateStyles prepends .mw-parser-output to all definitions, and since .skin-vector and .skin-monobook are parents of .mw-parser-output and not children of it, this would fail?

This post was hidden by AKlapper (WMF) (history)
Lens0021 (talkcontribs)
Jon Harald Søby (talkcontribs)

Aha, that's news to me! All good then. (Though the selectors should be body.skin-* if I'm reading the docs correctly.)

Lens0021 (talkcontribs)

I've fixed it, thank you!

Lens0021 (talkcontribs)
AKlapper (WMF) (talkcontribs)

@Lens0021 Hi, how do you mean? Consider what exactly? If this is about changing some code, please add a comment in a Phabricator task. Thanks :)

Lens0021 (talkcontribs)

I think there is a bug in Template:Main page/styles.css and it can be fixed by Special:Diff/3347620/3413921 this. But because the page is on protection, I am looking for someone who can edit instead of me. when I visitied the history of the page I has found you edited Template:Main page/styles.css quiet. Could I ask you for testing my proposal and editing as it? I am sorry for my last comment that omits too many things. Thank you!

AKlapper (WMF) (talkcontribs)
ESanders (WMF) (talkcontribs)

Template styles get scoped to .mw-parser-output by design, but as the .skin-vector and .skin-monobook classes are outside this area, they can't be used for scoping selectors, so this fix doesn't work.

ESanders (WMF) (talkcontribs)
Reply to "Request: change margins of `.mainpage_box h3`"