Last modified: 2009-06-15 21:18:11 UTC
Since today the tabs as well as the side bar heading on the nds-nl Wikipedia all start with a capital letter, can someone change this to small letters? Thanks in advance. Servien
Adding: #p-cactions li a, .portlet h6 { text-transform: lowercase; } to [[MediaWiki:Monobook.css]] on the affected wiki(s) should fix this. Though it's probably worth finding out what caused it to change; I'm seeing the appropriate lines in http://nds-nl.wikipedia.org/w/skins-1.5/monobook/main.css and nothing overriding it in http://nds-nl.wikipedia.org/wiki/MediaWiki:Monobook.css or http://nds-nl.wikipedia.org/wiki/MediaWiki:Common.css
Sorry, forget that last bit. I overlooked the lines #p-personal ul[lang|=nds], #p-cactions ul[lang|=nds] li a, ... { text-transform: none; } that were added here: r1=49159&r2=49331">http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/monobook/main.css?r1=49159&r2=49331 Since the CSS '|=' operator treats hyphens as separators, those two lines are matching "nds-nl" as well as "nds". The override I mentioned above should work anyway (might need to use '!important').
Is there a way to change main.css (or another file) other than adding the following AFTER the nds definitions to resolve this for nds-nl? .portlet h5[lang|=nds], .portlet h6[lang|=nds], #p-personal ul[lang|=nds], #p-cactions ul[lang|=nds] li a { text-transform: lowercase; }
Code piece should of course be: .portlet h5[lang|=nds-nl], .portlet h6[lang|=nds-nl], #p-personal ul[lang|=nds-nl], #p-cactions ul[lang|=nds-nl] li a { text-transform: lowercase; }
I added the code to monobook.css but not much is happening (emptied cache and deleted browsing history...)
Never mind, it's fine now ;-). Thanks for all the help!
...except for the side bar menu, that is still capitalised. :(
Closing per comment 7.
I committed the css changes in r51924. Will go live after the next Wikimedia update.
(In reply to comment #7) > ...except for the side bar menu, that is still capitalised. :( Yeah, missed a few, I think it actually needs all four of the selectors in Siebrand's snippets: .portlet h5, .portlet h6, #p-personal ul, #p-cactions