That would be `mw-parser-output` or possibly `mw-parser-output` or `bodyContent` depending on how you define the body. However, the styles added by TemplateStyles are scoped to `mw-parser-output`, as explained in mw.Extension:TemplateStyles#Caveats https://www.mediawiki.org/wiki/Extension:TemplateStyles#Caveats. This means you can't add rules to it or anything higher up in the DOM. I don't think you can do what you want (without adding a wrapper) with TemplateStyles.
*Sebastian Berlin* Utvecklare/*Developer* Wikimedia Sverige (WMSE)
E-post/*E-Mail*: sebastian.berlin@wikimedia.se Telefon/*Phone*: (+46) 0707 - 92 03 84
On Fri, 14 Apr 2023 at 01:20, Martin Domdey dr.taxon@gmail.com wrote:
css (commented out): https://de.wikipedia.org/wiki/Benutzer:Doc_Taxon/TestA/styles.css page: https://de.wikipedia.org/wiki/Benutzer:Doc_Taxon/TestA
Hi, I want to style the page body content with light blue background and double border like given in linked css (commented out). This style should be for the whole page body content of https://de.wikipedia.org/wiki/Benutzer:Doc_Taxon/TestA , but I don't want to use a div container for this.
What is the id name or class name for the whole page body content to set the page style like given in linked css?
Thanks for any help.
Martin
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-leave@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/