On 31/05/12 14:00, Stip wrote:
We are having some issues with the wikitable-css-class in 1.19.0. We want to be able to define a background color for the table and a different one for th in MediaWiki:Common.css, but if we do this without marking it as important, it is being ignored. And if we define it as important, we are not able to override the color on wiki articles.
Simply put, why is our declaration of wikitable in MediaWiki:Common.css being ignored? Shouldnt MediaWiki:Common.css be loaded after everything defined by MediaWiki?
Greetings Stip
Different specificity? What instructions are you using? MediaWiki:Common.css *is* being loaded later. You can try debug the page declarations with any CSS inspector tool. You may want to add ?debug=true to the url to skip the css minification, though.