MediaWiki talk:Common.css

(moved from MediaWiki Talk:Monobook.css)

We should have a separate common.css for Babel and other classes. The stylesheet can be imported with syntax: import "/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css&smaxage=18000 This is so that Babel boxes and other styling will work properly with other styles.

I also suggest: /* for alternate languages, like that in Filetopia */ .altLang { font-style: italic; } /* for inline lists like that at the top of Wikicities */ /* might be site-style dependent */ ul.smallnav li { display: inline; } ul.smallnav li:after { content: "•" } ul.smallnav li:last-child:after { content: " " } /* for code output. should be similar to &lt;pre&gt; */ .output { .... }

I looked at the code again. It seems that the current version of MediaWiki automatically imports Common.css. We should really move all Babel styles from MediaWiki:Monobook.css so that they will show up in styles other than monobook.

I've moved it here, lets see what happens... All the other code in MediaWiki:Monobook.css seems custom to that skin however, and should probably be left there for now.

In some pages like the Help tutorial, we have tabbed page. The tabs are coded as s (blocks) when they should have been styled list items. I propose we have /* tabbed page */

/* un-numbered tabs */ ul.tabs li { list-style-type: none; display: block; float: left; padding: .5em 0; }

ul.tabs li.current { /* current tab */ font-weight:bold; border:2px solid; border-bottom:0; }

/* numbered tabs */

ol.tabs li { display: block; float: left; padding: .5em 0; }

ol.tabs li.current { /* current tab */ font-weight:bold; border:2px solid; border-bottom:0; }

.tabbed_page { clear:both; width:100%; padding-top:1.5em; border:3px solid; text-align:center; } Then, the beginning code of Template:6-Please leave this line alone becomes Welcome Editing : Where next?   :

To set the border color, just set "color" or "border-color" style. Note that not all tabbed page have the same style, like this. Do we want consistency or should we create a base style that can be easily customized?

btw, the code is not tested, but should work