Using MW v.1.12
How can I style the top tabs on the wiki, the ones with the boxes around them (eg page, discussion)?
I need to set the widths and margins and can't find the style that controls them in main.css.
Thanks!
Tim
......................................................... ! ............................................................. Tim Ware .. HyperArts .. 201 4th Street, Ste 404 .. Oakland CA 94607 t: (510) 339-6084 .. f: (510) 339-6086 .. e: tim@hyperarts.com http://www.hyperarts.com Map
Tim,
You might have some luck if you install Firebug for Firefox. I've been developing a custom theme for MediaWiki myself (see it in action here: http://www.melpedia.com.au ) and Firebug has been invaluable for tracking down rogue styles.
Thanks,
Samuel Richardson
T: (0405) 472 748
richardson.co.nz
On 17/04/2008, at 4:29 PM, Tim Ware wrote:
Using MW v.1.12
How can I style the top tabs on the wiki, the ones with the boxes around them (eg page, discussion)?
I need to set the widths and margins and can't find the style that controls them in main.css.
Thanks!
Tim
......................................................... ! ............................................................. Tim Ware .. HyperArts .. 201 4th Street, Ste 404 .. Oakland CA 94607 t: (510) 339-6084 .. f: (510) 339-6086 .. e: tim@hyperarts.com http://www.hyperarts.com Map
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On Apr 16, 2008, at 11:36 PM, Samuel Richardson wrote:
Tim,
You might have some luck if you install Firebug for Firefox. I've been developing a custom theme for MediaWiki myself (see it in action here: http://www.melpedia.com.au ) and Firebug has been invaluable for tracking down rogue styles.
Thanks,
Samuel Richardson
T: (0405) 472 748
richardson.co.nz
On 17/04/2008, at 4:29 PM, Tim Ware wrote:
I am using Firebug (great tool!), but still no luck at all. It's weird because this CSS rule:
#p-cactions li a { .... }
controls everything else with those tabs, but I can't control the width or height.
Help!
Thanks.
Tim
Using MW v.1.12
How can I style the top tabs on the wiki, the ones with the boxes around them (eg page, discussion)?
I need to set the widths and margins and can't find the style that controls them in main.css.
Thanks!
Tim
......................................................... ! ............................................................. Tim Ware .. HyperArts .. 201 4th Street, Ste 404 .. Oakland CA 94607 t: (510) 339-6084 .. f: (510) 339-6086 .. e: tim@hyperarts.com http://www.hyperarts.com Map
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
A quick look at the monobook template and it appears that the li and the a tags are set to display : inline; (li's by a rule, a's by default) so width/height won't have any effect on them (or it will be unpredictable across many browsers)
If you're trying to add more vertical spacing above and below the text you could try playing around with line-height, margin left and right does apply to inline elements so you could use that to increase horizontal spacing)
On Thu, Apr 17, 2008 at 5:16 PM, Tim Ware tim@hyperarts.com wrote:
On Apr 16, 2008, at 11:36 PM, Samuel Richardson wrote:
Tim,
You might have some luck if you install Firebug for Firefox. I've been developing a custom theme for MediaWiki myself (see it in action here: http://www.melpedia.com.au ) and Firebug has been invaluable for tracking down rogue styles.
Thanks,
Samuel Richardson
T: (0405) 472 748
richardson.co.nz
On 17/04/2008, at 4:29 PM, Tim Ware wrote:
I am using Firebug (great tool!), but still no luck at all. It's weird because this CSS rule:
#p-cactions li a { .... }
controls everything else with those tabs, but I can't control the width or height.
Help!
Thanks.
Tim
Using MW v.1.12
How can I style the top tabs on the wiki, the ones with the boxes around them (eg page, discussion)?
I need to set the widths and margins and can't find the style that controls them in main.css.
Thanks!
Tim
......................................................... ! ............................................................. Tim Ware .. HyperArts .. 201 4th Street, Ste 404 .. Oakland CA 94607 t: (510) 339-6084 .. f: (510) 339-6086 .. e: tim@hyperarts.com http://www.hyperarts.com Map
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Tim Ware wrote :
I am using Firebug (great tool!), but still no luck at all. It's weird because this CSS rule:
#p-cactions li a { .... }
controls everything else with those tabs, but I can't control the width or height.
Help!
Thanks.
Tim
actually there are several other "#p-cactions ... { }" that can help you (see skins/monobook/main.css and look for #p-cactions for an example)
mediawiki-l@lists.wikimedia.org