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

I don't think we need this one for two reasons. Firstly I don't see an advantage in adding this to the stylesheet when it is used so rarely and the code is fine in-line. It may make the templates simpler, but at the expense of making the css more complicated. If we had many pages like this, then maybe, but as it is I think it isn't needed. The other reason is that I'm hooping these templates will be transferred to the mediawiki namespace in the near future. That will take away the need for the work-around of using "don't touch this" templates anyway.

Hub star styles
Could I get the hub star styles changed from:

to:

Thanks! 「 ディノ 奴 千？！ 」? · ☎ Dinoguy1000 09:47, August 15, 2014 (UTC)


 * MediaWiki:Wikia.css will also need this change. 「 ディノ 奴 千？！ 」? · ☎ Dinoguy1000 19:32, August 15, 2014 (UTC)

Navbox
The Template:Navbox doesn't work well. On another wiki, I managed to make it work well. Can someone replace the navbox section with the one that can be found at http://gamenc.wikia.com/wiki/MediaWiki:Common.css ?

Thanks. BlizzardOSH (talk) 08:48, October 16, 2014 (UTC)

Links in forum headers are unreadable
See for example Template:Forumheader/Adoption requests. With Oasis, the link text is hardly readable; with the new FandomDesktop skin, it’s totally unreadable. The link text should have a similarly bright (but preferably not exactly same) color as the non-link text. —PK006 (talk) 09:50, 3 July 2021 (UTC)


 * I've made some adjustments to make it more legible and fit the light/dark theming better. Thank you for pointing this out. --Mr Pie 5 (talk) 19:13, 3 July 2021 (UTC)
 * Thanks for fixing it! —PK006 (talk) 09:42, 4 July 2021 (UTC)