Board Thread:Support Requests - Getting Technical/@comment-25013146-20140606102908/@comment-856287-20140607024115

I made a template that does what you want, but you have to put some CSS in Special:CSS on your wiki to make it work (you have to be an admin to do that, or ask an admin to add it for you). Here's the template.

I don't know of any good way to do it just with CSS or inline styles, but this works pretty well. It doesn't require javascript either.