Last modified: 2014-09-13 23:24:00 UTC
Due to a selector in main-ltr.css (div#mw-panel div.portal div.body ul li a:visited), when I try to add links to the toolbox (selector "a.new"), the latter selector does not get priority. Could "a.new" (whether the other instance in main-ltr.css or the index page) be given higher priority here? I am using the extension at http://www.mediawiki.org/wiki/Extension:BADI_Pages_Created_Links to add links to other wikis with styling depending, as with internal Mediawiki links, on whether the page has been created at the other site or not (detected via HEAD requests) and would prefer not to use inline styles to achieve the styling. Thank you
Sorry, I'm not an expert in this area. Can't this request be achieved by editing MediaWiki:Common.css, or a similar alternative?
(In reply to Brett Zamir from comment #0) > Due to a selector in main-ltr.css (div#mw-panel div.portal div.body ul li > a:visited), when I try to add links to the toolbox (selector "a.new"), the > latter selector does not get priority. Could "a.new" (whether the other > instance in main-ltr.css or the index page) be given higher priority here? This isn't possible. Use a more specific selector or !important to override other rules. MediaWiki can't change how CSS works.