Here's a broader perspective on how the gaming skin stuff works (or
doesn't work).
The <body> tag is the root tag of an HTML document that all other tags
go inside of. By setting a page to have black text and a white
background, this is first done for the <body> tag. Any tables, divs,
etc will inherit the black font color and the elements themselves (the
tables and divs) will have a transparent background, allowing the
white of the <body> tag to show through.
To reverse this and obtain a light-on-dark style, we again begin at
the <body> tag by setting a dark blue background and white text. The
white text is inherited by tables and divs, and if the tables and divs
maintain a transparent background, the dark blue will show through. Of
course, this is in a perfect world. :)
MediaWiki, or more specifically, the monobook .css file (which we
always load to maintain proper article typography and design elements
like recent changes, image galleries, etc) specifes background colours
for a lot of these elements. So, the gaming skin required a lot more
work because we had to un-do a lot of the stuff that monobook does.
The cases that were brought to my attention this week (forum header
and polls) have already been fixed in the gaming skin CSS and are
awaiting release to Wikia. At least for now, the best way for these
issues to be fixed is for them to be brought to my attention (either
on the wikia-l or by emailing me directly) and I'll fix them in the
gaming/css/main.css file. That way it'll be fixed for everyone.
If anyone has a suggestion for other ways to flip a wiki from dark-on-
light to light-on-dark, I'd love to talk about it. I'm always looking
for easier solutions! :)
-Christian
On Nov 29, 2007, at 12:39 PM, Manticore wrote:
It seems when you force a white background on a template, etc., the
skin breaks it.
Example on the infobox here: http://bioshock.wikia.com/wiki/Jack
Manticore
--
http://wikia.com/wiki/User:Manticore
http://meta.wikimedia.org/wiki/User:Manticore
_______________________________________________
Wikia-l mailing list
[email protected]
http://lists.wikia.com/mailman/listinfo/wikia-l
_______________________________________________
Wikia-l mailing list
[email protected]
http://lists.wikia.com/mailman/listinfo/wikia-l