Jump to content

Topic on Extension talk:TemplateStyles

allowing skin-dependent style

3
קיפודנחש (talkcontribs)

so, building some html construct, i tried to add to templatestyles something line this:

.skin-minerva .myclass_X { display: none; }

however, this does not work, since the extension adds another class .mw-parser-output, and since the skin class belongs to the body, no element matches

.mw-parser-output .skin-minerva .myclass_X { display: none; }

i think the extension should treat classes that looks like skin-XXXX nicer, and parse

.skin-minerva .mw-parser-output .myclass_X { display: none; }

instead, so i can choose to be "skin sensitive".

peace.

Tgr (WMF) (talkcontribs)
קיפודנחש (talkcontribs)

Thanks. My bad. Peace.