Hi wjmazza@gmail.com
Thanks for your advice. Your answer was very encouraging but it took quite a lot more work before I could articulate the answer in my own terms. But you were a big help.
After a lot more investigation I found the file MediaWiki:Common.css. Entering new or modified styles in this file got included in the display of every page. I still had to comb through the HTML file to find out what styles were defined but having done that I knew what changes I needed to make.
I was stumped for quite a while not being able to find .mw-headline but eventually the penny dropped. There was no definition for .mw-headline. The class is used to mark certain items but without a definition it is rendered as best as is possible. It is there in case special styling is required. How fantastic. Built-in flexibility.
So now I have used MediaWiki:Common.css to define mw-headline and change the styling of those elements marked with that class.
___________ Greg
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of wjmazza@gmail.com Sent: Sunday, 17 May 2009 2:00 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Styles sheets
.mw-headline is not defined in any CSS, if just using the default Monobook theme unmodified
Headlines are styled using their tag name, and even then is only slightly modified. Most headline styles are inherited from the body style in main.css (located in /skins/monobook.css)
hope that answers your question :)
On May 16, 2009 10:05pm, Greg Webb gregw@zip.com.au wrote:
17/05/2009 13:01:48
This seems like a dumb question but I can't locate the answer from the page
source.
In which CSS file is the styles 'mw-headline' stored?
Thanks
Greg
MediaWiki-l mailing list
MediaWiki-l@lists.wikimedia.org
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l