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
.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
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
On Sun, May 17, 2009 at 1:05 PM, 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
It can Be stored in any of them, its just a matter of which order they are applied (since they can over write each other), i believe it's Common.css -> Skinname.css -> Custom/Own username space file.css
Hi p858snake@yahoo.com.au
Thanks for the information. I discovered Common.css and I've now found at your instigation, Monobook.css. I haven't been able to work out "Custom/Own username space file.css". I tried gregw:file.css. Can you suggest what I should be looking for based on a username of gregw?
Apart from these files, there is also the files accessed from the HEAD section of the HTML file. I'm not a SysOp on our wiki, only an 'admin'. We have a large system that supports lots of sub-wiki's and many things are locked up for the 'common good'. We would dearly like access to the Settings file but that is out of bounds. Still I've been able to make style changes which is very pleasing.
___________ Greg
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of K. Peachey Sent: Sunday, 17 May 2009 2:45 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Styles sheets
On Sun, May 17, 2009 at 1:05 PM, 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
It can Be stored in any of them, its just a matter of which order they are applied (since they can over write each other), i believe it's Common.css -> Skinname.css -> Custom/Own username space file.css
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
For user-specific style sheets, read http://www.mediawiki.org/wiki/Manual:$wgAllowUserCss.
Example: User:Jsmith/Monobook.css.
DanB
23/05/2009 19:18:32
Thanks Daniel. I'm now on top of user-specific CSS.
___________ Greg
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Daniel Barrett Sent: Wednesday, 20 May 2009 3:27 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Styles sheets
For user-specific style sheets, read http://www.mediawiki.org/wiki/Manual:$wgAllowUserCss.
Example: User:Jsmith/Monobook.css.
DanB
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org