Page MenuHomePhabricator

ProofreadPage: Index CSS has lower specificity than templates own TemplateStyles
Closed, ResolvedPublicBUG REPORT

Description

Because the index CSS is declared first on the output pages, it has lower specificity than any CSS declared by templates' own TemplateStyles CSS.

This means that if the index CSS uses a plain class name, it will be "beaten" by the default TemplateStyles.

Event Timeline

Inductiveload renamed this task from ProofreadPage: Index CSS has lower speciificity than templates to ProofreadPage: Index CSS has lower specificity than templates own TemplateStyles.Jul 10 2021, 1:27 PM
Inductiveload claimed this task.
Inductiveload added a project: ProofreadPage.

Change 703885 had a related patch set uploaded (by Inductiveload; author: Inductiveload):

[mediawiki/extensions/ProofreadPage@master] Index CSS: Apply a wrapper class to CSS

https://gerrit.wikimedia.org/r/703885

Change 703885 merged by jenkins-bot:

[mediawiki/extensions/ProofreadPage@master] Index CSS: Apply a wrapper class to CSS

https://gerrit.wikimedia.org/r/703885